301b Exam QuestionsBrowse all questions from this exam

301b Exam - Question 60


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?

Show Answer
Correct Answer: B

The monitor is marking all nodes as down because the server's HTTP response indicates that it requires authorization (HTTP/1.1 401 Authorization Required). Adding a valid username and password to the monitor will resolve the problem by allowing the monitor to successfully authenticate with the server.

Discussion

2 comments
Sign in to comment
adrguimOption: B
Aug 14, 2019

The HTTP response error (HTTP / 1.1 401 Authorization Required) indicates that the server needs authentication.

GVKDOption: B
Feb 8, 2024

B - Correct NTLM is used when SEND string contains a message body, such as a POST request and also needs a Username and Password configured. https://my.f5.com/manage/s/article/K2167