Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 158 Topic 16 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 158 Topic 16 Discussion

DVA-C02 Exam Topic 16 Question 158 Discussion:
Question #: 158
Topic #: 16

A developer is designing a new feature for an existing application that uses an AWS Lambda function. The developer wants to test the Lambda function safely in development and testing AWS accounts before deploying the function to a production AWS account. The developer must be able to roll back the function if issues are discovered.

Which solution will meet these requirements with the LEAST operational overhead ?


A.

Create new Lambda function versions and aliases for the development, testing, and production accounts. After successful testing, update the production alias to point to the function version. Roll back to the most recent stable version if issues are discovered.


B.

Deploy the Lambda function separately to the development, testing, and production accounts after testing the function in each environment.


C.

Use Lambda layers to separate the code and libraries for each AWS account and deploy the function with different layers.


D.

Use environment variables to differentiate development, testing, and production behavior.


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.