InterviewStack.io LogoInterviewStack.io

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.

HardSystem Design
38 practiced

Compare the architectural implications of an external load balancer versus a sidecar-based service mesh (for example Envoy) for intra-cluster traffic. For a large microservices environment, discuss trade-offs in routing flexibility, observability, latency overhead, and operational complexity, and how traffic distribution patterns change when you introduce a mesh.

HardTechnical
41 practiced

Your L7 proxy tier (for example Envoy) is CPU-saturated under load. Walk through the failure modes you'd expect to see and how you'd confirm them, and lay out your mitigation plan to bring the tier back to healthy.

HardSystem Design
47 practiced

Design a global load balancing and failover system for a service receiving 1,000,000 requests per second across three regions, targeting 99.99% availability, low-latency geo-proximity routing, and fast regional failover, with session affinity needed for a subset of requests. Compare DNS-based, Anycast, and GSLB routing, and explain how you would propagate health state and avoid a traffic storm when a region fails over.

MediumSystem Design
38 practiced

Design a multi-region failover strategy using DNS-based routing for a web service with three active regions and a target RTO of 5 minutes; eventual consistency is acceptable. Cover health checks, DNS configuration and cache TTLs, and what you'd do differently for failback once the failed region recovers. What are the fundamental limitations of DNS-based failover, and how would active-active versus active-passive change your answer?

MediumTechnical
36 practiced

How does weighted round robin differ from applying weights to least-connections? Sketch how you would distribute requests proportional to backend weight under each approach, and describe when you would adjust weights dynamically, for example during autoscaling or when an instance is degraded.

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.