ALB Health Check Configuration for SAP
An SAP system is deployed across multiple Availability Zones using an Application Load Balancer (ALB). The Operations team notices that during a failover test, the ALB is sending traffic to unhealthy instances. Which configuration change would ensure the ALB stops sending traffic to unhealthy targets?
Quick Answer
When an Application Load Balancer keeps sending traffic to instances that are actually unhealthy, the root cause is almost always that the load balancer's own definition of healthy doesn't match reality, which is controlled entirely by the health check configuration - its thresholds and check interval. Configuring appropriate healthy and unhealthy thresholds along with a suitable check interval ensures the ALB actually detects a failing target within a reasonable time and stops routing new traffic to it, since those settings determine how many consecutive failed or successful checks it takes before the ALB changes its view of a target's health, and how frequently it re-evaluates that status. The other configuration options mentioned don't touch this detection mechanism at all: sticky sessions only control whether a client keeps getting routed to the same target across requests, which has nothing to do with whether that target is deemed healthy; deregistration delay only affects how long the load balancer keeps draining existing in-flight connections to a target before fully removing it, not how it detects unhealthy targets in the first place; and cross-zone load balancing controls how traffic is distributed across Availability Zones, not whether unhealthy targets are excluded from receiving traffic. The pattern worth remembering is that any time a load balancer appears to be routing to targets that should be considered down, the fix almost always lives in the health check settings themselves, rather than in session, deregistration, or zone-balancing settings.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Configure a health check with appropriate thresholds and interval.
Configuring a health check with appropriate thresholds and interval ensures the ALB can accurately determine the health of targets and stop routing traffic to unhealthy instances. Option A is incorrect because sticky sessions (session affinity) do not affect health checking; they only maintain session persistence. Option C is incorrect because increasing the deregistration delay only extends the time for connection draining, not health detection. Option D is incorrect because cross-zone load balancing distributes traffic across Availability Zones but does not influence health checks or unhealthy target routing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable sticky sessions (session affinity).
Why it's wrong here
Sticky sessions bind a user to a target, but do not affect health-based routing.
- ✓
Configure a health check with appropriate thresholds and interval.
Why this is correct
Health checks determine if a target is healthy; if thresholds are too lenient, unhealthy instances may still receive traffic.
- ✗
Increase the deregistration delay value.
Why it's wrong here
Deregistration delay controls connection draining, not health check status.
- ✗
Enable cross-zone load balancing.
Why it's wrong here
Cross-zone load balancing distributes traffic across AZs, but does not affect health routing.
Go deeper
Related to this question
About these practice questions
Courseiva writes every PAS-C01 question from scratch — 1,616 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on PAS-C01
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. An SAP system on AWS uses an Application Load Balancer (ALB) to distribute traffic across multiple EC2 instances. The operations team notices that some instances are marked as unhealthy even though the application is running correctly. Which TWO actions could resolve this issue?
medium- ✓ A.Increase the healthy threshold count.
- B.Associate an Elastic IP address with each instance.
- C.Change the health check protocol to TCP.
- ✓ D.Change the health check path to a simpler endpoint.
- E.Decrease the health check interval.
Why A: Increasing the healthy threshold count makes the load balancer require more consecutive successful health checks before marking an instance as healthy, preventing flapping. Option B is wrong because associating an Elastic IP address does not affect health check status; it only provides a static public IP. Option C is wrong because changing the health check protocol to TCP would not resolve application-level health issues; ALB supports HTTP/HTTPS health checks which are more appropriate for web applications. Option D is correct because changing the health check path to a simpler endpoint (e.g., a static page) reduces the chance of false failures caused by complex application logic. Option E is wrong because decreasing the health check interval increases the frequency of checks, which could cause unnecessary load and does not prevent false failures.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PAS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PAS-C01 exam.