DOP-C02 SDLC Automation Practice Question
A DevOps engineer is setting up a CI/CD pipeline for a microservices application using AWS CodePipeline. The pipeline includes a Test stage that runs integration tests against a staging environment. The engineer wants to ensure that manual approval is required before deploying to production. Which action should be taken?
⚠ Common exam trap
Candidates often confuse repository-level approval mechanisms (like CodeCommit approval rules) with pipeline-level deployment approvals, or assume that manual invocation alone satisfies the requirement for a conditional approval step.
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
✓
Add a manual approval action in the pipeline stage before production deployment.
AWS CodePipeline supports a manual approval action that can be added to any stage. By placing this action in the stage immediately before the production deployment, the pipeline will pause and require an authorized user to manually approve the transition, ensuring that integration tests have passed before any production release occurs.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Configure a CodeCommit approval rule template to block the merge.
Why it's wrong here
Approval rules in CodeCommit are for pull requests, not pipeline stages.
- ✗
Use CloudWatch Events to send a notification and wait for a custom signal.
Why it's wrong here
CloudWatch Events cannot block pipeline execution.
- ✗
Set the pipeline to only run on manual invocation.
Why it's wrong here
Manual invocation starts the pipeline, but does not provide approval within a stage.
- ✓
Add a manual approval action in the pipeline stage before production deployment.
Why this is correct
Manual approval actions pause the pipeline until approved.
Visual reference
Go deeper
Related to this question
About these practice questions
This DOP-C02 question is part of Courseiva's 251-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 DOP-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 DOP-C02 exam.