exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 45 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 45
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A DevOps engineer has automated a web service deployment by using AWS CodePipeline with the following steps:
1. An AWS CodeBuild project compiles the deployment artifact and runs unit tests.
2. An AWS CodeDeploy deployment group deploys the web service to Amazon EC2 instances in the staging environment.
3. A CodeDeploy deployment group deploys the web service to EC2 instances in the production environment.
The quality assurance (QA) team requests permission to inspect the build artifact before the deployment to the production environment occurs. The QA team wants to run an internal penetration testing tool to conduct manual tests. The tool will be invoked by a REST API call.
Which combination of actions should the DevOps engineer take to fulfill this request? (Choose two.)

  • A. Insert a manual approval action between the test actions and deployment actions of the pipeline.
  • B. Modify the buildspec.yml file for the compilation stage to require manual approval before completion.
  • C. Update the CodeDeploy deployment groups so that they require manual approval to proceed.
  • D. Update the pipeline to directly call the REST API for the penetration testing tool.
  • E. Update the pipeline to invoke a Lambda function that calls the REST API for the penetration testing tool.
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️

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
ohcn
Highly Voted 2 years, 8 months ago
A and E - https://www.examtopics.com/discussions/amazon/view/49433-exam-aws-devops-engineer-professional-topic-1-question-190/
upvoted 13 times
...
YR4591
Most Recent 1 year, 6 months ago
Selected Answer: AE
AE Code pipeline itself can't send api requests, it should use either codebuild or lambda. In addition, approval step can be set in codepipline and not in code build.
upvoted 1 times
...
ParagSanyashiv
1 year, 12 months ago
Selected Answer: AE
AE are most suitable option here.
upvoted 1 times
...
hoomaan
2 years, 2 months ago
Agree with ohcn, AE is correct.
upvoted 1 times
...
bihani
2 years, 2 months ago
Selected Answer: AE
agree with ohcn
upvoted 1 times
...
Piccaso
2 years, 2 months ago
Selected Answer: BE
Do not understand why C is in the correct answer. Between A and B. A looks straightforward. However, I prefer B, because it is more automatic and integrated.
upvoted 1 times
hoomaan
2 years, 2 months ago
I am not sure about B, as we cannot add approval to buildspec.yaml https://www.reddit.com/r/aws/comments/x7e0na/in_the_buildspecyml_for_aws_codebuild_is_it/
upvoted 1 times
...
...
Bulti
2 years, 3 months ago
A & E are the right answers
upvoted 1 times
...
PepsNick
2 years, 3 months ago
Selected Answer: AE
AE. Here is information about adding a manual approval step which is required. https://docs.aws.amazon.com/codepipeline/latest/userguide/approvals-action-add.html You call a lambda function in parallel to the approval to trigger the API.
upvoted 2 times
...
saeidp
2 years, 4 months ago
A and E
upvoted 1 times
...
Chinta
2 years, 4 months ago
AE is the correct option
upvoted 1 times
...
Goozian
2 years, 7 months ago
Selected Answer: AE
A and E
upvoted 2 times
...
costin
2 years, 7 months ago
E for sure, not sure about A
upvoted 2 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