nerdexam
AmazonAmazon

DOP-C02 · Question #406

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

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

Submitted by yasin.bd· Mar 6, 2026SDLC Automation

Question

A company uses Amazon API Gateway and AWS Lambda functions to implement an API. The company uses a pipeline in AWS CodePipeline to build and deploy the API. The pipeline contains a source stage, build stage, and deployment stage. The company deploys the API without performing smoke tests. Soon after the deployment, the company observes multiple issues with the API. A security audit finds security vulnerabilities in the production code. The company wants to prevent these issues from happening in the future. Which combination of steps will meet this requirement? (Choose two.)

Options

  • ACreate a smoke test script that returns an error code if the API code fails the test. Add an action
  • BCreate a smoke test script that returns an error code if the API code fails the test. Add an action
  • CAdd an action in the build stage that uses Amazon Inspector to scan the Lambda function code
  • DAdd an action in the build stage to run an Amazon CodeGuru code scan after the code is built.
  • EAdd an action in the deployment stage to run an Amazon CodeGuru code scan after deployment.

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

#CodePipeline#smoke testing#CodeGuru#security scanning
Full DOP-C02 PracticeBrowse All DOP-C02 Questions