
Answer-first summary for fast verification
Answer: Set request-path to a specific URL used for health checking, and set host to include a custom host header that identifies the health check.
To verify backend instances for an HTTP(S) load balancer, the health check must target a specific URL (request-path). If the backend requires a specific Host header (e.g., for virtual hosting), the health check must include it. Option B correctly sets both the request-path and the custom Host header, ensuring the backend responds properly. Options A and C involve proxy-header and response parameters, which are not universally required. Option D omits the request-path, which is essential. Thus, B is the correct answer.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
To ensure your backend instances are responding correctly for an HTTP(S) load-balanced service, how should you configure the health check?
A
Set request-path to a specific URL used for health checking, and set proxy-header to PROXY_V1.
B
Set request-path to a specific URL used for health checking, and set host to include a custom host header that identifies the health check.
C
Set request-path to a specific URL used for health checking, and set response to a string that the backend service will always return in the response body.
D
Set proxy-header to the default value, and set host to include a custom host header that identifies the health check.