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

A DevOps engineer manages a web application that runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances run in an EC2 Auto Scaling group across multiple Availability Zones. The engineer needs to implement a deployment strategy that:
Launches a second fleet of instances with the same capacity as the original fleet.
Maintains the original fleet unchanged while the second fleet is launched.
Transitions traffic to the second fleet when the second fleet is fully deployed.
Terminates the original fleet automatically 1 hour after transition.
Which solution will satisfy these requirements?

Answer options

Correct answer: C

Explanation

The correct answer is C because AWS CodeDeploy's blue/green deployment configuration allows for the launching of a second fleet while keeping the original fleet intact until the transition is complete. Options A, B, and D do not fulfill all the requirements specified, particularly the automatic termination of the original fleet after a specific wait time.