medium
Single Answer
0Liana wants to deploy a load balancer and wants to ensure that if a session is interrupted users have the highest chance of being reconnected to the same server. What algorithm should she select?
Answer Options
A
Round- robin
B
IP hash
C
Weighted least connection
D
Resource- based
Correct Answer: B
Explanation
IP hash relies on a hash of the client and server’s IP addresses to associate them with a server. Even if you’re not familiar with load-balancing techniques, you can rule out round-robin, which simply distributes sessions through a list in order; weighted least connection, which looks at which servers have the least traffic and a weight assigned to the server; and resource-based, which looks at how heavily loaded a server is.