nerdexam
Amazon

DOP-C02 · Question #186

A company has an application and a CI/CD pipeline. The CI/CD pipeline consists of an AWS CodePipeline pipeline and an AWS CodeBuild project. The CodeBuild project runs tests against the application…

The correct answer is D. Add a report group in the CodeBuild project buildspec file with the appropriate path and format for. https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#reports-buildspec-

Submitted by katya_ua· Mar 6, 2026SDLC Automation

Question

A company has an application and a CI/CD pipeline. The CI/CD pipeline consists of an AWS CodePipeline pipeline and an AWS CodeBuild project. The CodeBuild project runs tests against the application as part of the build process and outputs a test report. The company must keep the test reports for 90 days. Which solution will meet these requirements?

Options

  • AAdd a new stage in the CodePipeline pipeline after the stage that contains the CodeBuild project.
  • BAdd a report group in the CodeBuild project buildspec file with the appropriate path and format for
  • CAdd a new stage in the CodePipeline pipeline. Configure a test action type with the appropriate
  • DAdd a report group in the CodeBuild project buildspec file with the appropriate path and format for

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    4% (1)
  • D
    91% (21)

Explanation

https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#reports-buildspec-

Topics

#AWS CodeBuild#CI/CD#Test reporting#Buildspec

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice