What a system design interview tests, how a 45-minute round runs, a URL shortener worked step by step, and a four-week prep plan.
A system design interview asks you to turn a vague prompt, such as "design a URL shortener", into a workable architecture while you talk it through, and the employers who run these rounds say fairly plainly what they look for. Meta describes its 45-minute design round as a way "to assess the candidate's ability to solve a non-trivial engineering design problem", and Amazon lists six objectives for its design questions: practicality, accuracy, efficiency, reliability, optimization and scalability. In practice that comes down to five things: clarifying requirements, sketching a sensible high-level design, choosing a data model, scaling it with stated trade-offs, and explaining each decision out loud.
This page covers only the design round; for how it sits alongside coding screens, behavioral interviews and offers, see our guide to the whole software engineer interview process. Below you will find what employers say they assess, how the time in a round is spent, one prompt worked from start to finish, and a prep plan.
What interviewers evaluate in a system design interview
The most useful sources are the employers' own prep pages, because they describe the round in the words their interviewers use. Meta's guide for software engineers says the design interview lasts 45 minutes, almost never involves coding, and usually keeps the last five minutes for your questions. Its tips ask you to outline a high-level approach and break it into subparts, focus on the interesting and hard problems, and explore the trade-offs between options.
Amazon's SDE II and SDE III prep pages tell candidates to "expect at least one question on software systems design", and add that the interviewer will question your design while you "ask questions to complete and validate your design." Amazon's recruiters add that candidates often "jump into the solution for coding or system design questions" before asking for what they need. Google's interview tips make the same point in general terms: if you are making an assumption, or choosing depth over breadth, tell the interviewer and explain why you made that call.
Read together, these pages describe a conversation rather than a quiz. There is rarely one correct architecture, so the signal comes from how you scope the problem, whether your numbers and components agree, and whether you can say what each choice costs. A simple design whose limits you name first is easier to defend than an elaborate diagram you cannot explain.
Not every employer runs a whiteboard round. GitLab's handbook describes its technical interview as a 90-minute call built around a merge request you review in advance, so confirm the format with your recruiter before you prepare for the wrong kind of session.
How a 45-to-60-minute round usually runs
Meta's round leaves roughly 40 minutes of design once the closing questions are taken out, and Amazon's loop interviews are 55 minutes each; the pages we read do not say how a design interview's time is divided. The split below is our suggestion for a 40-minute block, not an employer rule, and the interviewer can redirect you at any point.
- Spend the first five to eight minutes on requirements: who uses the system, the core actions, what is out of scope, and rough traffic and storage numbers.
- Spend about ten minutes on the API, the data model and a high-level diagram that carries a basic request from end to end.
- Spend about fifteen minutes going deep on the one or two parts that are hardest at this scale, which is usually where the interviewer steers you.
- Use the last five minutes to summarise the design, name its weak points and say what you would change if traffic grew tenfold.
The System Design Primer, a widely used open-source guide on GitHub, recommends a similar order: outline use cases and constraints, create a high-level design, design the core components, then scale it. Any split guards against the same failure, which is spending thirty minutes on requirements and boxes and leaving no time for the trade-offs the interviewer wanted to hear.
Amazon's SDE II page also links to a guide on interviewing in Bluescape, a digital whiteboard workspace, so practise drawing boxes and arrows on an online canvas before the day rather than only on paper.
A worked example: design a URL shortener
The walkthrough below is illustrative: every number in it is an assumption we chose to show the method, not a figure from a real service or employer. A URL shortener suits practice because it fits in 40 minutes yet still forces decisions about IDs, caching, consistency and partitioning.
Requirements and rough numbers
Start by agreeing on scope: a user submits a long URL and receives a short link, anyone opening it is redirected, and links can optionally expire. Accounts, custom aliases and editing stay out of scope unless the interviewer adds them. On the non-functional side, redirects must be fast and highly available, while click analytics can lag behind by a few minutes.
Then size the system out loud. Assume 100 million new links a month and 100 redirects for every link created. Using the System Design Primer's rule of thumb that one request per second is about 2.5 million a month, that is roughly 40 writes and 4,000 redirects per second on average, and you would plan for several times that at peak. At about 500 bytes per record, 100 million links add around 50 GB a month, or roughly 3 TB over five years.
Five years of links is 6 billion short codes. Seven Base62 characters (a–z, A–Z and 0–9) give 62⁷, about 3.5 trillion combinations, so a seven-character code leaves ample room. These numbers shape the design: redirects outnumber writes a hundred to one, so the read path gets most of the caching and replication effort, and 3 TB is modest for a partitioned store.
API and data model
Two endpoints are enough to start. A POST to /v1/links takes the long URL and an optional expiry and returns the new code. A GET on /{code} returns a redirect with the long URL in its Location header, or a 404 if the code is unknown or expired.
The data model is a single table keyed by the short code, holding the long URL, a creation time, an optional expiry time and an optional creator ID. Every redirect is a primary-key lookup with no joins, so a key-value store fits naturally, although a relational database keyed on the code works too; what matters is saying which you picked and why.
One common way to generate codes is to give each new link a numeric ID and encode it in Base62. In Python:
ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
def base62_encode(n: int) -> str:
if n == 0:
return ALPHABET[0]
digits = []
while n > 0:
n, r = divmod(n, 62)
digits.append(ALPHABET[r])
return "".join(reversed(digits))
print(base62_encode(125)) # prints 21The loop runs once per output character, so it takes O(log n) time and O(log n) space, at most seven iterations for any ID below 62⁷. The System Design Primer's Pastebin example instead hashes the input with MD5, Base62-encodes it, keeps seven characters and checks for a collision.
High-level components
On the write path, a load balancer sends requests to stateless application servers, which allocate an ID, encode it and write the record to the database. On the read path, the same servers check an in-memory cache, fall back to the database on a miss and return the redirect. Each redirect also publishes a click event to a queue, and a separate consumer writes those events into an analytics store, so a slow analytics database never delays a redirect.
The trade-offs an interviewer will push on
This is where most of the signal sits, so have a position on each of these before you walk in.
Counter or random codes. A central counter never collides, but it is a single point of coordination and produces sequential, guessable codes; a common fix is to hand each application server its own block of IDs at a time. Random seven-character codes need no coordination but must be checked for clashes; with 6 billion of 3.5 trillion codes taken, only about 0.2% of new codes would collide, so one retry almost always suffices.
Caching and the redirect status code. Under RFC 9110, the HTTP standard, a 301 Moved Permanently response is "heuristically cacheable", so browsers may stop asking your servers about a link, which saves load but loses click counts and makes deletion or expiry unreliable. A 302 Found response keeps every click passing through your servers. If analytics matter, a 302 backed by a server-side cache is the easier choice to defend, and the interviewer mainly wants to hear that you know the trade-off exists.
Consistency or availability. If redirects are served from read replicas, replication lag can make a link created a second ago return a 404. The System Design Primer explains this through the CAP theorem: networks are unreliable, so during a partition the real choice is between consistency and availability. For a shortener, keeping redirects available usually matters more, and the narrow gap for brand-new links can be closed by falling back to the primary database when a very recent code misses.
Partitioning and hot keys. Hashing the short code spreads records evenly, whereas range partitioning would pile recent sequential IDs onto one partition. A viral link still hammers one key wherever it lives, which is why the cache matters more than the partitioning scheme there.
If time remains, expect questions about malicious links, expired-record clean-up or serving from several regions; naming those as extensions shows you know where your design stops.
What changes by level, according to employers
Employers publish less about level than prep sites suggest. Amazon's SDE II and SDE III pages carry the same system design section with the same six objectives, and the SDE II online assessment adds "20 minutes of Systems Design scenarios" before the loop. Amazon's recruiter article lists object-oriented design among the common technical topics for software development engineers, a useful hint for earlier-career candidates whose design round may centre on classes and interfaces rather than distributed systems.
Meta says there are two types of design interview, systems design and product design, and that it tries to match you with an interviewer of a similar background. We found no employer-published description of how staff-level rounds differ, so the safest calibration is to ask your recruiter whether your round will be high-level, low-level or product-focused.
Our comparison of how Big Tech loops differ shows where design sits in each company's process. For architect titles, our guide to architecture questions for Java architect roles goes further into service boundaries and cross-service consistency.
A four-week system design interview prep plan
This plan assumes about an hour on weekdays and a longer weekend session; merge the first two weeks if your interview is close.
In week one, rebuild the vocabulary. Work through the System Design Primer's sections on load balancing, caching, replication, partitioning, the CAP theorem and asynchronous queues, and practise the estimation step until turning monthly volumes into requests per second feels automatic. The AWS Well-Architected Framework's six pillars (operational excellence, security, reliability, performance efficiency, cost optimization and sustainability) make a handy trade-off checklist.
In week two, work four or five classic prompts, such as a news feed, a chat service and a rate limiter, out loud on a 40-minute timer. Record each session and note where the minutes went and which question you could not answer, because that list becomes next week's study plan.
In week three, tailor the practice to the employer. For Amazon, check each design against its six objectives; for Meta, prepare for both systems and product design unless your recruiter has said which you will get. Meta also suggests reviewing complex systems you have already designed and asking what you would change if you did it again, so prepare a ten-minute account of one real system you worked on.
In week four, run at least two full mock interviews with someone who will interrupt you, because a real interviewer redirects you mid-answer and a solo run never does, then spend the last days on your weakest trade-off rather than new components.
Practise the design round out loud with Verve AI
A design you can draw in silence is not yet one you can explain under questioning. Verve AI's AI Mock Interview includes a Software Engineering technical question set covering algorithms, system design patterns and DevOps standards, and your spoken answers are transcribed on the transcription pad, so you can read back how you explained each step. After each session you get "a detailed performance report with personalized feedback and scoring". Keep it to preparation and read the rules of the employer you are facing: Google's hiring page says "AI tools are not permitted to be used during your interviews" (read on 12 November 2026), while GitLab's handbook says of its technical interview, "We encourage the use of AI in the interview process", and links its own guidelines.
FAQ
How long is a system design interview?
Meta says its design interview is 45 minutes, with the last five usually kept for your questions. Amazon's loop interviews are 55 minutes each, though the pages we read do not say how a design interview's time is divided. Other employers vary, so confirm the length with your recruiter.
What is a good system design interview framework?
Clarify requirements and rough numbers, define the API and data model, draw a high-level design, then go deep on the hardest part and discuss its trade-offs. The System Design Primer uses a similar four-step order. Whatever framework you use, protect time for the deep dive, where the hardest questions come.
Do junior engineers get system design interviews?
Employers publish little on this. Amazon's recruiters list object-oriented design among common technical topics for software development engineers, which suggests earlier-career design questions may focus on classes rather than distributed systems. Ask your recruiter whether your round is high-level, low-level or not part of the loop.
How long should system design interview prep take?
Our plan above assumes three to four weeks of steady practice for an engineer who already works with backend systems. If distributed systems are new to you, give the fundamentals more than a week before timed prompts. Either way, finish with mock interviews in which someone interrupts you.
Sources
- Meta design interview length, purpose, two types, tips and prep advice: https://www.metacareers.com/blog/preparing-for-your-software-engineering-interview-at-meta/
- Amazon SDE II system design section, objectives, online assessment with 20 minutes of Systems Design scenarios, four 55-minute loop interviews, Bluescape link: https://www.amazon.jobs/content/en/how-we-hire/sde-ii-interview-prep
- Amazon SDE III system design section, objectives, 60-minute phone screen, five 55-minute loop interviews: https://amazon.jobs/content/en/how-we-hire/sde-iii-interview-prep
- Amazon recruiters on jumping into system design solutions and object-oriented design as a common topic (April 18, 2024): https://www.aboutamazon.com/news/workplace/amazon-job-interview-software-development-engineer-recruiter-tips
- Bluescape described as a digital whiteboard workspace for interviews: https://community.bluescape.com/t/preparing-for-your-job-interview-in-bluescape/778
- Google interview tips on stating assumptions and depth versus breadth: https://www.google.com/about/careers/applications/interview-tips/
- Google rule that AI tools are not permitted during interviews (read 12 November 2026): https://www.google.com/about/careers/applications/how-we-hire/
- GitLab technical interview format (merge request, 90-minute call) and its AI statement: https://handbook.gitlab.com/handbook/hiring/interviewing/technical/
- System Design Primer four-step approach and CAP theorem explanation: https://github.com/donnemartin/system-design-primer
- System Design Primer Pastebin example (MD5 and Base62 code generation, 1 request per second ≈ 2.5 million per month): https://github.com/donnemartin/system-design-primer/blob/master/solutions/system_design/pastebin/README.md
- RFC 9110 on 301 being heuristically cacheable and 302 Found: https://www.rfc-editor.org/rfc/rfc9110.html
- AWS Well-Architected Framework six pillars: https://docs.aws.amazon.com/wellarchitected/latest/framework/the-pillars-of-the-framework.html
- Verve AI Mock Interview question sets, transcription pad and report wording: https://docs.vervecopilot.com/features/mock-interview
Ryan
CEO of Verve AI









