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

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 239 discussion

A web application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances run in an Auto Scaling group across multiple Availability Zones. A SysOps administrator notices that some of these EC2 instances show up as healthy in the Auto Scaling group but show up as unhealthy in the ALB target group.

What is a possible reason for this issue?

  • A. Security groups are not allowing traffic between the ALB and the failing EC2 instances.
  • B. The Auto Scaling group health check is configured for EC2 status checks.
  • C. The EC2 instances are failing to launch and failing EC2 status checks.
  • D. The target group health check is configured with an incorrect port or path.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
fahadadnan
Highly Voted 1 year, 9 months ago
Selected Answer: B
Answer B https://www.examtopics.com/discussions/amazon/view/6364-exam-aws-sysops-topic-1-question-698-discussion/
upvoted 8 times
Vivec
1 year, 8 months ago
I agree on this one, it is B. This is the typical question with EC2 and ALB Health Checks, that comes on exams all the time. EC2 Health checks, check the Operating system that runs the EC2 and does it run properly, but ALB Health checks, check the application that runs on it. Maybe EC2 is running as it should, but the application on it is failing. Because of that, it is the best practice to put ALB HP checks and not EC2 Health Checks.
upvoted 3 times
xSohox
1 year, 3 months ago
No, the correct answer is D. You need to pay more attention to how the question is worded. It says health checks in TARGET GROUPS. So based on this doc: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html "The load balancer sends a health check request to each registered target every HealthCheckIntervalSeconds seconds, using the specified port, protocol, and ping path."
upvoted 4 times
TwinSpark
1 year, 2 months ago
If ALB is configured with incorrect path alle the instances should fail, so i vote d
upvoted 3 times
...
...
...
...
XXXXXlNN
Most Recent 6 days, 8 hours ago
D. id the port or path is incorrect, ALB will always show unhealthy. ECS auto scaling is healthy because the ec2 instances are running fine, however ALB is not routing to the healthy EC2 instance via TG, that is why ALB doesn't show healthy.
upvoted 1 times
...
Slays
1 month, 2 weeks ago
Selected Answer: B
Auto Scaling group health checks by default only check for EC2 status checks (e.g., instance availability or hardware issues). If the EC2 instance is running but the application on it is not functioning properly, the instance can still show up as healthy in the Auto Scaling group but unhealthy in the ALB target group. ALB target group health checks monitor the health of the application on a specific port or path. If the application on the EC2 instance is not responding correctly to these health checks, the instance will be marked as unhealthy in the ALB, even though it is still considered healthy by the Auto Scaling group. It's B
upvoted 1 times
...
VerRi
4 months ago
Selected Answer: B
I think the keyword here is "some of" If the Target group health check is configured with an incorrect port or path, all EC2s in ASG should show unhealthy.
upvoted 1 times
...
TareDHakim
10 months, 3 weeks ago
Selected Answer: D
Health-checks configuration issue.
upvoted 2 times
...
Debugs_Bunny
11 months, 1 week ago
Selected Answer: D
Answer is D. There is no such a thing as AutoScaling group Health check. Health check belongs to Target Groups which are attached to ALB. Auto Scaling health check is for EC2 instances not the AutoScaling group
upvoted 1 times
March2023
8 months, 3 weeks ago
this says different: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-checks-overview.html
upvoted 1 times
...
...
Debugs_Bunny
11 months, 3 weeks ago
Selected Answer: D
option D
upvoted 2 times
...
Mila28
1 year ago
Selected Answer: A
If an EC2 instance is healthy according to the Auto Scaling group but unhealthy according to the ALB target group, it could be because the security groups are not allowing traffic between the ALB and the EC2 instances. The Auto Scaling group health check might be passing because it only checks that the EC2 instance is running, not that it can accept traffic from the ALB. A is correct
upvoted 2 times
...
callspace
1 year, 1 month ago
Selected Answer: D
1. EC2 instances show up as healthy in the Auto Scaling group - So out of the question. 2. but show up as unhealthy in the ALB target group. - D it is.
upvoted 1 times
...
TwinSpark
1 year, 2 months ago
Selected Answer: B
If ALB is configured with incorrect path alle the instances should fail, so i vote d
upvoted 1 times
...
wh1t4k3r
1 year, 2 months ago
This one is tricky doing some research i found the following: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ts-as-healthchecks.html https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-add-elb-healthcheck.html Cant be sec group, otherwise ALL would fail, and only a few are failing. So B is the the one that applies here.
upvoted 1 times
...
xSohox
1 year, 3 months ago
Selected Answer: D
Health checks are in a ALB target group. "The load balancer sends a health check request to each registered target every HealthCheckIntervalSeconds seconds, using the specified port, protocol, and ping path." https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html
upvoted 2 times
...
JamesF92
1 year, 3 months ago
I can't understand why A is wrong. ALBs perform Health Checks on their targets by accessing each target using HTTP/HTTPS over the port specified in Health Check settings. Clearly an improperly configured Security Group on an ASG instance could block an ALB health check over HTTP(S). https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html
upvoted 1 times
ahrentom
1 year, 2 months ago
I go with you because the question is about "some EC2 instances". In my opinion a failure in configuring a target group health check or auto scaling health check effects all EC2 instances. So for me answer A are correct.
upvoted 1 times
...
...
Christina666
1 year, 4 months ago
Selected Answer: D
alb health check failed
upvoted 2 times
...
ctd983
1 year, 4 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
guau
1 year, 4 months ago
Selected Answer: D
D. The target group health check is configured with an incorrect port or path.
upvoted 1 times
...
TQM__9MD
1 year, 4 months ago
Selected Answer: D
D is answer
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 ...