System Design · Junior · Question 20 of 75
How does vertical scaling differ from horizontal scaling?
- ✓Correct answer: Vertical - a more powerful server, horizontal - more servers
- 2Vertical - more servers, horizontal - a more powerful server
- 3Vertical concerns the database, horizontal only the frontend
Explanation
Vertical scaling (more CPU/RAM) is simple but has a ceiling and a single point of failure. Horizontal scaling needs a load balancer and stateless servers, but it's nearly unlimited and improves fault tolerance.