nerdexam
AmazonAmazon

DOP-C02 · Question #159

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

The correct answer is B: Create a new AWS CodeBuild project. In the CodePipeline pipeline, configure a test stage that. https://docs.aws.amazon.com/codebuild/latest/userguide/test-reporting.html

Submitted by akirajp· Mar 6, 2026SDLC Automation

Question

A company has an application that includes AWS Lambda functions. The Lambda functions run Python code that is stored in an AWS CodeCommit repository. The company has recently experienced failures in the production environment because of an error in the Python code. An engineer has written unit tests for the Lambda functions to help avoid releasing any future defects into the production environment. The company's DevOps team needs to implement a solution to integrate the unit tests into an existing AWS CodePipeline pipeline. The solution must produce reports about the unit tests for the company to view. Which solution will meet these requirements?

Options

  • AAssociate the CodeCommit repository with Amazon CodeGuru Reviewer. Create a new AWS
  • BCreate a new AWS CodeBuild project. In the CodePipeline pipeline, configure a test stage that
  • CCreate a new AWS CodeArtifact repository. Create a new AWS CodeBuild project. In the
  • DCreate a new AWS CodeBuild project. In the CodePipeline pipeline, configure a test stage that

Explanation

https://docs.aws.amazon.com/codebuild/latest/userguide/test-reporting.html

Topics

#CodePipeline#CodeBuild#Unit Testing#CI/CD

Community Discussion

No community discussion yet for this question.

Full DOP-C02 PracticeBrowse All DOP-C02 Questions