Exams / SOA-C03 / Load balancer and Route 53 health checks / Question 1
SOA-C03 practice question: Load balancer and Route 53 health checks (1 of 2)
Reliability and Business Continuity A free question from our original SOA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.
A dental chain moved its patient portal behind an Application Load Balancer. The target group uses the default health check settings with the path /. The application sends unauthenticated requests to / a 302 redirect to /login. Every target is marked unhealthy, and the ALB access logs show the health check requests arriving at the instances. What should a CloudOps engineer do so that healthy targets are reported correctly?
Choose one answer.
- AA. Raise the healthy threshold count and the health check interval so that targets have more time to answer the checks.
- BB. Allow inbound traffic from the load balancer's security group in the instances' security group on the application port.
- CC. Change the health check protocol to TCP so that the load balancer only checks that the application port is open.
- DD. Change the health check path to a lightweight page, such as /health, that returns HTTP 200.
Show the answer and explanation
Answer: D
Explanation
An ALB marks a target healthy only when the health check response code matches the success codes, which default to 200. A redirect on the health check path fails every check even though the application works. Pointing the check at a page that returns 200, or adding 302 to the success codes, fixes it.
Study
Keep practicing
Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.