301B practice question 20 of 30
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?
Full set: 210 questionsIf both HTTP::username and HTTP::password are present the rule only logs the event; with no pool statement executed, traffic continues to the virtual server’s default pool (newapplicationpool). When either credential field is empty, the else clause explicitly directs the request to oldapplicationpool. Thus unauthenticated clients are routed to oldapplicationpool, while authenticated clients are merely logged and proceed to newapplicationpool.
A. Authenticated clients are not sent to oldapplicationpool.
C. Authenticated traffic is not steered to oldapplicationpool at all.
D. Logging occurs for authenticated, not unauthenticated, clients.
1) F5 Networks, “HTTP::username / HTTP::password – iRules commands,” BIG-IP TMOS v14.1, clouddocs.f5.com/api/irules/HTTPusername.html.
2) F5 Networks, “pool – iRules command,” BIG-IP TMOS v15.1, clouddocs.f5.com/api/irules/pool.html.
3) F5 Networks, Local Traffic Manager: Concepts v15.1, “Default Pools,” Ch.3, p.56.
Keep practicing
Take the free 301B practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 301B practice questions
- Question 3An LTM Specialist connects to an LTM device via the serial console cable and receives unr…
- Question 5An LTM Specialist realizes that a datacenter engineer has changed the console baud rate. …
- Question 7An LTM device pair is configured for failover and connection mirroring. The LTM devices a…
- Question 13An LTM Specialist has just manually failed the active LTM device over to the standby LTM …
- Question 17-- Exhibit – -- Exhibit -- Refer to the exhibit. An LTM Specialist has created a virtual …
- Question 19Which command should an LTM Specialist use on the command line interface to show the heal…
