What role do health checks play in a cloud load balancer?
Correct answer
A. They remove failing instances from the traffic rotation
12 views
A. They remove failing instances from the traffic rotation
12 views
A load balancer periodically probes each backend and marks it unhealthy after consecutive failures, so new requests stop being routed to an instance that would return errors. When the probe succeeds again the instance rejoins the pool, which is what makes rolling deployments and autoscaling safe. Round-robin or least-connections algorithms choose where to send traffic, but only among targets that pass the health check.
Asked in: NTS, PPSC IT, Campus Interviews
Not sure why the answer is A? Ask here and get an explanation.