AWS Certified SysOps Administrator – Associate — Question 177
A software company runs a workload on Amazon EC2 instances behind an Application Load Balancer (ALB). A SysOps administrator needs to define a custom health check for the EC2 instances.
What is the MOST operationally efficient solution?
Answer options
- A. Set up each EC2 instance so that it writes its healthy/unhealthy status into a shared Amazon S3 bucket for the ALB to read.
- B. Configure the health check on the ALB and ensure that the Health Check Path setting is correct.
- C. Set up Amazon ElastiCache to track the EC2 instances as they scale in and out.
- D. Configure an Amazon API Gateway health check to ensure custom checks on all of the EC2 instances.
Correct answer: B
Explanation
The correct answer is B because configuring the health check directly on the ALB is the most straightforward way to monitor the health of the EC2 instances efficiently. The other options introduce unnecessary complexity or do not directly utilize the capabilities of the ALB for health checks.