AWS Certified SysOps Administrator – AssociateDeployment, Provisioning, and AutomationEasy

A software company uses AWS CodePipeline for continuous delivery. They have a stage that deploys their application to a production environment. Before the deployment proceeds, they require human intervention to review and approve the changes. If the changes are not approved within a certain timeframe, the deployment should automatically fail. Which action type should be configured in CodePipeline to implement this requirement?

  1. AApproval Action
  2. BTest Action
  3. CDeploy Action
  4. DBuild Action
Show answer & explanation

Correct answer: A. Approval Action

An Approval action in AWS CodePipeline pauses the pipeline execution at a specified point, waiting for a manual approval or rejection. It can also be configured with a timeout, after which the action fails if no decision is made, meeting the requirement for human intervention and automatic failure.

Why the other options are wrong

  • B. Test actions run automated tests, they do not involve human approval.
  • C. Deploy actions deploy the application, but do not inherently include a human approval step.
  • D. Build actions compile code and run tests, they do not involve human approval.

CodePipeline Approval Action

A stage action in AWS CodePipeline that pauses the pipeline and waits for manual approval or rejection before proceeding to the next stage.

  • Requires human intervention for decision-making.
  • Can be configured with a timeout.
  • Ideal for gatekeeping production deployments.

Memory trick: Approval action, the human checkpoint.

More Deployment, Provisioning, and Automation questions