301b Exam QuestionsBrowse all questions from this exam

301b 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

}

}

Show Answer
Correct Answer: BC

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

1 comment
Sign in to comment
GVKDOption: B
Feb 9, 2024

B - Correct