nerdexam
AmazonAmazon

DVA-C02 · Question #670

DVA-C02 Question #670: Real Exam Question with Answer & Explanation

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

Submitted by ashley.k· Mar 5, 2026Deployment

Question

A company wants to use AWS CodeDeploy to deploy several AWS Lambda functions to a pipeline in AWS CodePipeline. The company needs to add unit tests to the pipeline for the Lambda function code. The unit tests must pass before deployment. Which solution will meet these requirements?

Options

  • AAdd the unit tests to the CodeDeploy BeforeAllowTraffic hook. Configure the pipeline to stop
  • BAdd the unit tests to run in an AWS CodeBuild project as a test stage in the CodePipeline
  • CAdd the unit tests to the CodeDeploy BeforeInstall hook. Configure the pipeline to stop running if
  • DAdd the unit tests to the reports section of AWS CodeBuild. Configure the pipeline to stop running

Unlock DVA-C02 to see the answer

You've previewed enough free DVA-C02 questions. Unlock DVA-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.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions