nerdexam
Amazon

DOP-C02 · Question #33

A development team uses AWS CodeCommit, AWS CodePipeline, and AWS CodeBuild to develop and deploy an application. Changes to the code are submitted by pull requests. The development team reviews and m

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

Submitted by paula_co· Mar 6, 2026SDLC Automation

Question

A development team uses AWS CodeCommit, AWS CodePipeline, and AWS CodeBuild to develop and deploy an application. Changes to the code are submitted by pull requests. The development team reviews and merges the pull requests, and then the pipeline builds and tests the application. Over time, the number of pull requests has increased. The pipeline is frequently blocked because of failing tests. To prevent this blockage, the development team wants to run the unit and integration tests on each pull request before it is merged. Which solution will meet these requirements?

Options

  • ACreate a CodeBuild project to run the unit and integration tests. Create a CodeCommit approval
  • BCreate an Amazon EventBridge rule to match pullRequestCreated events from CodeCommit
  • CCreate an Amazon EventBridge rule to match pullRequestCreated events from CodeCommit.
  • DCreate a CodeBuild project to run the unit and integration tests. Create a CodeCommit notification

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

#CodeCommit#Pull Requests#EventBridge#CodeBuild#Pre-merge Testing
Full DOP-C02 Practice