101 · Question #49
Which three iRule events are likely to be seen in iRules designed to select a pool for load balancing. (Choose 3)
The correct answer is A. CLIENT_DATA C. HTTP_REQUEST E. CLIENT_ACCEPTED. Pool selection in iRules occurs at connection establishment and request parsing stages, before the server is chosen. Events that fire before or during request inspection are the relevant ones for routing decisions.
Question
Which three iRule events are likely to be seen in iRules designed to select a pool for load balancing. (Choose 3)
Options
- ACLIENT_DATA
- BSERVER_DATA
- CHTTP_REQUEST
- DHTTP_RESPONSE
- ECLIENT_ACCEPTED
- FSERVER_SELECTED
- GSERVER_CONNECTED
How the community answered
(32 responses)- A72% (23)
- B3% (1)
- D3% (1)
- F16% (5)
- G6% (2)
Why each option
Pool selection in iRules occurs at connection establishment and request parsing stages, before the server is chosen. Events that fire before or during request inspection are the relevant ones for routing decisions.
CLIENT_DATA fires when raw data arrives from the client, allowing content-based pool selection before full protocol parsing, useful for non-HTTP protocols.
SERVER_DATA fires when data is received from the server, which occurs after a pool member has already been selected and connected.
HTTP_REQUEST fires after the HTTP request line and headers are parsed, giving access to URI, headers, and methods - the most common event for HTTP-based pool selection logic.
HTTP_RESPONSE fires when the server sends a response back to the client, which is well after pool selection has already been made.
CLIENT_ACCEPTED fires immediately when a TCP connection is established to the virtual server, allowing pool selection based on connection metadata like source IP or destination port before any data is exchanged.
SERVER_SELECTED fires after BIG-IP has already chosen a pool member, so it cannot be used to influence the pool selection decision.
SERVER_CONNECTED fires after the TCP connection to the chosen server is established, meaning pool selection has already occurred.
Concept tested: iRule events for pool selection logic
Source: https://clouddocs.f5.com/api/irules/events.html
Topics
Community Discussion
No community discussion yet for this question.