Topic 1 Question 109
A large company is running a popular web application. The application runs on several Amazon EC2 Linux instances in an Auto Scaling group in a private subnet. An Application Load Balancer is targeting the instances in the Auto Scaling group in the private subnet. AWS Systems Manager Session Manager is configured, and AWS Systems Manager Agent is running on all the EC2 instances.
The company recently released a new version of the application. Some EC2 instances are now being marked as unhealthy and are being terminated. As a result, the application is running at reduced capacity. A solutions architect tries to determine the root cause by analyzing Amazon CloudWatch logs that are collected from the application, but the logs are inconclusive.
How should the solutions architect gain access to an EC2 instance to troubleshoot the issue?
Suspend the Auto Scaling group’s HealthCheck scaling process. Use Session Manager to log in to an instance that is marked as unhealthy.
Enable EC2 instance termination protection. Use Session Manager to log in to an instance that is marked as unhealthy.
Set the termination policy to OldestInstance on the Auto Scaling group. Use Session Manager to log in to an instance that is marked an unhealthy.
Suspend the Auto Scaling group’s Terminate process. Use Session Manager to log in to an instance that is marked as unhealthy.
ユーザの投票
コメント(6)
- 正解だと思う選択肢: D
The correct answer is D.
👍 8zozza20232023/01/30 - 正解だと思う選択肢: D
The correct answer is D.
In this solution, the architect can suspend the Auto Scaling group's Terminate process, which will prevent the instances marked as unhealthy from being terminated. This will allow the architect to log in to the instance using Session Manager and troubleshoot the issue without losing access to the instance.
👍 4masetromain2023/01/15 - 正解だと思う選択肢: D
Disabling health check wont let SA know which instance is un healthy. So A is certainly wrong. D is correct.
👍 4God_Is_Love2023/03/06
シャッフルモード