0
0
HLDsystem_design~20 mins

Back-of-the-envelope estimation in HLD - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Back-of-the-envelope Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
estimation
intermediate
2:00remaining
Estimating Daily Requests for a New Social Media App

You are designing a new social media app expected to launch in a city with 5 million people. Estimate the number of daily requests the backend servers should handle on launch day.

Assume 10% of the population will sign up in the first month, and each active user generates 50 requests per day.

A500 million requests per day
B2.5 million requests per day
C5 million requests per day
D25 million requests per day
Attempts:
2 left
💡 Hint

Calculate 10% of 5 million users, then multiply by 50 requests per user.

🧠 Conceptual
intermediate
1:30remaining
Understanding Latency Impact on User Experience

Which of the following best explains why low latency is critical in system design for real-time applications?

ALow latency increases the number of users the system can support simultaneously.
BLow latency reduces the delay between user action and system response, improving user satisfaction.
CLow latency decreases the amount of data stored in the database.
DLow latency ensures the system uses less memory.
Attempts:
2 left
💡 Hint

Think about how users feel when a system responds quickly versus slowly.

scaling
advanced
2:30remaining
Scaling a Video Streaming Service for Peak Traffic

You are designing a video streaming service expecting 10 million peak concurrent viewers. Each viewer streams at 3 Mbps. Estimate the total bandwidth required to support peak traffic.

A300 Gbps
B300 Tbps
C30 Tbps
D3 Tbps
Attempts:
2 left
💡 Hint

Multiply the number of viewers by the streaming rate, then convert to appropriate units.

tradeoff
advanced
2:00remaining
Choosing Between Vertical and Horizontal Scaling

Which statement best describes a tradeoff when choosing horizontal scaling over vertical scaling?

AHorizontal scaling improves fault tolerance but increases system complexity.
BHorizontal scaling reduces system complexity but decreases fault tolerance.
CHorizontal scaling is cheaper but limits maximum capacity compared to vertical scaling.
DHorizontal scaling requires fewer servers than vertical scaling.
Attempts:
2 left
💡 Hint

Consider how adding more machines affects system design and reliability.

component
expert
3:00remaining
Estimating Cache Size for a High-Traffic E-commerce Site

An e-commerce site has 1 million daily active users. Each user views on average 20 product pages per day. Each product page data size is 50 KB. To cache 10% of the most popular product pages, estimate the minimum cache size needed in GB.

A10 GB
B100 GB
C1 TB
D500 GB
Attempts:
2 left
💡 Hint

Calculate total page views, then 10% of that, multiply by page size, and convert to GB.