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:
Verified
Q480: When logging with Amazon CloudTrail, API call
Q481: A company uses AWS Organizations to manage
Q482: A company wants to ensure that their
Q483: A company uses AWS KMS with CMKs
Q484: A DevOps Engineer has a single Amazon
Q486: A company uses federated access for its
Q487: A company has multiple development teams sharing
Q488: A company recently launched an application that
Q489: You have an application which consists of
Q490: A Development team wants to deploy an
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents