exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 30 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 30
Topic #: 1
[All AWS Certified Developer Associate Questions]

A Development team decides to adopt a continuous integration/continuous delivery (CI/CD) process using AWS CodePipeline and AWS CodeCommit for a new application. However, management wants a person to review and approve the code before it is deployed to production.
How can the Development team add a manual approver to the CI/CD pipeline?

  • A. Use AWS SES to send an email to approvers when their action is required. Develop a simple application that allows approvers to accept or reject a build. Invoke an AWS Lambda function to advance the pipeline when a build is accepted.
  • B. If approved, add an approved tag when pushing changes to the CodeCommit repository. CodePipeline will proceed to build and deploy approved commits without interruption.
  • C. Add an approval step to CodeCommit. Commits will not be saved until approved.
  • D. Add an approval action to the pipeline. Configure the approval action to publish to an Amazon SNS topic when approval is required. The pipeline execution will stop and wait for an approval.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
WilsonNF
Highly Voted 3 years, 7 months ago
D. Add an approval action to the pipeline. Configure the approval action to publish to an Amazon SNS topic when approval is required. The pipeline execution will stop and wait for an approval. https://docs.aws.amazon.com/codepipeline/latest/userguide/approvals-action-add.html
upvoted 19 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: D
D) Correct - In AWS CodePipeline, you can add a manual approval action to the pipeline that will stop the pipeline execution and wait for a manual approval before continuing. This approval action can be linked to an Amazon SNS topic, which can notify the approvers when their action is needed. The approvers can then approve or reject the deployment directly within the AWS Management Console
upvoted 1 times
...
AsmaZoheb
1 year, 3 months ago
Selected Answer: D
for sure D
upvoted 1 times
...
ppardav
1 year, 9 months ago
Why not C? https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-create-pull-request-approval-rule.html
upvoted 1 times
npn225
1 year, 7 months ago
Because the question is asking how to implement approval before *deployment to production* rather than before *updating the code base*. Therefore, approval action in the PIPELINE is required rather than an approval step in the AWS CodeCommit repository. Hope this helps!
upvoted 1 times
...
...
rcaliandro
1 year, 10 months ago
Selected Answer: D
D of course, it is possible to add an human approval task to the CI/CD pipeline in order to accept (or eventually reject) the deployment of the new software. The pipeline execution will stop and wait for the human approval
upvoted 1 times
...
G4Exams
2 years, 5 months ago
Selected Answer: D
D is the right approach.
upvoted 1 times
...
tam2801
2 years, 7 months ago
D D D so easy
upvoted 1 times
...
JP_PA
3 years, 2 months ago
Selected Answer: D
ANS: D
upvoted 1 times
...
Juanlufr
3 years, 6 months ago
Answer D
upvoted 2 times
...
RicardoD
3 years, 6 months ago
D is the answer
upvoted 3 times
...
Chinta
3 years, 6 months ago
D is correct ,need one stage for approval in code pipeline
upvoted 2 times
...
requiem
3 years, 6 months ago
answer: D
upvoted 3 times
...
saeidp
3 years, 7 months ago
D is correct
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago