Exam 301b All QuestionsBrowse all questions from this exam
Question 73

What does the following iRule do?

when CLIENT_ACCEPTED {

if { [matchclass [IP::client_addr] equals WebClient1-Whitelist1] }{

#log local0. "Valid client IP: [IP::client_addr] - forwarding traffic"

#Pool WebClient1

} else {

log local0. "Invalid client IP: [IP::client_addr] - discarding" discard

}

}

    Correct Answer: C

    The iRule compares the client IP address to a predefined whitelist (WebClient1-Whitelist1). If the client IP address is found in the list, the traffic is forwarded to Pool WebClient1. If the client IP address is not found in the list, the traffic is discarded and a log entry is created indicating that the IP address is invalid and the connection has been discarded.

Discussion
GVKDOption: B

B - Correct