Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AWS Certified Solutions Architect - Professional topic 1 question 737 discussion

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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
SkyZeroZx
1 year, 1 month ago
Selected Answer: 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.
upvoted 2 times
SkyZeroZx
1 year, 1 month ago
Option A is incorrect because suspending the HealthCheck scaling process will not prevent instances from being terminated. Option B is incorrect because enabling EC2 instance termination protection will not prevent instances from being terminated by Auto Scaling group. Option C is incorrect because setting the termination policy to OldestInstance on the Auto Scaling group will not prevent instances marked as unhealthy from being terminated.
upvoted 1 times
...
...
Jesuisleon
1 year, 1 month ago
Selected Answer: D
D is correct.
upvoted 2 times
...
cen007
1 year, 11 months ago
Selected Answer: D
D is more suitable since the EC2 instances are being terminated.
upvoted 3 times
...
skyblue07
2 years ago
Selected Answer: A
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html
upvoted 3 times
...
cldy
2 years, 7 months ago
D. Suspend the Auto Scaling groupג€™s Terminate process. Use Session Manager to log in to an instance that is marked as unhealthy.
upvoted 2 times
...
AzureDP900
2 years, 7 months ago
D is correct, I agree with acloudguru comments!
upvoted 2 times
...
acloudguru
2 years, 7 months ago
Selected Answer: D
either replaceunhealthy or terminate will work. here is only D.https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html
upvoted 2 times
...
GeeBeeEl
2 years, 8 months ago
See https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html it shows For Amazon EC2 Auto Scaling, there are two primary process types: Launch and Terminate. The Launch process adds a new Amazon EC2 instance to an Auto Scaling group, increasing its capacity. The Terminate process removes an Amazon EC2 instance from the group, decreasing its capacity. HealthCheck process for EC2 autoscaling is not a primary process! It is a process along with the following AddToLoadBalancer AlarmNotification AZRebalance HealthCheck InstanceRefresh ReplaceUnhealthy ScheduledActions From the requirements, Some EC2 instances are now being marked as unhealthy and are being terminated. Application is running at reduced capacity not because instances are marked unhealthy but because they are being terminated. I go with D because it is the only option that can prevent application from running at reduced capacity Option D is the answer
upvoted 1 times
...
Viper57
2 years, 8 months ago
D is correct. You can suspend the 'ReplaceUnhealthy' process to prevent unhealthy instances from being terminated. See https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html
upvoted 2 times
...
andylogan
2 years, 8 months ago
It's D
upvoted 1 times
...
DerekKey
2 years, 8 months ago
A wrong - impossible B wrong - even with termination protection and instance scale-in protection enabled, instance will be terminated if a health check determines that an instance is unhealthy C wrong - stupid D correct - but not advised
upvoted 1 times
...
tgv
2 years, 9 months ago
DDD ---
upvoted 1 times
...
blackgamer
2 years, 9 months ago
D for me
upvoted 1 times
...
sergioandreslq
2 years, 9 months ago
A-Incorrect: disable the healthcheck won't inform which is healthy and unhealthy, remember we need to review unhealthy and we need to identify which instance in this status. B: It is the correct, Termination protection: Prevents Auto Scaling terminating protected instances, this is helpful to execute a deep diagnostics of the EC2 and identify the root cause why they are unhealthy and they are being terminating. C: Incorrect: There is not relation about unhealthy and oldest instance. D: You can't suspend the auto Scaling Terminate process.
upvoted 1 times
sergioandreslq
2 years, 9 months ago
Change From B to D: The way to suspend the Scaling Termination process is using ASG "Instance Scale-in Protection": With the new control that we are giving you today, you can protect certain instances from termination. https://aws.amazon.com/blogs/aws/new-instance-protection-for-auto-scaling/
upvoted 1 times
...
...
lifebegins
2 years, 9 months ago
How we can suspend Autoscaling Termination Process itself. We can suspend the processes which is running inside the instances. I hope it shoud be Option 'B'. https://aws.amazon.com/blogs/aws/new-instance-protection-for-auto-scaling/
upvoted 1 times
Viper57
2 years, 8 months ago
Read this guide, it clearly explains how to suspend the termination process on ASGs. https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html Answer is D.
upvoted 1 times
...
...
WhyIronMan
2 years, 9 months ago
I'll go with D
upvoted 3 times
...
Waiweng
2 years, 9 months ago
it's D
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in