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?
A) Suspend the Auto Scaling group's HealthCheck scaling process. Use Session Manager to log in to an instance that is marked as unhealthy.
B) Enable EC2 instance termination protection. Use Session Manager to log in to an instance that is marked as unhealthy.
C) 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.
D) Suspend the Auto Scaling group's Terminate process. Use Session Manager to log in to an instance that is marked as unhealthy.
Correct Answer:
Verified
Q791: A company wants to migrate its data
Q792: A company is running a distributed application
Q793: A company is using multiple AWS accounts.
Q794: A company recently deployed a new application
Q795: A company's factory and automation applications are
Q797: A company is running its AWS infrastructure
Q798: A company is running multiple workloads in
Q799: A company runs an application on AWS.
Q800: A company hosts a large on-premises MySQL
Q801: A company maintains a restaurant review website.
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