nerdexam
(ISC)2

301B · Question #192

A customer needs to intercept all of the redirects its application is sending to clients. When a redirect is matched, the customer needs to log a message including the client IP address. Which iRule…

Sign in or unlock 301B to reveal the answer and full explanation for question #192. The question stem and answer options stay visible for context.

Question

A customer needs to intercept all of the redirects its application is sending to clients. When a redirect is matched, the customer needs to log a message including the client IP address. Which iRule should be used?

Options

  • Awhen HTTP_RESPONSE { if {[HTTP::is_3xx]} { log local0. "redirecting client ip address [IP::addr [IP::remote_addr]]" } }
  • Bwhen HTTP_REQUEST { if {[HTTP::is_301]} { log local0. "redirecting client ip address [IP::addr [IP::remote_addr]]" } }
  • Cwhen HTTP_REQUEST { if {[HTTP::is_redirect]} { log local0. "redirecting client ip address [IP::addr [IP::remote_addr]]" } }
  • Dwhen HTTP_RESPONSE { if {[HTTP::is_redirect]} { log local0. "redirecting client ip address [IP::addr [IP::remote_addr]]" } }

Unlock 301B to see the answer

You've previewed enough free 301B questions. Unlock 301B for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 301B Practice