0
0
HLDsystem_design~20 mins

Vertical scaling vs horizontal scaling in HLD - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Scaling Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding vertical scaling benefits
Which of the following is a primary benefit of vertical scaling in system design?
AIt automatically replicates data across different geographic regions.
BIt distributes load across multiple machines to increase fault tolerance.
CIt allows adding more powerful resources to a single machine to improve performance.
DIt reduces the need for load balancers by using multiple servers.
Attempts:
2 left
💡 Hint
Think about what happens when you upgrade a single server's CPU or RAM.
Architecture
intermediate
2:00remaining
Choosing horizontal scaling for fault tolerance
In which scenario is horizontal scaling more advantageous than vertical scaling?
AWhen you want to increase system availability by adding multiple servers.
BWhen upgrading a single server's CPU is cheaper than buying new servers.
CWhen the system has low traffic and minimal load.
DWhen the application requires a single powerful database instance.
Attempts:
2 left
💡 Hint
Consider how spreading load across machines affects uptime.
scaling
advanced
2:00remaining
Scaling tradeoffs in database systems
What is a common tradeoff when choosing horizontal scaling over vertical scaling for a database system?
AHorizontal scaling can increase complexity due to data consistency challenges.
BVertical scaling makes it easier to distribute data across regions.
CVertical scaling requires more network bandwidth than horizontal scaling.
DHorizontal scaling always reduces latency compared to vertical scaling.
Attempts:
2 left
💡 Hint
Think about how data is managed across multiple machines.
estimation
advanced
2:00remaining
Estimating capacity with horizontal scaling
If a single server can handle 1000 requests per second, how many servers are needed to handle 10,000 requests per second using horizontal scaling?
A100 servers to ensure redundancy
B1 server upgraded 10 times
C5 servers with double capacity each
D10 servers
Attempts:
2 left
💡 Hint
Divide total requests by capacity per server.
tradeoff
expert
3:00remaining
Choosing scaling strategy for a global web application
For a global web application requiring low latency worldwide and high availability, which scaling approach is best?
AVertical scaling by upgrading a central server to the highest capacity.
BHorizontal scaling with distributed servers across regions and load balancing.
CVertical scaling combined with a single regional data center.
DNo scaling, relying on caching only.
Attempts:
2 left
💡 Hint
Consider geographic distribution and fault tolerance.