exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 759 discussion

Exam question from Amazon's AWS-SysOps
Question #: 759
Topic #: 1
[All AWS-SysOps Questions]

An application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances run in an Auto Scaling group that terminates unhealthy instances. The Auto Scaling group is configured to determine the health status of EC2 instances using both EC2 status checks and ALB health checks. The
Development team wants to analyze the unhealthy instances before termination.
What should the SysOps Administrator do to accomplish this?

  • A. Configure the ALB health check to restart instances instead of terminating them.
  • B. Configure an AWS Lambda function to take a snapshot of all instances before they are terminated.
  • C. Implement Amazon CloudWatch Events to capture lifecycle events and trigger an AWS Lambda function for remediation.
  • D. Use an Amazon EC2 Auto Scaling lifecycle hook to pause instance termination after the instance has been removed from service.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
AWS_Noob
Highly Voted 2 years, 6 months ago
D - https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
upvoted 11 times
...
albert_kuo
Most Recent 9 months, 3 weeks ago
Selected Answer: D
By using an Auto Scaling lifecycle hook, you can temporarily pause the termination of instances after they have been removed from service due to being marked as unhealthy. This pause gives the Development team an opportunity to analyze the instances and gather any necessary information before they are ultimately terminated.
upvoted 1 times
...
RicardoD
2 years, 6 months ago
D is the answer
upvoted 1 times
...
abhishek_m_86
2 years, 6 months ago
D. Use an Amazon EC2 Auto Scaling lifecycle hook to pause instance termination after the instance has been removed from service.
upvoted 1 times
...
jackdryan
2 years, 6 months ago
I'll go with D
upvoted 3 times
...
waterzhong
2 years, 6 months ago
https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
upvoted 3 times
...
nicat
2 years, 7 months ago
D. Use an Amazon EC2 Auto Scaling lifecycle hook to pause instance termination after the instance has been removed from service.
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago