nerdexam
(ISC)2

301B · Question #54

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]…

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

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 without credentials to the new_application_pool.
  • BAllows clients without credentials to access the old_application_pool and logs the access of clients with credentials to the new_application_pool.
  • CAllows clients with credentials to access the old_application_pool and logs the attempted access of clients with credentials to the new_application_pool.
  • DAllows clients without credentials to access the old_application_pool and logs the attempted access of clients without credentials to the new_application_pool.

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