Bird
0
0

If a reverse proxy is configured to load balance between three Node.js servers, what happens when one server becomes unresponsive?

medium📝 component behavior Q5 of 15
Node.js - Cluster Module
If a reverse proxy is configured to load balance between three Node.js servers, what happens when one server becomes unresponsive?
AThe reverse proxy sends requests to all servers regardless of status.
BThe reverse proxy crashes and stops all traffic.
CThe reverse proxy restarts the unresponsive server automatically.
DThe reverse proxy stops sending requests to the unresponsive server.
Step-by-Step Solution
Solution:
  1. Step 1: Understand reverse proxy health checks

    Reverse proxies typically detect unresponsive servers and stop routing requests to them.
  2. Step 2: Eliminate incorrect options

    Reverse proxy does not crash or restart servers; it avoids sending requests to bad servers.
  3. Final Answer:

    The reverse proxy stops sending requests to the unresponsive server. -> Option D
  4. Quick Check:

    Reverse proxy load balancing = C [OK]
Quick Trick: Reverse proxy skips unresponsive servers [OK]
Common Mistakes:
  • Thinking reverse proxy crashes on server failure
  • Assuming reverse proxy restarts servers
  • Believing requests continue to unresponsive servers

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Node.js Quizzes