AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 195

A DevOps team uses AWS CodePipeline, AWS CodeBuild, and AWS CodeDeploy to deploy an application. The application is a REST API that uses AWS Lambda functions and Amazon API Gateway. Recent deployments have introduced errors that have affected many customers.

The DevOps team needs a solution that reverts to the most recent stable version of the application when an error is detected. The solution must affect the fewest customers possible.

Which solution will meet these requirements with the MOST operational efficiency?

Answer options

Correct answer: B

Explanation

Option B is correct because using the LambdaCanary10Percent10Minutes deployment configuration allows for a gradual rollout, which minimizes the impact of errors on users. Automatic rollbacks ensure that if issues are detected, the system can revert to a stable version without manual intervention, enhancing operational efficiency. Other options either use an all-at-once deployment method or require manual rollbacks, which are less efficient and can lead to more customer disruptions.