Preparation · Software engineering

System Design Interview Questions for Software Engineers

Engineer at a whiteboard sketching a system design architecture during an interview

Most people fail system design rounds for a boring reason: they start drawing boxes in the first minute. The interviewer asks “design a URL shortener”, and the candidate says “so we’ll have a load balancer, then some app servers, then a cache”. Nobody has said yet what the system has to do.

This post lists the questions that come up most often, explains what each one is really testing, and gives you a fixed order to answer in. The order matters more than any single question.

If you are also preparing for soft-skill rounds, pair this with our guides on behavioral interview questions for software engineers and how to answer “tell me about yourself”.

What the interviewer is actually checking

There is no correct design. Two good engineers will draw two different diagrams for the same question. What the interviewer scores is how you get there:

  • Do you ask about scope before designing anything?
  • Can you put rough numbers on the problem (requests per second, storage per year)?
  • Do you pick a trade-off and say why, instead of listing every technology you know?
  • When they push back, do you adjust or just defend?

A candidate who says “I’d use Kafka here” and cannot explain what happens when a consumer falls behind will score lower than one who uses a plain queue and explains the failure cases.

A 5-step order for a 45-minute round

  1. 1. Requirements (5 min) — Ask what the system must do and what it can skip. Two or three functional requirements, then the non-functional ones: scale, latency, how bad is it if data is lost or stale.
  2. 2. Rough numbers (5 min) — Users, requests per second, read to write ratio, storage. Round hard. 100 million per month is about 40 per second, and that is close enough.
  3. 3. API and data model (10 min) — The two or three endpoints that matter and the main tables. Say which database you would pick and why it fits the access pattern.
  4. 4. High-level design, then one deep dive (20 min) — Draw the simple version first. Then take the part most likely to break (the hot key, the fan-out, the counter) and go deep on it.
  5. 5. Bottlenecks and failures (5 min) — What happens when a node dies, a cache is cold, or traffic doubles.

If you only have time to remember one thing, remember that step 1 is not optional.

12 common system design interview questions

Starter level (good for first practice)

QuestionWhat it is really testing
Design a URL shortenerID generation, read-heavy traffic, caching
Design a rate limiterAlgorithms (token bucket, sliding window), shared state across servers
Design a pastebinObject storage versus database, expiry
Design a key-value storePartitioning, replication, consistency choices

Mid level

QuestionWhat it is really testing
Design a news feedFan-out on write versus on read, celebrity users
Design a chat appPersistent connections, message ordering, delivery status
Design a notification systemQueues, retries, deduplication, user preferences
Design a file storage service like DropboxChunking, sync conflicts, metadata versus blob storage

Senior level

QuestionWhat it is really testing
Design a ride-hailing serviceGeospatial indexing, matching, real-time location updates
Design a video streaming serviceCDN, encoding pipeline, adaptive bitrate
Design a search autocomplete systemTries, ranking, update frequency versus latency
Design a payment systemIdempotency, double-charge prevention, reconciliation

A short worked example: URL shortener

Here is how the first ten minutes could sound.

Requirements

Create a short link from a long URL. Redirect when someone opens it. Links should not be guessable in sequence. Analytics and custom aliases are out of scope unless the interviewer wants them.

Numbers

Say 100 million new links a month. That is roughly 40 writes per second. If reads are 100 times writes, you are near 4,000 redirects per second. At about 500 bytes per record, one month is 50 GB, so five years is around 3 TB. None of this is scary, and saying so out loud is the point: a single well-indexed database with a cache in front can carry it, and you can explain when you would shard.

Short code

Seven characters from a 62-character set give about 3.5 trillion combinations. You can generate them from a counter and encode in base 62, or hash the URL and handle collisions. State the trade-off: a counter is simple but needs coordination across servers, hashing needs a collision check.

Redirect

Use a 301 if you want browsers to cache it, a 302 if you need to count every click. This one detail often impresses interviewers because it ties a product need to an HTTP choice.

From there, the deep dive could be the counter service or the cache strategy. Pick one and go deep rather than touching everything lightly.

Mistakes that cost people the round

  • Jumping to technology names before the requirements are clear.
  • Designing for a billion users when the question implies a few million.
  • Drawing a perfect diagram and never talking about failure.
  • Saying “it depends” and stopping. Say what it depends on, then pick one.
  • Ignoring the interviewer’s hints. If they ask “what about celebrity accounts?”, they are pointing at the weak spot.

How to practise without wasting weeks

Pick one question a day for 12 days. Set a 45-minute timer. Talk out loud, even if you are alone, because the explaining is the skill you are training. Write down the numbers and trade-offs on paper, not a drawing tool, so you do not hide behind pretty boxes. After each session, spend 10 minutes reading how someone else designed the same system and note one thing you missed.

One round of real talking is worth three of silent reading.

For live practice with resume and job-description context, see our best AI interview copilots for software engineers guide, or try Qevra AI.

Practise system design answers with live question capture

Explore Qevra AI

Frequently asked questions

How many system design questions should I prepare?

Twelve well-practised ones cover most of what you will see. The patterns repeat: caching, queues, partitioning, fan-out, idempotency.

Do freshers get system design rounds?

Usually a lighter version, often a low-level design or a small component. Senior roles get the full format.

Do I need to know specific tools?

You need the concepts. Knowing what a cache, a queue and a replica do matters more than knowing a particular product name.

Can I use notes during the interview?

That depends on the company and the round. Read the instructions in your interview invite and follow them.

Qevra AI is a desktop app that transcribes interview questions and shows answer outlines based on your resume and the job description. It is built for practice and preparation. Whether you may use any assistant in a live round is the company’s decision, so check their rules first.

Ready to practise interview answers with live context?

Explore Qevra AI