NSE4 · Question #261
When configuring a server load balanced virtual IP, which of the following is the best distribution algorithm to be used in applications where the same physical destination server must be maintained…
The correct answer is A. Static. For applications requiring session persistence, the Static distribution algorithm is the optimal choice as it ensures clients consistently connect to the same backend server.
Question
When configuring a server load balanced virtual IP, which of the following is the best distribution algorithm to be used in applications where the same physical destination server must be maintained between sessions?
Options
- AStatic
- BRound robin
- CWeighted round robin
- DLeast connected
How the community answered
(28 responses)- A93% (26)
- C4% (1)
- D4% (1)
Why each option
For applications requiring session persistence, the Static distribution algorithm is the optimal choice as it ensures clients consistently connect to the same backend server.
The Static distribution algorithm, often implemented through mechanisms like source IP hashing, ensures that once a client establishes a session with a server, all subsequent requests from that client are consistently routed to the same physical server, which is essential for maintaining application state across sessions.
Round robin distributes traffic sequentially without maintaining session affinity.
Weighted round robin distributes traffic based on server weights in a sequential manner, also without maintaining session affinity.
Least connected directs new connections to the server with the fewest active connections, which does not guarantee session persistence.
Concept tested: Server Load Balancing Session Persistence
Source: https://docs.fortinet.com/document/fortigate/7.4.0/administration-guide/469493/load-balancing-methods
Topics
Community Discussion
No community discussion yet for this question.