MugUp logoMugUp
HomeBrowseAboutBlog
LoginSign Up
MugUp

Plan your day, study, read, write and track your habits in one app.

Follow MugUp

Product

  • Features
  • Compare
  • Free Tools
  • Deck Library
  • MugUp for Discord

Community

  • Blog
  • Changelog
  • Feature Requests
  • Deck Requests

Company

  • Home
  • About
  • Contact

© 2026 MugUp. All rights reserved.

Terms of ServicePrivacy PolicyCookie Policy
  1. Browse decks
  2. Coding Interview Prep
  3. System Design Fundamentals
Public deck

Coding Interview Prep

Data structures, algorithms, system design, and behavioral prep.

Career
AShared by Alex Chen
1Sign in to add this deckTry itSign in to clone

Add it to your projects to study it here with your progress saved. Try it plays a round and saves nothing. Clone makes your own copy that you can change.

You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.

See the whole deck

System Design Fundamentals

Scaling, caching, load balancing, and the CAP theorem.

Try this topicBack to deck

Content

34 total questions

MCQ: 10
Fill-in: 8
Flashcards: 6
Pair match: 10
System Design Fundamentals – Flashcards
Flashcards

Card #1

What does a load balancer do?

Card #2

What is horizontal scaling?

Card #3

What is a CDN?

3 more questions in this game

Showing 3 of 6. Sign up free to see the rest.

Sign up freeLog in
System Design Fundamentals – Fill-in-the-blank
Fill in the Blank
  1. 1. With N replicas, reading R of them is sure to see the latest write to W of them when R + W is greater than ___.

    Answer:Nalso: n

    Hint: The total number of replicas

  2. 2. A component whose failure takes the whole system down is a single point of ___.

    Answer:failure

    Hint: SPOF

  3. 3. When one shard key, such as a celebrity's account, gets far more traffic than the rest, you have a ___ partition.

    Answer:hotalso: hot spot, hotspot

    Hint: The opposite of cold

5 more questions in this game

Showing 3 of 8. Sign up free to see the rest.

Sign up freeLog in
System Design Fundamentals – MCQ
Multiple Choice Questions
  1. 1. In the cache-aside pattern, what happens on a cache miss?

    • The app reads the database, then writes the result into the cache
    • The cache fetches from the database by itself, unseen by the app
    • The request fails, and the client must retry after a short delay
    • The app writes a placeholder, and a background job fills it in
  2. 2. What is the main risk of a write-back (write-behind) cache?

    • Every write waits for the database, so writes are slow
    • Writes not yet flushed are lost if the cache node fails
    • Reads always miss, because writes skip the cache entirely
    • The cache grows without limit, since it never evicts
  3. 3. With consistent hashing over n servers, roughly what share of the keys move when you add one server?

    • Nearly all of them
    • About half of them
    • About 1/n of them
    • None of them at all
7 more questions in this game

Showing 3 of 10. Sign up free to see the rest.

Sign up freeLog in
System Design Fundamentals – Pair match
Pair Match
PACELC↔Without a partition, trade latency against consistency
Strong consistency↔Every read sees the latest completed write
Eventual consistency↔Replicas agree once new writes stop arriving
7 more questions in this game

Showing 3 of 10. Sign up free to see the rest.

Sign up freeLog in