exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 764 discussion

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

A SysOps Administrator is managing a web application that runs on Amazon EC2 instances behind an ELB Application Load Balancer (ALB). The instances run in an EC2 Auto Scaling group. The administrator wants to set an alarm for when all target instances associated with the ALB are unhealthy.
Which condition should be used with the alarm?

  • A. AWS/ApplicationELB HealthyHostCount <= 0
  • B. AWS/ApplicationELB UnhealthyHostCount >= 1
  • C. AWS/EC2 StatusCheckFailed <= 0
  • D. AWS/EC2 StatusCheckFailed >= 1
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
kung07
Highly Voted 2 years, 7 months ago
A, as it is requested to get an alarm when 'ALL target instances associated with the ALB are unhealthy.' As the EC2's are in an ASG, you don't know how many there are at any moment in time. Thus you have to check the HealthyHostCount = 0 https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-cloudwatch-metrics.html
upvoted 19 times
...
nicat
Highly Voted 2 years, 7 months ago
A. AWS/ApplicationELB HealthyHostCount <= 0
upvoted 11 times
...
albert_kuo
Most Recent 9 months, 3 weeks ago
Selected Answer: A
The HealthyHostCount metric for the Application Load Balancer (ALB) represents the number of registered instances that are considered healthy. By setting the condition to HealthyHostCount <= 0, the alarm will trigger when there are no healthy instances registered with the ALB, indicating that all target instances are unhealthy. Option B, AWS/ApplicationELB UnhealthyHostCount >= 1, would trigger the alarm when at least one target instance associated with the ALB is considered unhealthy. However, the requirement is to trigger the alarm when all target instances are unhealthy, so this option does not accurately reflect the desired condition.
upvoted 1 times
...
antthomas
2 years, 1 month ago
Selected Answer: A
A, as it is requested to get an alarm when 'ALL target instances associated with the ALB are unhealthy.' As the EC2's are in an ASG, you don't know how many there are at any moment in time. Thus you have to check the HealthyHostCount = 0 https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-cloudwatch-metrics.html
upvoted 1 times
...
asfsdfsdf
2 years, 2 months ago
Selected Answer: A
i would choose A - since we have 0 healthy hosts
upvoted 1 times
...
alexsandroe
2 years, 6 months ago
A. AWS/ApplicationELB HealthyHostCount <= 0
upvoted 2 times
...
RicardoD
2 years, 6 months ago
A is the answer
upvoted 2 times
...
abhishek_m_86
2 years, 6 months ago
A. AWS/ApplicationELB HealthyHostCount <= 0
upvoted 2 times
...
Tanja84
2 years, 6 months ago
B is correct
upvoted 1 times
...
jackdryan
2 years, 6 months ago
I'll go with A
upvoted 2 times
...
MFDOOM
2 years, 6 months ago
AWS/ApplicationELB HealthyHostCount <= 0
upvoted 2 times
...
waterzhong
2 years, 7 months ago
A. AWS/ApplicationELB HealthyHostCount <= 0
upvoted 2 times
...
teosinh
2 years, 7 months ago
A is okela.
upvoted 2 times
...
Golddust
2 years, 7 months ago
I believe the answer is A As kung07 stated, B is wrong. Lets say you have 6 instances running and only 1 is unhealthy then B would trigger and this is not what was requested. As for A, all EC2 instances need to fail for the HealthyHostCount to be = 0. PS I think the < is just to confuse you since you have bigger problems if you get a healthyhostcount of "-1" :P
upvoted 8 times
...
AWS_Noob
2 years, 7 months ago
B is correct
upvoted 4 times
neel376
2 years, 7 months ago
Should be A. If all instances are unhealthy than healthy host count will be 0
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