nerdexam
Amazon

DOP-C02 · Question #391

A company has application code in an AWS CodeConnections compatible Git repository. The company wants to configure unit tests to run when pull requests are opened. The company wants to ensure that the

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

Submitted by paula_co· Mar 6, 2026SDLC Automation

Question

A company has application code in an AWS CodeConnections compatible Git repository. The company wants to configure unit tests to run when pull requests are opened. The company wants to ensure that the test status is visible in pull requests when the tests are completed. The company wants to save output data files that the tests generate to an Amazon S3 bucket after the tests are finished. Which combination of solutions will meet these requirements? (Choose three.)

Options

  • ACreate an IAM service role to allow access to the resources that are required to run the tests.
  • BCreate a pipeline in AWS CodePipeline that has a test stage. Create a trigger to run the pipeline
  • CCreate an AWS CodeBuild project to run the tests. Enable webhook triggers to run the tests when
  • DCreate a buildspec.yml file that has a reports section to upload output files when the tests have
  • ECreate a buildspec.yml file that has an artifacts section to upload artifacts when the tests have
  • FCreate an appspec.yml file that has a files section to upload output files when the tests have

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

#CodeBuild#webhook triggers#pull requests#unit testing#S3 artifacts
Full DOP-C02 Practice