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

A company wants to decrease the time it takes to develop new features. The company uses AWS CodeBuild and AWS CodeDeploy to build and deploy its applications. The company uses AWS CodePipeline to deploy each microservice with its own CI/CD pipeline.

The company needs more visibility into the average time between the release of new features and the average time to recover after a failed deployment.

Which solution will provide this visibility with the LEAST configuration effort?

Answer options

Correct answer: B

Explanation

Option B is correct because it ensures that metrics are captured immediately after each successful and failed deployment, providing real-time visibility with minimal configuration. Options A and D use a time-based trigger, which could miss important events, while Option C introduces unnecessary complexity by requiring DynamoDB and QuickSight, making it less efficient than the straightforward CloudWatch solution in Option B.