nerdexam
AmazonAmazon

DOP-C02 · Question #88

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

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

Submitted by kim_seoul· Mar 6, 2026SDLC Automation

Question

A company is using AWS CodePipeline to automate its release pipeline. AWS CodeDeploy is being used in the pipeline to deploy an application to Amazon Elastic Container Service (Amazon ECS) using the blue/green deployment model. The company wants to implement scripts to test the green version of the application before shifting traffic. These scripts will complete in 5 minutes or less. If errors are discovered during these tests, the application must be rolled back. Which strategy will meet these requirements?

Options

  • AAdd a stage to the CodePipeline pipeline between the source and deploy stages. Use AWS
  • BAdd a stage to the CodePipeline pipeline between the source and deploy stages. Use this stage
  • CAdd a hooks section to the CodeDeploy AppSpec file. Use the AfterAllowTestTraffic lifecycle
  • DAdd a hooks section to the CodeDeploy AppSpec file. Use the AfterAllowTraffic lifecycle event to

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#ECS blue/green deployment#Lifecycle hooks#Automated testing#Rollback strategy
Full DOP-C02 PracticeBrowse All DOP-C02 Questions