DVA-C02 Deployment Practice Question
A developer uses AWS CodeCommit to store source code. The developer wants to automatically trigger a build in AWS CodeBuild every time a new commit is pushed to the master branch. Which AWS service should the developer use to configure this integration?
⚠ Common exam trap
Watch out — candidates often confuse event-driven triggers (CloudWatch Events/EventBridge) with the purpose-built CI/CD orchestration service (CodePipeline), overlooking that CodePipeline natively integrates with CodeCommit and CodeBuild to provide a complete pipeline with stages, transitions, and error handling.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
AWS CodePipeline
AWS CodePipeline is the correct service because it provides a fully managed continuous delivery service that can be configured to automatically start a pipeline execution whenever a new commit is pushed to a specific branch in AWS CodeCommit. By setting up a CodeCommit source action in a pipeline, CodePipeline uses webhooks or polling to detect changes and then triggers the build project in AWS CodeBuild as the next stage. This creates a seamless CI/CD workflow without requiring custom event rules or additional services.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Amazon CloudWatch Events (or EventBridge)
Why it's wrong here
CloudWatch Events can trigger CodeBuild, but CodePipeline is the typical integration for CI/CD.
- ✗
Amazon S3 events
Why it's wrong here
S3 events are not used to trigger builds from CodeCommit.
- ✗
AWS CodeDeploy
Why it's wrong here
CodeDeploy is for deployment, not for triggering builds.
- ✓
AWS CodePipeline
Why this is correct
CodePipeline integrates CodeCommit and CodeBuild for continuous integration.
Go deeper
Related to this question
About these practice questions
Courseiva writes every DVA-C02 question from scratch — 724 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DVA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DVA-C02 exam.