Practice system design interview questions with MCQs covering the architectural concepts and trade-off analysis skills that mid-level and senior engineering roles demand. Topics include scalability patterns (horizontal vs vertical scaling, database sharding and partitioning, consistent hashing), caching strategies (Redis, Memcached, CDN, cache invalidation policies, write-through, write-back, write-around), database selection criteria (SQL vs NoSQL, CAP theorem, eventual vs strong consistency, read replicas), load balancing algorithms (round-robin, least connections, IP hash), message queues and event streaming (Kafka, RabbitMQ, SQS, use cases and trade-offs), microservices vs monolith architecture decisions, API design (REST, GraphQL, gRPC), rate limiting algorithms (token bucket, leaky bucket, sliding window), and high-availability patterns (circuit breakers, bulkheads, idempotency). System design interviews are the primary filter for senior engineering roles, the ability to reason through scalability, reliability, and consistency trade-offs is what separates candidates at this level. Build the frameworks you need to tackle any system design question.
What this System Design quiz covers
Trainee
- Horizontal scaling and caching
- APIs, REST and HTTP status codes
- Microservices and service registries
- Reverse proxies and data partitioning
Junior Developer
- CDNs, sharding and WebSockets
- Cache eviction and sticky sessions
- Event-driven architecture and idempotency keys
- Connection pooling and the CAP theorem
Mid-Level
- Rate limiters and the token bucket
- Raft and two-phase commit
- Thundering herd and tail latency
- Consistent hash rings
Senior
- Consistent hashing and quorums
- CQRS
- Paxos and gossip protocols
- Cache stampede and latency budgets
Sample System Design Interview Questions
Ten representative questions from our full bank of System Design MCQs across all difficulty levels. Each one shows the correct answer and a short explanation. The interactive quiz above shuffles options and tracks your time per question.
- TraineeQ1
What is horizontal scaling?
- Adding more machine instances to handle increased load Correct
- Adding more RAM to an existing machine
- Deleting underutilized servers
- Changing CSS to reduce page weight
Why: Horizontal scaling increases instance count to distribute load. - TraineeQ2
What is vertical scaling?
- Adding more CPU, memory, or storage resources to an existing machine Correct
- Adding more identical machines to a cluster
- Partitioning data across multiple nodes
- Caching images at the CDN edge
Why: Vertical scaling upgrades resources on a single server. - TraineeQ3
What does a load balancer do?
- Distributes incoming traffic evenly across multiple backend servers Correct
- Stores user passwords securely
- Compiles application source code
- Creates and manages database indexes
Why: Load balancers improve availability and prevent any single server from being overloaded. - TraineeQ4
What is caching?
- Storing frequently accessed data in fast storage for quicker future access Correct
- Permanently deleting old data
- Encrypting data before storage only
- Normalizing relational database tables
Why: Caches trade freshness and storage space for lower latency and reduced backend load. - Junior DevQ5
What is a CDN?
- A geographically distributed edge network delivering content closer to users Correct
- A centralized database indexing service
- A message queue system for async tasks
- A password and secret management service
Why: CDNs cache static assets at edge locations reducing latency for global users. - Junior DevQ6
What is a message queue for?
- Asynchronously decoupling producers from consumers for resilient processing Correct
- Loading CSS stylesheets in the correct order
- Hashing passwords before storage
- Compressing image files for delivery
Why: Queues absorb load spikes and let services process work at their own pace independently. - Junior DevQ7
What is database replication?
- Copying data to additional database nodes for read scaling and availability Correct
- Deduplicating redundant rows in a database
- Building and maintaining query indexes
- A cache invalidation header mechanism
Why: Replication improves read throughput and provides failover capability. - Mid LevelQ8
CAP theorem says distributed systems trade among?
- Consistency, Availability, Partition tolerance Correct
- CPU, API, Passwords
- Cache, Auth, Proxy
- Classes, Arrays, Pointers
Why: Under partition, systems choose between stronger consistency and availability. - Mid LevelQ9
What is eventual consistency?
- Replicas will converge to the same state given no new updates and sufficient time Correct
- All replicas always reflect identical data immediately
- No data is ever stored durably across nodes
- Only SQL databases support eventual consistency
Why: Eventual consistency allows temporary divergence enabling higher availability. - Senior DevQ10
Why use consistent hashing?
- Minimize key redistribution when nodes are added or removed from the cluster Correct
- Encrypt data stored in distributed caches
- Avoid caching entirely in distributed systems
- Sort rows across shards for ordered range queries
Why: Consistent hashing maps keys to nodes with minimal reshuffling on membership changes.
This is a static preview of 10 questions. Take the full interactive System Design quiz with timed rounds, all 25 questions per level, and instant score tracking.
Frequently Asked Questions: System Design Interviews
Common questions developers ask when preparing for System Design technical interviews.
What system design topics are most commonly tested in senior engineering interviews?
Scalability is the central theme: horizontal vs vertical scaling, database sharding, and load balancing strategies. Caching (Redis patterns, cache invalidation, CDN) and database selection (SQL vs NoSQL, CAP theorem trade-offs) come up in nearly every system design round. Designing message queues and event-driven architectures, API design, rate limiting, and high availability patterns (circuit breakers, retries with backoff) are all regularly tested. Interviewers want to see structured thinking and explicit trade-off analysis, not just knowledge of tools.
What is the CAP theorem and how does it apply to database choices?
The CAP theorem states that a distributed system can only guarantee two of three properties simultaneously: Consistency (all nodes return the same, most recent data), Availability (every request receives a response), and Partition tolerance (the system continues operating despite network partitions). Since network partitions are unavoidable in real distributed systems, the practical choice is CP (consistent but may be unavailable during partitions, HBase, Zookeeper) vs AP (available but may return stale data, Cassandra, DynamoDB). Most modern databases offer tunable consistency rather than a hard binary choice.
When should you use SQL vs NoSQL for a new system?
Choose SQL (PostgreSQL, MySQL) when your data has clear relationships and a well-defined schema, when you need ACID transactions (financial data, orders), or when complex ad-hoc queries are required. Choose NoSQL when you need horizontal scalability at massive scale, when your data model is document-like or key-value (user profiles, session data, product catalogs), or when you need flexible schemas for rapidly evolving data structures. Many production systems use both, SQL for transactional data and NoSQL for high-read caches or unstructured data.
How do you approach a system design interview question?
Follow a structured framework: (1) Clarify requirements, ask about scale, users, constraints, and SLAs before designing. (2) Estimate scale, back-of-envelope calculations for QPS, storage, and bandwidth. (3) Propose a high-level architecture, clients, servers, databases, caches. (4) Deep-dive into critical components, the interviewer usually steers you here. (5) Identify and discuss trade-offs explicitly, no design is perfect; interviewers want to see you reason about alternatives. (6) Address failure modes and availability. Breadth first, then depth on what matters.
What is the difference between horizontal and vertical scaling?
Vertical scaling (scaling up) means adding more resources to a single machine, more CPU, RAM, or faster storage. It is simple but has a hard upper limit, creates a single point of failure, and often requires downtime. Horizontal scaling (scaling out) means adding more machines to distribute the load. It has no theoretical upper limit, improves fault tolerance, and is the standard approach for web-scale systems. Horizontal scaling requires that your application be stateless or that state is managed externally (databases, caches, message queues).