Load Balancing and Traffic Management Questions

Distributing requests across capacity: load-balancing algorithms (round-robin, least-connections, consistent hashing), L4 versus L7 balancing, health checks, and traffic shaping. Covers sticky sessions, canary and blue-green routing, rate limiting, and graceful draining. The traffic-distribution layer that keeps a scaled system balanced and available.

EasyTechnical
39 practiced

Why are load balancers used in distributed systems? Describe at least four distinct problems they solve, and how they contribute to horizontal scaling, availability, and fault isolation. Where would you typically place load balancers in a three-tier architecture (edge, internal service, service-to-service)?

EasyTechnical
50 practiced

Explain the difference between readiness and liveness health checks (and startup checks, where supported). Design the checks for a database-backed web service (for example, covering DB connectivity and queue backlog), and explain how a misconfigured probe can cause cascading restarts or route traffic into a blackhole.

MediumTechnical
37 practiced

A downstream service starts returning intermittent errors, and your clients retry aggressively, overloading other components as a result. What is your immediate mitigation plan to stop the cascade, and what architecture changes would you make afterward to prevent it recurring?

HardTechnical
77 practiced

You observe rising p99 latency on your load balancer while backends show stable p95 latency and healthy CPU. Walk through a troubleshooting checklist covering the network, the LB proxies themselves, TLS handshakes, accept/queue backlogs, kernel limits, and client behavior. What instrumentation would you add to pinpoint the root cause?

HardSystem Design
43 practiced

Design a header-based routing framework at the edge load balancer that supports rules like 'route requests with header X-Canary=true to the canary pool' and 'route requests with a given X-Tenant-ID to a tenant-specific pool.' Cover rule storage and distribution, evaluation performance at the load balancer, conflict resolution between rules, and safe fallback behavior.

Unlock Full Question Bank

Get access to all Load Balancing and Traffic Management interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.