F5 BIG-IP LTM Specialist: Maintain and Troubleshoot — Question 4
An LTM Specialist configures an HTTP monitor as follows:
ltm monitor http stats_http_monitor {
defaults-from http
destination *:*
interval 5
recv "Health check: OK"
send "GET /stats/stats.html HTTP/1.1\\r\\nHost: www.example.com\\r\\nAccept-EncodinG. gzip, deflate\\r\\nConnection: close\\r\\n\\r\\n" time-until-up 0 timeout 16
}
The monitor is marking all nodes as down. A trace of the HTTP conversation shows the following:
GET /stats/stats.html HTTP/1.1 -
Host: www.example.com -
Accept-EncodinG. gzip, deflate -
Connection: close -
HTTP/1.1 401 Authorization Required
DatE. Tue, 23 Oct 2012 19:38:56 GMT
Server: Apache/2.2.15 (Unix)
WWW-AuthenticatE. Basic realm="Please enter your credentials"
Content-LengtH. 480 -
Connection: close -
Content-TypE. text/html; charset=iso-8859-1
Which action will resolve the problem?
Answer options
- A. Add an NTLM profile to the virtual server.
- B. Add a valid username and password to the monitor.
- C. Use an HTTPS monitor with a valid certificate instead.
- D. Add a backslash before the colon in the receive string.
Correct answer: B
Explanation
The correct answer is B because the 401 response indicates that authentication is required, meaning a valid username and password must be provided in the monitor configuration. Option A is incorrect as NTLM profiles are not relevant to HTTP monitors. Option C is not applicable since the monitor is already set for HTTP, and switching to HTTPS does not address the authentication issue. Option D is irrelevant, as modifying the receive string will not resolve the authorization requirement.