exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 8 discussion

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

You have an Auto Scaling group associated with an Elastic Load Balancer (ELB). You have noticed that instances launched via the Auto Scaling group are being marked unhealthy due to an ELB health check, but these unhealthy instances are not being terminated.
What do you need to do to ensure trial instances marked unhealthy by the ELB will be terminated and replaced?

  • A. Change the thresholds set on the Auto Scaling group health check
  • B. Add an Elastic Load Balancing health check to your Auto Scaling group
  • C. Increase the value for the Health check interval set on the Elastic Load Balancer
  • D. Change the health check set on the Elastic Load Balancer to use TCP rather than HTTP checks
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
pleasespammelater
Highly Voted 3 years ago
Yep, B is correct ("Add an Elastic Load Balancing health check to your Auto Scaling group"). This is tricky: The ELB can determine that an instance is unhealthy. But on an ASG you have a choice of using simple EC2 health checks or combined ELB/EC2 health checks. If you choose the former, an ELB determination of unhealthy is ignored. https://www.youtube.com/watch?v=VPZrAI8T1Vg&list=PLCwqZg0AgBb-JNQvqxsAjhBH974V5MRw8&index=4&t=0s
upvoted 13 times
...
Ka
Highly Voted 3 years ago
Sorry B is correct
upvoted 7 times
...
tharuroxz
Most Recent 9 months, 1 week ago
Selected Answer: B
B is the correct answer
upvoted 1 times
...
xmh8088
1 year, 1 month ago
B is correct
upvoted 1 times
...
albert_kuo
1 year, 1 month ago
Selected Answer: B
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-add-elb-healthcheck.html
upvoted 1 times
...
antthomas
2 years, 8 months ago
Selected Answer: B
he Auto Scaling Group is using EC2 health check type which does not remove unhealthy instances. Changing it to use ELB health check type fixes this behaviour, and auto scaling group starts removing unhealthy instances.
upvoted 1 times
fromnowhere
2 years, 5 months ago
How did you know that it is using EC2 health check? I don't see that mention here
upvoted 1 times
...
...
FHU
2 years, 11 months ago
The right answer is B. The Auto Scaling Group is using EC2 health check type which does not remove unhealthy instances. Changing it to use ELB health check type fixes this behaviour, and auto scaling group starts removing unhealthy instances.
upvoted 1 times
...
LuizMarques
2 years, 12 months ago
Answer is B.
upvoted 1 times
...
RicardoD
3 years ago
B is the answer If you want the ASG to terminate instances marked as unhealthy, you need to add the ELB health check to your ASG
upvoted 2 times
...
newjoinerv2
3 years ago
On the architecture exam, I know it's always ELB health check.
upvoted 1 times
...
narayanan010
3 years ago
My bad.. option B makes much more sense. More clarity here - https://kylewbanks.com/blog/ec2-vs-elb-health-check-on-an-auto-scaling-group
upvoted 2 times
...
narayanan010
3 years ago
Picking up this line verbatim from the question - "You have noticed that instances launched via the Auto Scaling group are being marked unhealthy due to an ELB health check".. The question already states that an ELB Health Check is in place, right? I believe the instances are not being terminated due to non-expiry of the Health Check Grace period, hence A is the right option for me. Open for more clarity on this though.
upvoted 4 times
NguyenLC1
3 years ago
Agree with you!
upvoted 1 times
...
...
awscertified
3 years ago
B. Add an Elastic Load Balancing health check to your Auto Scaling group
upvoted 1 times
...
Kweb
3 years ago
Answer A Reference - http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-add-elb-healthcheck.html
upvoted 1 times
...
Ka
3 years, 1 month ago
Answer A Health Check Grace Period Amazon EC2 Auto Scaling doesn't terminate an instance that came into service based on EC2 status checks and ELB health checks until the health check grace period expires. To find the grace period length: On the Amazon EC2 console navigation pane, under Auto Scaling, choose Auto Scaling Groups, and then select the instance's group. Choose the Details view and note the Health Check Grace Period length. https://aws.amazon.com/premiumsupport/knowledge-center/auto-scaling-terminate-instance/
upvoted 1 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