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
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
48 practiced

Describe how you would coordinate load balancer connection draining with autoscaling group scale-in so instances finish in-flight work before termination. Cover cooldowns, warm-up periods, and how the load balancer's health-check readiness state should gate when a new instance starts receiving traffic.

EasyTechnical
36 practiced

You manage a pool of stateless web servers behind a single load balancer that sees bursty traffic and heterogeneous server capacity. Compare round robin, least connections, and weighted load balancing for this situation: how does each pick a server, and which would you choose?

HardSystem Design
46 practiced

Design a high-throughput traffic mirroring pipeline that copies a sample of production requests to a staging cluster without adding latency to the production path. Cover asynchronous delivery, sampling strategy, masking of sensitive data, and how you would prevent a mirrored write from causing a real side effect in the staging system.

MediumSystem Design
38 practiced

Design a monitoring and alerting setup for a load balancer tier so you catch unhealthy backends before users see errors. Which metrics would you include and why, what alert thresholds would you propose, and how would you differentiate severity to avoid alert fatigue?

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.