How to Implement Manual Approval in AWS CodePipeline?
A developer needs approval from a product owner before the developer can deploy code for an application to production. The developer uses AWS CodePipeline to deploy the application. The developer configures an Amazon Simple Notification Service (Amazon SNS) topic to send notifications to the product owner. Which solution is the MOST operationally efficient way for the developer to receive approval from the product owner?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
Tests native CodePipeline capabilities for human-in-the-loop deployments versus custom orchestration, with the common trap being over-engineering with Step Functions or misconfiguring notification targets.
This question tests implementing secure deployment workflows in AWS CodePipeline using built-in manual approval actions and SNS notifications. The community unanimously agrees that configuring a dedicated stage with a manual approval action linked to an SNS topic is the most operationally efficient approach.
Option C is frequently chosen by candidates who attempt to attach the SNS ARN directly to the existing deployment stage, but CodePipeline requires a separate manual approval action stage to properly halt execution and trigger notifications.
Community Discussion (4 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Option A correctly adds a dedicated stage before production deployment containing a manual approval action, which natively pauses the pipeline until consent is given. By configuring a notification rule within CodePipeline settings, the system automatically triggers an SNS message to the product owner when the approval event occurs. This leverages AWS-managed features without requiring custom infrastructure, aligning perfectly with the operational efficiency requirement.Why the Other Options Are Wrong
Option B introduces unnecessary complexity by building a Step Functions state machine, violating the principle of least effort when native pipeline features suffice. Option C incorrectly attempts to bind the SNS ARN directly to a deployment stage rather than using a dedicated approval action, which will not pause execution or trigger the intended workflow. Option D misses the critical step of adding a manual approval action to the pipeline itself, making the notification rule ineffective since no approval event would exist.Community Comment Notes
Candidates consistently validate Option A as the correct choice, emphasizing its direct integration into the CI/CD workflow. Comment [1] highlights how this setup ensures explicit consent while automating communication through SNS. Comment [2] reinforces that adding a manual approval action to a stage is mandatory for halting the pipeline, confirming the architectural best practice.Official Reference
Exam Strategy
Focus on recognizing when to leverage native AWS service capabilities versus building custom solutions. Always look for options that minimize operational overhead while meeting security and compliance requirements like mandatory pre-production approvals.
Related Analysis
Practice All DVA-C02 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DVA-C02 Practice Test →