
System design interview questions test how you think about software at scale: what to build, what to leave out, and which trade-offs you would accept. A strong answer starts with requirements, sketches a simple design, then goes deeper on data, failure handling and bottlenecks. You do not need a memorized diagram for every prompt. You need a repeatable way to work through an unfamiliar problem out loud.
This guide is for software engineers, data engineers, DevOps and other technical candidates preparing for a first system design interview, or for a design round that still feels unstructured. It sits alongside our guide on how to prepare for a technical interview, which covers formats, a two-week plan and coding rounds.
Key takeaways
- Start with requirements: clarify the users, the must-have features and the scale before you draw boxes.
- Use one structure every time: requirements, a high-level design, a deep dive on data or APIs, then failures and trade-offs.
- Foundational questions on CAP, consistent hashing, caching, load balancing, sharding and queues show up inside larger designs.
- Classic prompts such as a URL shortener, rate limiter, news feed or chat system follow that same structure.
- Name tools after you explain the job they do. Interviewers care more about why than about a particular product.
What a system design interview is
A system design interview is a conversation. The interviewer gives you a prompt, often something people use every day, and asks you to design it at a whiteboard or in a shared drawing tool. They want to see how you narrow a vague problem, make assumptions explicit, and talk through trade-offs, not whether you can finish a production architecture in one sitting.
Concept questions ask you to explain CAP, consistent hashing, caching, load balancing, sharding or queues. Design prompts ask you to sketch a URL shortener, rate limiter, news feed, chat system, unique ID generator or notification service. The two often mix. Depth depends on the role; if you are unsure, ask.
How to structure a system design answer
Use the same outline for every prompt. It keeps you from jumping to a favourite technology and it gives the interviewer a path to follow.
- Clarify the goal and the users. Who uses this, and what does success look like?
- List functional and non-functional requirements (features, latency, consistency, durability, scale). If scale matters, ask for it. Do not invent a traffic number and then over-design a starter problem.
- State your assumptions and get a nod before you draw.
- Sketch the high-level components: clients, an API, storage, and any cache, queue or worker the design actually needs.
- Deep-dive on the hardest part, walk through failures and bottlenecks, then summarize trade-offs and what you would do next with more time.
Tip: If you do not know a number, ask. Inventing scale and then over-designing is one of the most common misses we hear about from hiring teams.
A strong system design answer is a conversation about trade-offs, not a memorized architecture diagram.
Foundational system design interview questions
These six questions appear on their own and inside larger designs. Interviewing for an AI role? Pair this guide with our LLM interview questions.
1. Explain the CAP theorem
When a network splits, a shared-data system cannot be both perfectly consistent and fully available. Gilbert and Lynch proved Brewer’s conjecture in 2002. A strong answer defines consistency, availability and partition tolerance, then gives an example: a bank ledger usually favours consistency; a shopping cart may repair brief disagreement later. Brewer’s 2012 paper notes that “pick two of three” oversimplifies; plan partition behaviour and recovery. Common mistake: treating CAP as “SQL is CA and NoSQL is AP.”
2. What is consistent hashing, and when would you use it?
Ordinary hashing remaps almost every key when a machine is added or removed. Consistent hashing places keys and servers on a ring so only nearby keys move. Karger and colleagues introduced it in 1997; Amazon’s Dynamo paper later used it with virtual nodes. A strong answer explains the ring, a cache-cluster use case, and what happens when a node fails. A hot key still needs a separate plan. Common mistake: describing only “hash the key modulo N.”
3. How would you add caching to a slow, read-heavy API?
A cache stores a recent result so the next request can skip expensive work. RFC 9111 describes HTTP caches, private versus shared caches, and Cache-Control. A strong answer names what you would cache, how entries expire or get invalidated, and the pattern (read the cache first, fill it on a miss). Keep personalized or sensitive responses out of a shared cache. Common mistakes: caching everything, and treating the cache as the source of truth.
4. How does load balancing work, and how would you use it?
A load balancer sends each request to one of several healthy backends. AWS’s Elastic Load Balancing documentation describes the usual behaviour: health-check targets and stop routing to an unhealthy one. An application load balancer works at the HTTP layer, can route by path, and often defaults to round robin. A strong answer covers health checks, layer 4 versus layer 7, and sticky sessions as a trade-off. Common mistake: assuming a load balancer also scales your database.
5. How would you shard a database?
Sharding splits one dataset across several machines, with a shard key deciding ownership. MongoDB’s documentation is a clear official reference: pick a high-cardinality key, and be careful with timestamps or auto-assigned IDs that can send all new writes to one shard. A strong answer starts with why you would shard (data size or write throughput; replicas often help reads first), then covers hot shards and the pain of changing a key later. Common mistake: sharding as the first scaling step.
6. When would you use a message queue?
A message queue lets a producer and a consumer work at different speeds. Amazon SQS is a managed queue built for that decoupling. Apache Kafka is a durable event log, organized into topics, that many consumers can read. A strong answer says when a queue helps (asynchronous work or absorbing a spike) and when it does not (a read that must return now). Mention retries, dead-letter messages, and at-least-once delivery. Common mistake: assuming exactly-once delivery.
Looking for your next technical role?
Submit your profile with your stack and preferred work setup. There is never a fee for candidates.
Submit your profileSearch current jobs →Classic system design interview questions
The next six prompts are practised as full designs. Use the structure above; these notes are the substance interviewers usually want, not a script to recite.
7. Design a URL shortener
The service turns a long URL into a short code and redirects visitors to the original address. Confirm create, look up and redirect first; ask about aliases or expiry only if they matter. A strong answer sketches an API, a mapping store, and unique-code generation (a compact counter, or a hash with a collision plan). A permanent redirect is easy on your servers but awkward if the destination must change. Common mistake: jumping to a global ID platform before a basic mapping works.
8. Design a rate limiter
A rate limiter caps how often an action may happen, usually to protect an API. Redis’s documentation describes incrementing a counter for a key and setting an expiry, atomically, so a crash cannot leave a counter that never expires. A strong answer names what you are limiting, the algorithm (fixed window, sliding window or token bucket), where it runs, and how a rejection is reported (often HTTP 429). Common mistake: a counter in one app’s memory, which fails once you have several instances.
9. Design a news feed
A news feed shows recent posts from accounts a person follows. Fan-out on write precomputes each follower’s timeline when someone posts: fast to read, expensive to write. Fan-out on read assembles the feed when the app opens: simpler to write, and it can get expensive at read time. A strong answer starts chronological, then says how you might mix the two for a few huge accounts, plus storage, pagination and caching. Common mistake: jumping to a ranking model too early.
10. Design a chat system
A chat system delivers messages between two people or a group, while they are online and after they return. Confirm 1:1 versus group chat, ordering, and receipts or presence. Online clients may use a persistent connection such as a WebSocket; offline clients need stored, replayed messages. A strong answer separates connections from storage, and describes write, fan-out and delivery. Mention multiple devices and group-chat fan-out. Common mistake: one giant connection server, or treating group chat like 1:1.
11. Design a unique ID generator
Many designs need unique IDs created quickly on more than one machine. A single auto-increment column does not stay simple once the database is sharded. Options include UUIDs (easy, but larger and not ordered by time) and time-based IDs that combine a timestamp with a worker identifier, popularized by Twitter’s Snowflake. A strong answer asks whether IDs must be time-ordered and how many you need per second, and mentions clock skew. Common mistake: assuming a timestamp alone cannot collide.
12. Design a notification system
A notification system takes an event and reaches the user by push, email, SMS or an in-app inbox. The original request should not wait while each channel sends; a queue is usually the right seam. A strong answer lists the channels, shows an event flowing onto a queue, and describes workers that honour preferences, retries and a dead-letter path. Preferences matter as much as delivery. Common mistake: calling an email or SMS provider from the original request, with no unsubscribe path.
How Entrustech sees these interviews
Entrustech is a staffing and recruiting firm in East Brunswick, New Jersey. We work with technical candidates and with hiring teams that run design rounds for software, data and infrastructure roles. We often see capable engineers jump to a stack they used last year before they have agreed on requirements. The hiring managers we talk with usually want a clear walk-through more than a fashionable architecture.
If you are preparing for a full interview loop, start with how to prepare for a technical interview, then practise the questions in this guide out loud. For the recruiter conversation that often comes first, see recruiter phone screen questions. Our candidate resources and recruiting process pages explain how to share a profile with Entrustech and what happens next.
Frequently asked questions
Do junior engineers get system design interview questions?
Sometimes, but the prompt is usually smaller. A junior candidate may be asked to design a URL shortener or to explain caching, not a global feed. Ask what the round will cover, and size your answer to the role.
Should I name specific products, such as Redis or Kafka?
Yes, after you have explained the job the tool would do. Say “a cache in front of the database, for example Redis” rather than starting with a product name. Be ready to discuss a tool you mention. If you have not used it, describe the property you need and say so.
How should I practise system design interview questions?
Pick one prompt, time yourself, and talk out loud, ideally with a colleague or a drawing tool. Use the structure in this guide every time, then fill the gaps you skipped. Our technical interview guide has a broader two-week plan that includes design practice.
What is the difference between a system design interview and a coding interview?
A coding interview asks you to solve a contained problem in code, often while thinking out loud. A system design interview asks you to shape a service or data path: requirements, components, data and trade-offs. Some loops include both. Confirm the format ahead of time.
How long should my answer be?
Leave time for the interviewer to steer. Open with requirements and a simple diagram, then go deeper where they show interest. A shallow tour of every component is usually weaker than a deep dive on the hard part.
Ready for interviews that fit your skills?
Share your profile, stack and location. A recruiter reviews every profile.
Submit your profileSources (checked November 25, 2026)
- Gilbert and Lynch, “Brewer’s conjecture and the feasibility of consistent, available, partition-tolerant web services,” ACM SIGACT News (June 2002).
- Eric Brewer, “CAP Twelve Years Later: How the ‘Rules’ Have Changed,” IEEE Computer (February 2012).
- Karger et al., “Consistent hashing and random trees,” STOC (May 1997).
- Giuseppe DeCandia et al., “Dynamo: Amazon’s Highly Available Key-value Store,” SOSP (October 2007).
- RFC 9111, “HTTP Caching” (June 2022).
- AWS, “How Elastic Load Balancing works”.
- MongoDB, “Shard Keys” and “Hashed Sharding”.
- Redis, “INCR” command documentation (rate-limiter pattern).
- AWS, “What is Amazon Simple Queue Service?”.
- Apache Kafka, “Introduction”.
Written and reviewed by the Entrustech Recruiting team. Entrustech Recruiting is a service of Entrustech Inc., a staffing and recruiting company in East Brunswick, New Jersey. Last updated November 25, 2026. Questions or corrections: contact@entrustechinc.com.


