Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 59 Topic 6 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 59 Topic 6 Discussion

DVA-C02 Exam Topic 6 Question 59 Discussion:
Question #: 59
Topic #: 6

A company has three AWS Lambda functions that are written in Node.js. The Lambda functions include a mix of custom code and open source modules. When bugs are occasionally detected in the open source modules, all three Lambda functions must be patched. What is the MOST operationally efficient solution to deploy a patched open source library for all three Lambda functions?


A.

Create a custom AWS CloudFormation public registry extension. Reference a GitHub repository that hosts the open source modules in the extension.


B.

Create an Amazon CloudFront distribution with an Amazon S3 bucket as the origin. Upload the patched modules to Amazon S3 when needed. Modify each Lambda function to download the patched modules during the cold start.


C.

Launch an Amazon EC2 instance. Host a private open source module registry on the EC2 instance. Upload the modified open source modules to the private registry. Modify deployment scripts to download from the private registry.


D.

Create a Lambda layer with the open source modules. Modify all three Lambda functions to depend on the layer. Remove the open source modules from each Lambda function. Patch the Lambda layer and update the Lambda functions to reference the new layer version.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.