Search⌘ K
AI Features

Testing and Deployment II

Explore how to manage AWS Lambda aliases, modularize dependencies with layers, and implement deployment strategies using CodeDeploy and Elastic Beanstalk. Understand commands for safe infrastructure changes and best practices for near-zero downtime during updates. This lesson prepares you to handle deployment and testing scenarios critical for the AWS Developer Associate exam.

Question 45

A developer is using Lambda function aliases and API Gateway stage variables to manage dev and prod environments. They accidentally point both environments to the same alias.

What is the minimal operational step that the developer should take to restore the correct environment mapping?

A. Update the API Gateway stage variable to point to the correct Lambda alias.

B. Roll back the API Gateway deployment to the previous stage.

C. Rebuild the Lambda function from source.

D. Manually patch the function code to differentiate ...