‹ All DOP-C02 questions

DOP-C02 Practice Question 41: Manual Approval Production Gate

AWS Certified DevOps Engineer – Professional (DOP-C02) · Test 5 · question 1 of 10

SDLC Automationeasy

A pipeline builds an application and deploys it to a staging environment automatically. Compliance now requires that a named release manager sign off before anything reaches production, that the release managers be notified by email as soon as the pipeline is waiting for them, and that nothing be deployed to production if no one responds.

What should the team add to the pipeline?

Select one answer
Show answer and explanation

Answer:

  • A. A manual approval action as the first action of the production stage, configured with an Amazon SNS topic the release managers subscribe to, with the approval IAM permissions granted only to their role

A manual approval action is the built-in release gate. CodePipeline stops "at the point where you want the pipeline execution to stop so that someone with the required AWS Identity and Access Management permissions can approve or reject the action." Configuring an SNS topic on the action means "a notification is published to the Amazon SNS topic, and a message is delivered to any subscribers... with a link to review the approval action in the console," which covers the email requirement. The no-response case is handled for free: "if no one approves or rejects the action within seven days... the result is the same as an action failing, and the pipeline execution does not continue." Scoping the approval permissions to the release managers' IAM role enforces who may sign off, and the approver's comment is recorded against the execution.

Option B rebuilds the feature in code. It needs a Lambda function, a DynamoDB table, a way for approvers to write records, and its own IAM permissions, and it produces no audit record of who approved which execution in the pipeline itself.

Option C is a pipeline-wide switch, not a per-release gate. A disabled transition holds executions at the stage boundary, and once a release manager enables it, it stays enabled, so the next release flows through unreviewed. It also records nothing about who approved what.

Option D breaks the release into two pipelines. Artifact lineage between the staging and production deployments is lost, there is nothing preventing someone from starting the production pipeline without the review, and the approval is not part of the execution history.

Reference: Add a manual approval action to a stage

Practice Test 5 ›

Study guides for DOP-C02

AWS Service Control Policies Explained: SCPs and DenialsAWS service control policies explained: how SCPs cap permissions, why admins still get access denied, inheritance, deny vs allow lists and the exam traps.
How AI Is Changing Software Jobs: Where to PrepareHow AI is changing software jobs: what history shows, the evidence on junior developers, what Klarna learned, new AI roles and five domains to prepare for.
How AWS Certification Exams Work: Scoring and RenewalHow AWS certification exams work: levels, booking, question types, unscored questions, scaled scores, pass marks, validity and how recertification works.
What Is Amazon RDS? Multi-AZ, Read Replicas and BackupsWhat is Amazon RDS? Engines, Multi-AZ, read replicas, backups, RDS Proxy, Aurora and pricing explained, with the traps that AWS exams set around each one.
Best DevOps certification: AWS, Azure, Google or CKAThe best DevOps certification for your stack: AWS DOP-C02, Azure AZ-400, Google Cloud DevOps Engineer and CKA compared on cost, level and prerequisites.
What Is AWS Lambda? Triggers, Concurrency and Cold StartsWhat is AWS Lambda? How functions run, cold starts, triggers vs event source mappings, concurrency, layers, aliases, pricing and the exam traps.
AWS CloudOps Engineer Associate (SOA-C03) exam guideAWS Certified CloudOps Engineer – Associate (SOA-C03) replaced SysOps Administrator. Format, cost, the five domains, what changed and how to prepare.
Which AWS certification should you get? 2026 roadmapWhich AWS certification to get first, by role and experience, with each exam's status in October 2026, what is changing, and prices in USD and INR.
What Is Amazon EC2? Instances, AMIs, EBS and Auto ScalingAmazon EC2 explained: instances, AMIs, instance types, security groups, EBS, Auto Scaling groups and pricing options, with the traps AWS exams set.
SQS vs SNS vs EventBridge on AWSWhen to use an SQS queue, an SNS topic or an EventBridge bus, plus fan-out, FIFO ordering, visibility timeouts and dead-letter queues for AWS exams.