Bird
0
0

Given a TCP health check configured on port 8080, what happens if the instance does not respond within the timeout period?

medium📝 service behavior Q4 of 15
GCP - Cloud Load Balancing

Given a TCP health check configured on port 8080, what happens if the instance does not respond within the timeout period?

AThe instance is marked healthy regardless
BThe instance is marked unhealthy and traffic is stopped
CThe health check retries indefinitely without marking unhealthy
DThe load balancer shuts down
Step-by-Step Solution
Solution:
  1. Step 1: Understand TCP health check behavior

    If the instance does not respond within the timeout, it fails the health check.
  2. Step 2: Consequence of failure

    Failing health checks mark the instance unhealthy and stop sending traffic to it.
  3. Final Answer:

    The instance is marked unhealthy and traffic is stopped -> Option B
  4. Quick Check:

    Timeout failure = instance unhealthy [OK]
Quick Trick: No response within timeout marks instance unhealthy [OK]
Common Mistakes:
  • Assuming instance stays healthy despite no response
  • Thinking health checks retry forever without marking unhealthy

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes