DOP-C02 · Question #23
DOP-C02 Question #23: Real Exam Question with Answer & Explanation
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #23. The question stem and answer options stay visible for context.
Question
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?
Options
- AUse an AWS CloudFormation template with a retention policy for the ALB set to 1 hour. Update
- BUse two AWS Elastic Beanstalk environments to perform a blue/green deployment from the
- CUse AWS CodeDeploy with a deployment group configured with a blue/green deployment
- DUse AWS Elastic Beanstalk with the configuration set to Immutable. Create an .ebextension using
Unlock DOP-C02 to see the answer
You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.