Solved

A Company Runs an Application Consisting of an AWS CodeDeploy

Question 485

Multiple Choice

A company runs an application consisting of an AWS CodeDeploy deployment group that uses Auto Scaling and an Application Load Balancer. The application deployments are automated using AWS CodePipeline, which consists of AWS CodeCommit as the source and AWS CodeDeploy as the deployment provider. After a recent successful deployment, the application experienced an outage for several minutes until the deployment was manually rolled back. A DevOps engineer verified that the pipeline was successful and did not indicate any errors, but found that the code caused the application to become unresponsive after several hours. Which actions will help to prevent future downtime in similar situations? (Choose two.)


A) Configure a TCP health check for the Auto Scaling target group on a listening port of the application.
B) Configure an HTTP or HTTPS health check for the Auto Scaling target group to check a specific application path.
C) Create a script to test the application health and execute the script during the BeforeInstall lifecycle hook in the CodeDeploy appspec.yml file.
D) Update the CodeDeploy deployment group to roll back automatically to the previous version if the deployment fails.
E) Update the CodeDeploy deployment group to roll back based on a custom Amazon CloudWatch alarm using an application status metric.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents