What combination of conditions should the endpoint meet to pass the Route 53 health check?
(Choose two.)
The endpoint must establish a TCP connection within 10 seconds.
The endpoint must return an HTTP 200 status code.
The endpoint must return an HTTP 2xx or 3xx status code.
The specific text string must appear within the first 5,120 bytes of the response.
The endpoint must respond to the request within the number of seconds specified when creating the health check.
Explanations:
TCP connection is not required for a health check that checks for specific text. Route 53 checks HTTP/HTTPS responses, not just the ability to establish a TCP connection.
The HTTP 200 status code is too restrictive for a health check that involves specific text. The health check can pass with a broader range of 2xx or 3xx status codes.
The HTTP 2xx or 3xx status codes indicate a successful response, which is necessary for the health check to pass.
The specific text must be within the first 5,120 bytes of the response for the health check to match the expected criteria.
The endpoint must respond within the specified number of seconds in the health check configuration, but this is not a condition specific to checking the text string.