CV0-004 Deployment Practice Question
A development team uses AWS CodePipeline to deploy a web application. They need to insert a manual approval step so that a release manager can review the build before it is deployed to production. Which action should the team take?
⚠ Common exam trap
The trap here is assuming that CodeDeploy or CloudTrail can provide manual approval, when only CodePipeline has a native approval action.
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 an approval action in the pipeline between the build and deploy stages.
AWS CodePipeline includes a built-in manual approval action that halts the pipeline until a designated approver responds. By inserting this action between the build and deploy stages, the team ensures that a release manager can inspect the build artifacts and approve or reject the release. This is the standard, least-effort method to implement a human gate without custom code.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use AWS CodeDeploy to create a deployment group that requires manual approval.
Why it's wrong here
AWS CodeDeploy does not have a native manual approval feature. It manages deployments to instances or Lambda, but approval gates are handled at the pipeline level, typically via CodePipeline manual approval actions. CodeDeploy alone cannot insert a review step before production deployment.
- ✓
Add an approval action in the pipeline between the build and deploy stages.
Why this is correct
AWS CodePipeline supports manual approval actions that pause the pipeline until an authorized user approves or rejects. Placing the approval action after the build stage and before the deploy stage ensures that a release manager can review the build artifacts before they reach production. This directly satisfies the requirement without custom scripting.
- ✗
Configure an AWS Lambda function to send an email and wait for a response before continuing.
Why it's wrong here
While a Lambda function can send notifications, it cannot natively pause and resume a CodePipeline execution without complex custom logic. CodePipeline's built-in manual approval action is designed for this purpose, providing a simple and auditable way to gate deployments. Using Lambda would require additional services and state management, increasing complexity unnecessarily.
- ✗
Enable AWS CloudTrail logging on the pipeline and review logs before each deployment.
Why it's wrong here
CloudTrail records API activity for auditing, but it does not provide a mechanism to pause or approve pipeline executions. The team needs a gate that stops the pipeline until a human approves. CloudTrail alone cannot fulfill that requirement; it is a logging service, not a deployment control.
Visual reference
About these practice questions
One of 834 original CV0-004 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official CompTIA exam blueprint
This CV0-004 practice question is part of Courseiva's free CompTIA 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 CV0-004 exam.