AWS Certified DevOps Engineer – Professional — Question 91

A company has a mission-critical application on AWS that uses automatic scaling. The company wants the deployment lifecycle to meet the following parameters:

• The application must be deployed one instance at a time to ensure the remaining fleet continues to serve traffic.
• The application is CPU intensive and must be closely monitored.
• The deployment must automatically roll back if the CPU utilization of the deployment instance exceeds 85%.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B because AWS CodeDeploy allows for a one-at-a-time deployment strategy while also enabling automatic rollbacks based on CPU utilization metrics. Option A does not provide a direct rollback mechanism tied to CPU usage, C does not specifically focus on the rollback aspect as required, and D involves blue/green deployments which do not align with the one-instance-at-a-time requirement.