nerdexam
AmazonAmazon

DOP-C02 · Question #143

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

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

Submitted by joshua94· Mar 6, 2026SDLC Automation

Question

A development team manually builds an artifact locally and then places it in an Amazon S3 bucket. The application has a local cache that must be cleared when a deployment occurs. The team runs a command to do this, downloads the artifact from Amazon S3, and unzips the artifact to complete the deployment. A DevOps team wants to migrate to a CI/CD process and build in checks to stop and roll back the deployment when a failure occurs. This requires the team to track the progression of the deployment. Which combination of actions will accomplish this? (Choose three.)

Options

  • AAllow developers to check the code into a code repository. Using Amazon EventBridge, on every pull
  • BCreate a custom script to clear the cache. Specify the script in the BeforeInstall lifecycle hook in the
  • CCreate user data for each Amazon EC2 instance that contains the clear cache script. Once deployed,
  • DSet up AWS CodePipeline to deploy the application. Allow developers to check the code into a code
  • EUse AWS CodeBuild to build the artifact and place it in Amazon S3. Use AWS CodeDeploy to deploy
  • FUse AWS Systems Manager to fetch the artifact from Amazon S3 and deploy it to all the instances.

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

#CI/CD#AWS CodePipeline#AWS CodeBuild#AWS CodeDeploy
Full DOP-C02 PracticeBrowse All DOP-C02 Questions