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

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 deployment strategies like OneAtAtime, which meets the requirement of deploying one instance at a time. It also supports automatic rollbacks based on alarms, ensuring that if CPU utilization exceeds the specified threshold, the deployment can revert. The other options either do not provide the necessary deployment strategy or rollback capability as required.