nerdexam
AmazonAmazon

DVA-C02 · Question #90

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

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

Submitted by haru.x· Mar 5, 2026Development with AWS Services - Implementing CI/CD pipelines and event-driven automation using CodeCommit event triggers with EventBridge to invoke Lambda functions for pull request validation workflows.

Question

A developer is writing unit tests for a new application that will be deployed on AWS. The developer wants to validate all pull requests with unit tests and merge the code with the main branch only when all tests pass. The developer stores the code in AWS CodeCommit and sets up AWS CodeBuild to run the unit tests. The developer creates an AWS Lambda function to start the CodeBuild task. The developer needs to identify the CodeCommit events in an Amazon EventBridge event that can invoke the Lambda function when a pull request is created or updated. Which CodeCommit event will meet these requirements? A. B. C. D.

Options

  • A{ "source": "[aws.codecommit]", "detail": { "event": "[pullRequestMergeStatusUpdated]" } }
  • B{ "source": "[aws.codecommit]", "detail": { "event": "[pullRequestApprovalRuleCreated]" } }
  • C{ "source": "[aws.codecommit]", "detail": { "event": "[pullRequestSourceBranchUpdated]", "event": "[pullRequestCreated]" } }
  • D{ "source": "[aws.codecommit]", "detail": { "event": "[pullRequestUpdated]", "event": "[pullRequestSourceBranchCreated]" } }

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.

Topics

#AWS CodeCommit#Amazon EventBridge#AWS CodeBuild#CI/CD Automation
Full DVA-C02 PracticeBrowse All DVA-C02 Questions