nerdexam
AmazonAmazon

DVA-C02 · Question #650

DVA-C02 Question #650: Real Exam Question with Answer & Explanation

The correct answer is A: Create new Lambda function versions and aliases for the development, testing, and production. Using Lambda versions and aliases allows safe deployments across environments with minimal operational overhead. Each alias (e.g., dev, test, prod) can point to a specific version of the function. After testing, you can update the production alias to point to the new version, and

Submitted by helene.fr· Mar 5, 2026Deployment

Question

A developer is designing a new feature for an existing application. The new feature uses an AWS Lambda function. The developer wants to test the Lambda function safely in a development AWS account and a testing AWS account before deploying the function into a production AWS account. The developer must roll back the function if issues are found. Which solution will meet these requirements with the LEAST operational overhead?

Options

  • ACreate new Lambda function versions and aliases for the development, testing, and production
  • BDeploy the Lambda function to the development, testing, and production accounts separately
  • CUse Lambda layers to separate the code and the libraries that are associated with each AWS
  • DUpdate the Lambda function code to use environment variables for the development, testing, and

Explanation

Using Lambda versions and aliases allows safe deployments across environments with minimal operational overhead. Each alias (e.g., dev, test, prod) can point to a specific version of the function. After testing, you can update the production alias to point to the new version, and roll back easily by redirecting the alias to a previous stable version. This approach provides safe, controlled deployments and simplified rollback.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions