nerdexam
F5

303 · Question #192

A virtual server for a set of web services is constructed on an LTM device. The LTM Specialist has created an iRule and applied this iRule to the virtual server: when HTTP_REQUEST { switch…

The correct answer is A. The condition in the iRule is case sensitive. See the full explanation below for the reasoning.

Question

A virtual server for a set of web services is constructed on an LTM device. The LTM Specialist has created an iRule and applied this iRule to the virtual server:

when HTTP_REQUEST { switch [HTTP::uri] { "/WS1/ws.jsp" { log local0. "[HTTP::uri]-Redirected to JSP Pool" pool JSP } default { log local0. "[HTTP::uri]-Redirected to Non-JSP Pool" pool NonJSP } } } However, the iRule is NOT behaving as expected. Below is a snapshot of the log:

/WS1/ws.jsp-Redirected to JSP Pool /WS1/ws.jsp-Redirected to JSP Pool /WS1/ws.jsp-Redirected to JSP Pool /WS1/WS.jsp-Redirected to Non-JSP Pool /ws1/WS.jsp-Redirected to Non-JSP Pool /WS1/ws.jsp-Redirected to JSP Pool /ws1/ws.jsp-Redirected to Non-JSP Pool What is the problem?

Options

  • AThe condition in the iRule is case sensitive.
  • BThe 'switch' command in the iRule has been used incorrectly.
  • CThe pool members of both pools need to be set up as case-insensitive members.
  • DThe "Process Case-Insensitivity" option for the virtual server needs to be selected.

How the community answered

(40 responses)
  • A
    73% (29)
  • B
    8% (3)
  • C
    15% (6)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 303 Practice