Bird
Raised Fist0
HLDsystem_design~20 mins

Why social media tests multiple design skills in HLD - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Social Media Design Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why does social media require multiple design skills?

Social media platforms involve many features like user profiles, feeds, messaging, and notifications. Which reason best explains why designing social media tests multiple system design skills?

ABecause social media platforms focus only on visual design and ignore backend architecture.
BBecause social media only needs simple database queries and static pages, so design skills are minimal.
CBecause social media systems combine data storage, real-time updates, scalability, and user interaction, requiring diverse design approaches.
DBecause social media systems are small and do not require handling many users or data.
Attempts:
2 left
💡 Hint

Think about the different parts a social media app must handle simultaneously.

Architecture
intermediate
2:00remaining
Which component is essential for real-time updates in social media?

Social media platforms show live notifications and message updates. Which architectural component is most critical to support this real-time behavior?

AA batch job that updates notifications once a day.
BA message queue or pub/sub system to push updates instantly to users.
CA static HTML page refreshed manually by users.
DA relational database without caching or messaging.
Attempts:
2 left
💡 Hint

Real-time means updates happen immediately without user refresh.

scaling
advanced
2:00remaining
How to handle millions of users posting simultaneously?

Social media platforms must support millions of users posting content at the same time. Which scaling strategy best supports this?

AUse a single powerful server to handle all requests.
BStore all posts in a local file system without replication.
CLimit the number of users allowed to post at once to reduce load.
DUse horizontal scaling with load balancers and distributed databases to spread the load.
Attempts:
2 left
💡 Hint

Think about spreading work across many machines instead of relying on one.

tradeoff
advanced
2:00remaining
Tradeoff between consistency and availability in social media feeds

Social media feeds must show recent posts quickly but sometimes may show slightly outdated data. What tradeoff explains this design choice?

AChoosing eventual consistency over strict consistency to improve availability and speed.
BChoosing strict consistency and sacrificing availability completely.
CIgnoring consistency and showing random data to users.
DAlways blocking users until all data is perfectly synced.
Attempts:
2 left
💡 Hint

Think about how systems balance showing data fast versus perfectly up-to-date.

estimation
expert
3:00remaining
Estimate storage needed for 1 billion social media posts

Assume each social media post averages 2 MB in size. Estimate the total storage needed to store 1 billion posts, including 20% overhead for indexing and metadata.

AApproximately 2.4 petabytes (PB)
BApproximately 20 petabytes (PB)
CApproximately 200 terabytes (TB)
DApproximately 24 terabytes (TB)
Attempts:
2 left
💡 Hint

Calculate base size then add 20% overhead.