nerdexam
AmazonAmazon

DOP-C02 · Question #308

DOP-C02 Question #308: Real Exam Question with Answer & Explanation

Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #308. The question stem and answer options stay visible for context.

Submitted by lars.no· Mar 6, 2026SDLC Automation

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 launch templates, Auto Scaling groups, and ALB target groups for the blue environment and the green environment. Each target group specifies which application version, blue or green, will be loaded on the EC2 instances. An Amazon Route 53 The deployment must shift traffic all at once from the blue environment to the green environment. Which solution will meet these requirements?

Options

  • AStarta rolling restart of the Auto Scaling group for the green environment to deploy the new
  • BUse an AWS CLI command to update the ALB to send traffic to the green environments target
  • CUpdate the launch template to deploy the green environment's application version to the blue
  • DStarta rolling restart of the Auto Scaling group for the green environment to deploy the new

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.

Topics

#Blue/Green deployment#Application Load Balancer (ALB)#Traffic shifting#CI/CD deployment strategies
Full DOP-C02 PracticeBrowse All DOP-C02 Questions