Search⌘ K
AI Features

Deployment II

Explore practical deployment challenges and solutions relevant to the AWS Certified Developer Associate exam. Learn to manage Lambda environment mappings, optimize cold starts, handle SAM deployments across stages, compare CDK changes safely, and choose effective Elastic Beanstalk strategies for near-zero downtime and rollback readiness.

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 environments.

...