Question 7 of 10Pro Only

What is the role of a load balancer in system design? Describe different load balancing algorithms and when you would use each one.

Sample answer preview

## What is a Load Balancer? A load balancer distributes incoming network traffic across multiple servers to ensure no single server becomes overwhelmed. It sits between clients and backend servers, acting as a traffic cop.

load balancerround robinleast connectionshealth checksLayer 4Layer 7

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Full-Stack Developer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime