The Complete System Design Interview Guide 2026 Quiz

Sharpen your distributed systems knowledge with key system design scenarios, testing your grasp on scaling, consistency, load balancing, and architectural decisions.

  1. Horizontal vs. Vertical Scaling

    Which statement best describes the difference between horizontal and vertical scaling in distributed systems?

    1. Horizontal scaling is only possible with cloud providers; vertical scaling is used only on-premises.
    2. Horizontal scaling reduces latency, vertical scaling increases consistency.
    3. Horizontal scaling means adding more machines; vertical scaling means increasing resources of a single machine.
    4. Horizontal scaling refers to software updates; vertical scaling refers to hardware upgrades.

    Explanation: Horizontal scaling adds more machines to the system, distributing the load, whereas vertical scaling enhances the resources of a single machine. The second option is incorrect because both scaling types can occur on-premises or in the cloud. The third confuses scaling with maintenance; scaling refers to system capacity, not software updates. The fourth misrepresents their impact; scaling does not inherently address latency or consistency in that manner.

  2. Load Balancer Importance

    What is the primary role of a load balancer in a distributed web application?

    1. Encrypting user data at rest.
    2. Synchronizing databases in real time.
    3. Caching frequently accessed data on the client side.
    4. Distributing incoming traffic evenly across multiple servers.

    Explanation: A load balancer manages the distribution of incoming requests to multiple servers, improving reliability and performance. Encrypting data at rest is a security function, not performed by load balancers. Synchronizing databases is related to storage, not direct traffic management. Client-side caching is a separate optimization unrelated to load balancer responsibilities.

  3. CAP Theorem Basics

    In the CAP theorem, which two properties can a distributed system guarantee during a network partition?

    1. Consistency and Partition Tolerance
    2. Partition Tolerance and Throughput
    3. Latency and Reliability
    4. Availability and Consistency

    Explanation: Under network partition, only two properties can be guaranteed: Consistency and Partition Tolerance, or Availability and Partition Tolerance. The third property—availability or consistency—must be compromised. Latency, reliability, and throughput are not part of the CAP theorem, which specifically addresses consistency, availability, and partition tolerance.

  4. Consistency Models Usage

    In which scenario is eventual consistency more appropriate than strong consistency?

    1. Performing a funds transfer between bank accounts.
    2. Handling real-time bidding in online auctions.
    3. Managing stock inventory in a warehouse.
    4. Displaying a social media feed where slight delays are acceptable.

    Explanation: Eventual consistency is suitable for scenarios like social media feeds where immediate consistency is not required. Funds transfer, real-time bidding, and stock management demand strong consistency to prevent errors or inconsistencies that can have real-world consequences.

  5. API Gateway Functions

    What is a primary benefit of using an API Gateway in a microservices architecture?

    1. Centralizing authentication, rate limiting, and request routing for multiple services.
    2. Reducing code duplication by merging all microservices into one codebase.
    3. Storing all application data in a single database.
    4. Automatically updating all deployed microservices without downtime.

    Explanation: An API Gateway acts as a single entry point to microservices, handling cross-cutting concerns like authentication, rate limiting, and routing. It does not manage data storage, automate updates, or merge service codebases, but provides a central place for managing request flow and common logic.