A company is running an application on Amazon EC2 instances behind an ELB Application Load Balancer. The instances run in an EC2 Auto Scaling group across multiple Availability Zones. After a recent application update, users are getting HTTP 502 Bad Gateway errors from the application URL. The DevOps Engineer cannot analyze the problem because Auto Scaling is terminating all EC2 instances shortly after launch for being unhealthy. What steps will allow the DevOps Engineer access to one of the unhealthy instances to troubleshoot the deployed application?
A) Create an image from the terminated instance and create a new instance from that image. The Application team can then log into the new instance.
B) As soon as a new instance is created by AutoScaling, put the instance into a Standby state as this will prevent the instance from being terminated. As soon as a new instance is created by AutoScaling, put the instance into a Standby state as this will prevent the instance from being terminated.
C) Add a lifecycle hook to your Auto Scaling group to move instances in the Terminating state to the Terminating:Wait state. Add a lifecycle hook to your Auto Scaling group to move instances in the Terminating state to the Terminating:Wait state.
D) Edit the Auto Scaling group to enable termination protection as this will protect unhealthy instances from being terminated.
Correct Answer:
Verified
Q95: A company wants to implement a CI/CD
Q96: A company is using Docker containers for
Q97: A company is using AWS Organizations to
Q98: A company mandates the creation of capture
Q99: A company has migrated its container-based applications
Q101: A DevOps Engineer is deploying a new
Q102: A DevOps Engineer just joined a new
Q103: A DevOps Engineer must create a Linux
Q104: A DevOps Engineer has been asked by
Q105: An application has microservices spread across different
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