Intermediate
Web & Software Development
Q62 / 100
How does a load balancer decide which backend server should handle an incoming request?
Correct! Well done.
Incorrect.
The correct answer is C) It applies an algorithm such as round-robin, least-connections, or weighted/IP-hash, often combined with health checks that remove unhealthy servers from rotation
C
Correct Answer
It applies an algorithm such as round-robin, least-connections, or weighted/IP-hash, often combined with health checks that remove unhealthy servers from rotation
Explanation
Load balancers (Nginx, HAProxy, AWS ELB) use selection algorithms like round-robin, least connections, weighted distribution, or IP hashing for session affinity, and continuously run health checks so traffic is not routed to failing instances.
Progress
62/100