exam questions

Exam 301b All Questions

View all questions & answers for the 301b exam

Exam 301b topic 1 question 29 discussion

Actual exam question from F5's 301b
Question #: 29
Topic #: 1
[All 301b Questions]

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?

  • A. when 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]]" } }
  • B. when CLIENT_ACCEPTED { 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]]" } }
  • 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]]" } }
  • D. when 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]]" }
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Turd
4 months, 2 weeks ago
C is the closest but there are two issues: 1. IP::remote_addr should be enclosed with braces, not brackets. 2. The log entry should only reference [LB::server addr]. IP::addr should only be used when making comparisons.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago