ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 235 - DOP-C01 discussion

Report
Export

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 DevOpsEngineer cannot analyze the problem because Auto Scaling is terminating all EC2 instances shortly after launch for beingunhealthy.

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.
Answers
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.
Answers
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.
C.
Add a lifecycle hook to your Auto Scaling group to move instances in the Terminating state to the Terminating:Wait state.
Answers
C.
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.
Answers
D.
Edit the Auto Scaling group to enable termination protection as this will protect unhealthy instances from being terminated.
Suggested answer: C
asked 16/09/2024
Feroz Khan
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first