DVA-C02 exam dumps

DVA-C02 practice question 291 of 399

AWS Certified Developer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DVA-C02 Question 291

Single answer

You are configuring an AWS CodePipeline for an application deployment. The pipeline has multiple stages, and you want to include a step where a manager must manually approve the deployment before it can proceed to the production environment. Which of the following is the MOST appropriate way to achieve this?

  1. A

    Add a Manual Approval action in the stage before the production deployment stage.

  2. B

    Use an AWS Lambda function to request manual approval and delay the pipeline until approval is received.

  3. C

    Configure an SNS topic to send an email for approval, and the pipeline will proceed automatically after the email is sent.

  4. D

    Add an Amazon S3 bucket to store approval status before proceeding to the production stage.

Show answer and explanation

Correct answer: A

Explanation

AWS CodePipeline provides a native Manual Approval action, which is the recommended way to pause the pipeline and require manual intervention before proceeding to sensitive stages, such as deploying to production. This action allows you to specify approvers and include comments or instructions for the approval process.

  • A. Correct.

    This is correct. AWS CodePipeline provides a built-in Manual Approval action that can be added to a stage, allowing a designated user or group to approve or reject the pipeline before it proceeds.

  • B. Incorrect.

    This is incorrect. Although Lambda functions can perform custom logic, they are not the recommended or built-in way to implement manual approvals in CodePipeline.

  • C. Incorrect.

    This is incorrect. While SNS can send notifications, it does not provide an automated mechanism to pause the pipeline and wait for manual approval.

  • D. Incorrect.

    This is incorrect. Using an S3 bucket for storing approval status is not a standard or supported method for implementing manual approvals in AWS CodePipeline.

Timed practice exam

Take a DVA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam