nerdexam
AmazonAmazon

DOP-C02 · Question #449

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

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

Submitted by jian89· Mar 6, 2026SDLC Automation

Question

A company is building a web application on AWS. The application uses AWS CodeConnections to access a Git repository. The company sets up a pipeline in AWS CodePipeline that automatically builds and deploys the application to a staging environment when the company pushes code to the main branch. Bugs and integration issues sometimes occur in the main branch because there is no automated testing integrated into the pipeline. The company wants to automatically run tests when code merges occur in the Git repository and to prevent deployments from reaching the staging environment if any test fails. Tests can run up to 20 minutes. Which solution will meet these requirements?

Options

  • AAdd an AWS CodeBuild action to the pipeline. Add a buildspec.yml file to the Git repository to
  • BConfigure Git webhooks to initiate an AWS Lambda function during each code merge. Configure
  • CConfigure AWS Batch to use Docker images of test environments. Integrate AWS Batch into the
  • DConfigure the Git repository to push code to an Amazon S3 bucket during each code merge. Use

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

#CodePipeline#CodeBuild#Automated testing#CI/CD quality gates
Full DOP-C02 PracticeBrowse All DOP-C02 Questions