nerdexam
AmazonAmazon

DOP-C02 · Question #241

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

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

Submitted by jordan8· Mar 6, 2026SDLC Automation

Question

A company is using AWS CodeDeploy to automate software deployment. The deployment must meet these requirements: - A number of instances must be available to serve traffic during the deployment. Traffic must be balanced across those instances, and the instances must automatically heal in the event of failure. - A new fleet of instances must be launched for deploying a new revision automatically, with no manual provisioning. - Traffic must be rerouted to the new environment to half of the new instances at a time. The deployment should succeed if traffic is rerouted to at least half of the instances: otherwise, it should fail. - Before routing traffic to the new fleet of instances, the temporary files generated during the deployment process must be deleted. - At the end of a successful deployment, the original instances in the deployment group must be deleted immediately to reduce costs. How can a DevOps engineer meet these requirements?

Options

  • AUse an Application Load Balancer and an in-place deployment. Associate the Auto Scaling group
  • BUse an Application Load Balancer and a blue/green deployment. Associate the Auto Scaling
  • CUse an Application Load Balancer and a blue/green deployment. Associate the Auto Scaling
  • DUse an Application Load Balancer and an in-place deployment. Associate the Auto Scaling group

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

#AWS CodeDeploy#Blue/green deployment#Application Load Balancer#Auto Scaling
Full DOP-C02 PracticeBrowse All DOP-C02 Questions