All jobs / Backend developer / Architecture
Backend developer interview question · 0–1 years
What does a load balancer do, and what does it not do?
The strongest answer
It spreads incoming requests across several identical servers and stops sending to ones that fail health checks; it does not make one slow server faster or fix a database bottleneck behind them
Why it works
Right. Distribution and failover, nothing more.
What a good answer covers
- Distributes requests across servers.
- Removes unhealthy servers.
- Not a cache, not capacity.
- Bottlenecks behind it remain.
Answers that fall short
- Close, but not the strongest: It makes the system faster by adding capacity
Capacity comes from the servers; the balancer only spreads. - Weak: It caches responses so servers do less work
That is a cache or a CDN, not a balancer. - Red flag: It stores the session so users stay logged in
Sessions live in a store; the balancer just routes.
Who gets asked this
- Backend developer
- Full-stack developer
- DevOps / SRE / cloud
- Data engineer
- Data science / ML / AI
- Engineering manager / tech lead
- Solutions / cloud architect
- AI engineer
More Architecture questions
- What is the difference between scaling up and scaling out?
- Why do interviewers keep asking whether a service is stateless?
- When does adding a cache help, and when does it not?
- In a design, why do you say which columns are indexed?
- What is a read replica for?
- Why would you put a queue between two parts of a system?
- What is the difference between latency and throughput?
- An interviewer asks for p99 latency. What does that mean and why ask for it?