ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 83 - DOP-C02 discussion

Report
Export

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 runs 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? (Select THREE)

A.
Allow developers to check the code into a code repository Using Amazon EventBridge on every pull into the mam branch invoke an AWS Lambda function to build the artifact and store it in Amazon S3.
Answers
A.
Allow developers to check the code into a code repository Using Amazon EventBridge on every pull into the mam branch invoke 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.
Answers
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.
Answers
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 tor the pipeline.
Answers
D.
Set up AWS CodePipeline to deploy the application Allow developers to check the code into a code repository as a source tor 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.
Answers
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.
Answers
F.
Use AWS Systems Manager to fetch the artifact from Amazon S3 and deploy it to all the instances.
Suggested answer: B, D, E
asked 16/09/2024
Paul Bryant
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first