DOP-C02 · Question #135
A DevOps engineer needs to configure a blue/green deployment for an existing three-tier application. The application runs on Amazon EC2 instances and uses an Amazon RDS database. The EC2 instances run
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #135. The question stem and answer options stay visible for context.
Question
A DevOps engineer needs to configure a blue/green deployment for an existing three-tier application. The application runs on Amazon EC2 instances and uses an Amazon RDS database. The EC2 instances run behind an Application Load Balancer (ALB) and are in an Auto Scaling group. The DevOps engineer has created a launch template and an Auto Scaling group for the blue environment. The DevOps engineer also has created a launch template and an Auto Scaling group for the green environment. Each Auto Scaling group deploys to a matching blue or green target group. The target group also specifies which software, blue or green, gets loaded on the EC2 instances. The ALB can be configured to send traffic to the blue environment's target group points to the ALB. The deployment must move traffic all at once between the software on the blue environment's EC2 instances to the newly deployed software on the green environment's EC2 instances. What should the DevOps engineer do to meet these requirements?
Options
- AStart a rolling restart of the Auto Scaling group for the green environment to deploy the new software
- BUse an AWS CLI command to update the ALB to send traffic to the green environment's target group.
- CUpdate the launch template to deploy the green environment's software on the blue environment's
- DStart a rolling restart of the Auto Scaling group for the green environment to deploy the new software
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.