nerdexam
F5

303 · Question #226

Given the iRule: when HTTP_REQUEST { if {([HTTP::username] ne "") and ([HTTP::password] ne "") } { log local0. "client ip [IP::remote_addr] credentials provided [HTTP::username] [HTTP::password]"}…

The correct answer is B. Allows clients without credentials to access the old_application_pool and logs the access of. See the full explanation below for the reasoning.

Question

Given the iRule:

when HTTP_REQUEST { if {([HTTP::username] ne "") and ([HTTP::password] ne "") } { log local0. "client ip [IP::remote_addr] credentials provided [HTTP::username] [HTTP::password]"} else { pool old_application_pool } } The associated virtual server has a default pool named new_application_pool. Which functionality does the iRule provide?

Options

  • AAllows clients with credentials to access the old_application_pool and logs the access of clients
  • BAllows clients without credentials to access the old_application_pool and logs the access of
  • CAllows clients with credentials to access the old_application_pool and logs the attempted access
  • DAllows clients without credentials to access the old_application_pool and logs the attempted

How the community answered

(68 responses)
  • A
    6% (4)
  • B
    76% (52)
  • C
    3% (2)
  • D
    15% (10)

Community Discussion

No community discussion yet for this question.

Full 303 Practice