Skip to content
codinganthem

System design basics skill check

Check the system design fundamentals: scaling, load balancing, caching, sharding, consistency trade-offs, queues, rate limiting, and reliability.

15

Questions

11 min

Timer can't pause

Multiple choice

One answer out of four

Choose a level

Topics

  • Scalability
  • Load balancing
  • Caching
  • Databases and sharding
  • Consistency
  • Messaging and queues
  • Rate limiting
  • Reliability

Do

Use scratch paper or a notepad to work things out. Skip a question and come back to it later.

Don't

Look up answers during the check. Open the check in more than one tab or window.

Easy · 15 questions · 11 min

By starting, you agree to the Terms and Privacy Policy.

Start practice

Practice checks each answer as you go, with an explanation. The exam is checked when you submit; 9 of 15 passes and earns a certificate.

Checking your levels…

Certificates come from the certified exam: pass with 9 of 15 while signed in. View a sample certificate.

Sample System design basics questions with answers

These are never used in a check, so seeing their answers here won't give anything away.

  1. Question 1 · Easy · Caching

    In a cache-aside (lazy loading) pattern, what does the application do when a requested piece of data is missing from the cache (a cache miss)?
    1. A.It triggers a database trigger to asynchronously populate the cache while returning stale data.
    2. B.It rejects the request and relies on a background cron job to warm the cache.
    3. C.It reads the data from the database, writes that data to the cache, and returns it to the client.
    4. D.It writes an empty record into the cache and returns an error response to the client.
    Show answer

    C. It reads the data from the database, writes that data to the cache, and returns it to the client.

    With cache-aside, the application code first inspects the cache. On a miss, it queries the primary data store directly, writes the retrieved value into the cache for future requests, and returns the result to the caller.
  2. Question 2 · Easy · Databases and sharding

    A growing web platform partitions its users table across multiple separate database instances by computing hash(user_id) % number_of_shards. What is the primary purpose of this database sharding strategy?
    1. A.To eliminate the need for primary keys and secondary indexes on the user tables
    2. B.To guarantee strict ACID transactions across all users without distributed locking
    3. C.To automatically back up data across geographic regions for disaster recovery
    4. D.To horizontally distribute write and storage loads across multiple physical databases
    Show answer

    D. To horizontally distribute write and storage loads across multiple physical databases

    Sharding breaks a large dataset into smaller subsets across multiple database machines so that no single server must handle all storage and write traffic, enabling horizontal database scalability.
  3. Question 3 · Moderate · Load balancing

    A distributed caching cluster uses consistent hashing to assign cache keys across 8 nodes. When one node fails and is removed from the ring, which behavior accurately describes what happens to the keys?
    1. A.Keys are evenly split between the two immediate neighbors of the failed node in equal 50/50 proportions
    2. B.All keys in the cluster must be rehashed across the remaining 7 nodes
    3. C.Only the keys that were mapped to the failed node need to be remapped to adjacent nodes on the ring
    4. D.Half of the keys in the cluster are invalidated and redistributed, while the other half stay pinned
    Show answer

    C. Only the keys that were mapped to the failed node need to be remapped to adjacent nodes on the ring

    With consistent hashing, the removal of a node only affects keys that fell in that node's segment of the hash ring; those keys fall to the next available successor node, while all other keys retain their mapping.
  4. Question 4 · Advanced · Rate limiting

    Consider a distributed rate limiter implemented with Redis and the standard sliding window log algorithm. What is the primary operational trade-off of sliding window log compared to sliding window counter?
    1. A.Susceptibility to boundary double-spend attacks where twice the permitted rate is allowed across window boundaries
    2. B.Mandatory requirement for distributed two-phase commit transactions across Redis cluster shards
    3. C.Significantly higher memory consumption because every individual request timestamp must be stored in the sorted set
    4. D.Inability to handle bursty traffic without artificially throttling requests below the threshold
    Show answer

    C. Significantly higher memory consumption because every individual request timestamp must be stored in the sorted set

    The sliding window log retains every request timestamp (typically in a sorted set) to maintain exact accuracy, which consumes large amounts of memory under high throughput compared to counters.

How scoring and certificates work

  • Each check has 15 multiple-choice questions with one correct answer, and one timer for the whole check. A question you leave unanswered scores nothing.
  • Practice is free without an account and shows whether each answer is right as you go, with an explanation.
  • The certified exam is scored when you submit. 60% passes, which is 9 of 15. Easy unlocks Moderate, and Moderate unlocks Advanced.
  • Passing the exam while signed in earns a free certificate, valid for one year, with its own verification page. See a sample certificate.

Free tools for System design basics: HTTP Status Codes, CIDR Calculator