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 112 discussion

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

A development team manually builds an artifact locally and then places it in an Amazon S3 bucket. The application has a local cache that must be cleared when a deployment occurs. The team executes a command to do this, downloads the artifact from Amazon S3, and unzips the artifact to complete the deployment.

A DevOps team wants to migrate to a CI/CD process and build in checks to stop and roll back the deployment when a failure occurs. This requires the team to track the progression of the deployment.

Which combination of actions will accomplish this? (Choose three.)

  • A. Allow developers to check the code into a code repository. Using Amazon CloudWatch Events, on every pull into master, trigger an AWS Lambda function to build the artifact and store it in Amazon S3.
  • B. Create a custom script to clear the cache. Specify the script in the Beforelnstall lifecycle hook in the AppSpec file.
  • C. Create user data for each Amazon EC2 instance that contains the clear cache script. Once deployed, test the application. If it is not successful, deploy it again.
  • D. Set up AWS CodePipeline to deploy the application. Allow developers to check the code into a code repository as a source for the pipeline.
  • E. Use AWS CodeBuild to build the artifact and place it in Amazon S3. Use AWS CodeDeploy to deploy the artifact to Amazon EC2 instances.
  • F. Use AWS Systems Manager to fetch the artifact from Amazon S3 and deploy it to all the instances.
Show Suggested Answer Hide Answer
Suggested Answer: BDE 🗳️

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
bgc1
2 years, 2 months ago
Selected Answer: BDE
D - need codepipeline to orchestrate all stages. Code will be fetched from codecommit E - CodeBuild to build the artifact and store in S3. CodeDeploy to deploy the app B - clear cache before installing new revision using codedeploy hook
upvoted 3 times
...
Sabreen_Salama
2 years, 2 months ago
the answer is BDE
upvoted 2 times
...
Piccaso
2 years, 2 months ago
Selected Answer: BDE
Do not understand why "correct answer" choose A over B
upvoted 2 times
...
Bulti
2 years, 3 months ago
Selected Answer: BDE
BDE are correct.
upvoted 2 times
...
Imstack
2 years, 4 months ago
BDE is correct
upvoted 1 times
...
nsvijay04b1
2 years, 5 months ago
Selected Answer: BDE
BDE - correct
upvoted 2 times
...
SmileyCloud
2 years, 5 months ago
Selected Answer: BDE
BDE - correct.
upvoted 3 times
...
devopsbro
2 years, 5 months ago
DEB makes sense..
upvoted 2 times
...
adozoo
2 years, 5 months ago
Selected Answer: BDE
AppSpec can clear cache by bash script
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