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

Explain TLS termination patterns at the load balancer: edge termination (decrypt at the edge), passthrough (forward TLS to the backend), and re-encryption (terminate and re-establish TLS to the backend). For each, describe certificate management and rotation, the security trade-offs, and the performance implications. How would you rotate certificates across a fleet of edge load balancers with zero downtime?

HardTechnical
37 practiced

You're the on-call SRE lead when the global load balancer's TLS certificate unexpectedly expires, causing global 503 errors. Walk through your immediate triage steps, the short-term mitigation to restore traffic, how you'd communicate with stakeholders and customers, and the long-term remediation and process changes you'd propose.

EasyTechnical
51 practiced

Compare the common load balancing algorithms: round robin, weighted round robin, least connections, and consistent hashing. For each, explain how it behaves under variable request latencies, long-lived connections such as WebSockets, and heterogeneous backend capacity, and give one production use case and one drawback. When would health checks and session affinity change which algorithm you pick?

MediumTechnical
47 practiced

A client asks you to choose between a managed cloud load balancer (like AWS ALB/NLB), an open-source proxy (NGINX/HAProxy), and an Envoy-based service mesh. Build a selection rubric covering scalability, supported protocols and features, management overhead, and cost, and recommend an approach for a 200-service enterprise.

MediumTechnical
43 practiced

What observability signals (metrics, logs, traces) would justify automatically removing an instance from load balancer rotation before users see errors? For each signal, describe roughly what threshold or pattern would trigger removal and one way that signal could produce a false positive.

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.