101 · Question #540
In the context of load balancing, what does the term persistence refer to?
The correct answer is A. Ensuring requests from a single source always end up being handled by the same server.. In load balancing, persistence (also called sticky sessions) ensures all requests from a given client are consistently routed to the same backend server for the duration of a session.
Question
In the context of load balancing, what does the term persistence refer to?
Options
- AEnsuring requests from a single source always end up being handled by the same server.
- Bthe ability to associate different HTTP requests to a single user so that activity can be tracked.
- CKeeping TLS session key information in memory so sessions can be quickly resumed
- Dthe ability to keep idle connections open as long as possible by sending dummy traffic
How the community answered
(25 responses)- A88% (22)
- B8% (2)
- C4% (1)
Why each option
In load balancing, persistence (also called sticky sessions) ensures all requests from a given client are consistently routed to the same backend server for the duration of a session.
Load balancer persistence is implemented via mechanisms such as source IP hashing or session cookies injected by the load balancer, binding a client to a specific server. This is critical for stateful applications that store session data locally on a single server rather than in a shared store. Without persistence, subsequent requests could land on a different server that lacks the client's session state, causing application failures.
Associating multiple HTTP requests to a single user for activity tracking describes application-layer session management, not the load balancing concept of persistence.
Storing TLS session keys to enable faster resumption describes TLS session caching, which is a separate SSL/TLS optimization unrelated to load balancer routing decisions.
Sending dummy traffic to keep idle connections open describes TCP or HTTP keepalive behavior, not load balancer persistence.
Concept tested: Load balancer session persistence and sticky sessions
Topics
Community Discussion
No community discussion yet for this question.