🔥 0
0
Lesson 10 of 10 20 min +225 XP

🧠 HLD Assessment

Answer all questions to complete the quiz and earn 225 XP.

1

A startup is building a social media app. During peak hours, their single server reaches 95% CPU. What should they do FIRST?

2

You're designing a payment system. A network timeout occurs after sending the charge request but before receiving the response. What happens if the client retries without an idempotency key?

3

Your e-commerce site's product catalog has 10 million items. Searches take 5+ seconds. What would give the fastest improvement?

4

A distributed cache cluster has 5 nodes. You add a 6th node. With naive modulo hashing (key % 6), roughly how many keys need to move?

5

Your API receives 10,000 requests per second. You implement rate limiting at 100 requests per second per user. A DDoS attack from 1 million unique IPs hits your service. What happens?

6

Netflix needs to store viewing history for 200 million users. Each user has ~500 watch records. Which database type is most appropriate?

7

Your team is debating between gRPC and REST for internal microservice communication. What's gRPC's main advantage?

8

A food delivery app needs sub-second updates for driver locations. Which architecture pattern is best?

9

You're designing Twitter's home timeline. A user follows 500 accounts that collectively post 10,000 tweets per day. How should you generate the timeline?

10

Your system must never lose a financial transaction, even if multiple servers fail simultaneously. Which guarantee do you need?

11

A global application needs users in Tokyo to have <100ms latency. Your servers are in Virginia. What's the minimum latency possible without any optimization?

12

Your database is the bottleneck. Reads are 10x more frequent than writes. What's the quickest win?

13

During Black Friday, your checkout service crashes. The rest of the site is fine. What pattern should you have implemented?

14

You need to process 1 million images uploaded daily. Each takes 30 seconds to process. How many workers do you need?

15

Final question: You're designing a system from scratch. What's the CORRECT order of steps?