A DevOps engineer is troubleshooting deployments to a new application that runs on Amazon EC2 instances behind an Application Load Balancer. The instances run in an EC2 Auto Scaling group across multiple Availability Zones. Instances sometimes come online before they are ready, which is leading to increased error rates among users. The current health check configuration gives instances a 60-second grace period and considers instances healthy after two 200 response codes from /index.php, a page that may respond intermittently during the deployment process. The development team wants instances to come online as soon as possible. Which strategy would address this issue?
A) Increase the instance grace period from 60 seconds to 180 seconds, and the consecutive health check requirement from 2 to 3.
B) Increase the instance grace period from 60 second to 120 seconds, and change the response code requirement from 200 to 204.
C) Modify the deployment script to create a /health-check.php file when the deployment begins, then modify the health check path to point to that file.
D) Modify the deployment script to create a /health-check.php file when all tasks are complete, then modify the health check path to point to that file.
Correct Answer:
Verified
Q221: A DevOps engineer notices that all Amazon
Q222: A DevOps team wants to implement their
Q223: A company has a legacy application running
Q224: A devops team uses AWS CloudFormation to
Q225: A company that runs many workloads on
Q227: A company has mandated a global encryption-at-rest
Q228: A company has migrated its container-based applications
Q229: A DevOps engineer is assisting with a
Q230: A DevOps Engineer wants to prevent Developers
Q231: A DevOps engineer is tasked with migrating
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