(ISC)2
301B · Question #191
An IT administrator wants to log which server is being load balanced to by a user with IP address 10.10.10.25. Which iRule should the LTM Specialist use to fulfill the request?
The correct answer is C. when SERVER_CONNECTED { if {[IP::addr [clientside IP::remote_addr] equals 10.10.10.25]} { log local0. "client 10.10.10.25 connected to pool member [IP::addr [LB::server addr]]" } }. See the full explanation below for the reasoning.
Question
An IT administrator wants to log which server is being load balanced to by a user with IP address 10.10.10.25. Which iRule should the LTM Specialist use to fulfill the request?
Options
- Awhen SERVER_CONNECTED { if {[IP::addr [IP::remote_addr] equals 10.10.10.25]} { log local0. "client 10.10.10.25 connected to pool member [IP::addr [LB::server addr]]" } }
- Bwhen CLIENT_ACCEPTED { if {[IP::addr [clientide IP::remote_addr] equals 10.10.10.25]} { log local0. "client 10.10.10.25 connected to pool member [IP::addr [LB::server addr]]" } }
- Cwhen SERVER_CONNECTED { if {[IP::addr [clientside IP::remote_addr] equals 10.10.10.25]} { log local0. "client 10.10.10.25 connected to pool member [IP::addr [LB::server addr]]" } }
- Dwhen CLIENT_ACCEPTED { if {[IP::addr [IP::remote_addr] equals 10.10.10.25]} { log local0. "client 10.10.10.25 connected to pool member [IP::addr [LB::server addr]]" } }
How the community answered
(46 responses)- A13% (6)
- B4% (2)
- C76% (35)
- D7% (3)
Community Discussion
No community discussion yet for this question.