Lesson 13 of 16
6. Vertical vs Horizontal Scaling

Interview questions

6 min read+10 XP

Interview questions (with the counter-questions you'll get)

Q1. What's the difference between vertical and horizontal scaling?

They're testing: clear definitions and trade-offs.

Think about your answer first, then open it.

reveal

Q2. Why do stateless servers matter for scaling?

They're testing: the link between state and scaling out.

Think about your answer first, then open it.

reveal

Q3. How would you prepare for a traffic spike you know is coming, like a big sale?

They're testing: practical capacity planning.

Think about your answer first, then open it.

reveal

Q4. How does autoscaling work, and what can go wrong?

They're testing: depth beyond the buzzword.

Think about your answer first, then open it.

reveal

Q5. How do you scale a database?

They're testing: knowing the order of options.

Think about your answer first, then open it.

reveal

Q6. Why doesn't adding servers always make a system faster?

They're testing: bottleneck and Amdahl thinking.

Think about your answer first, then open it.

reveal

Q7. What's the difference between performance and scalability?

They're testing: vocabulary precision.

Think about your answer first, then open it.

reveal

Q8. How would you scale a service that has to be stateful, like WebSocket chat servers?

They're testing: handling real-world state.

Think about your answer first, then open it.

reveal

Q9. How would you keep scaling costs under control?

They're testing: business awareness.

Think about your answer first, then open it.

reveal

Q10. What's the first thing you'd scale if your site suddenly gets 10 times the traffic?

They're testing: structured thinking under pressure.

Think about your answer first, then open it.

reveal