F5 BIG-IP LTM Specialist: Maintain and Troubleshoot (301b) Exam Materials - Question #156 Discussion

Comment Image Comment Image Comment Image

An LTM Specialist applies the iRule shown to a Virtual Server. when HTTP_RESPONSE { HTTP::header remove Server foreach header_name [HTTP::header names] { if {{string match -nocase x~* header_name}}{ HTTP::header remove header_name #log local0. "status: [HTTP::header names]" } } } What is the result? (Choose one answer)

  • A. The Server Header is removed, all headers starting with x- are removed, and the headers in the data group "header_name" are logged to /var/log/ltm.
  • B. The Server Header is removed, all headers starting with x- only are capitalized but are NOT removed, and none of the headers are logged to /var/log/ltm.
  • C. The Server Header is removed, all headers starting with x- regardless of capitalization are removed, and all headers are logged to /var/log/ltm.
  • D. The Server Header is removed, all headers starting with x- regardless of capitalization are removed, and no HTTP headers are logged to /var/log/ltm.
Correct Answer: C

Brave-Dump Community Votes

Answer: D (1 vote) 100%

Community Explanations & Comments (1)

Anonymous User 3 hours ago
Selected: D
#log local0. "status: [HTTP::header names]"
The # at the beginning makes this a comment, so nothing is logged.