ApplyRight logoApplyRight
Amazon logo

System Design · Free · No account needed

Amazon system design interview questions

5 sample questions — 2 specific to Amazon plus the system design questions asked everywhere — each with a short answer and what interviewers listen for. Designing scalable, reliable services — requirements, estimation, architecture, data, and the trade-offs you can defend.

Sample questions with short answers

Tap a question to reveal the short answer and key points.

  1. 1Design the order management flow for an e-commerce checkout.HardAmazon-specificShow short answer

    Short answer

    Model the order as a state machine (created → paid → fulfilled) and make each step idempotent with an order ID. Reserve inventory before payment, charge via a payment service with retries and a timeout, and emit events to fulfilment and notifications through a durable queue. Discuss exactly-once semantics, saga-style compensation when a step fails, and separating read models for order history.

    Interviewers listen for

    • order state machine with idempotency
    • reserve inventory before payment
    • saga-style compensation when a step fails
  2. 2How would you design a product recommendation service?MediumAmazon-specificShow short answer

    Short answer

    Separate offline and online: batch jobs compute item-to-item similarities or embeddings from purchase/browse logs; an online service retrieves candidates from a precomputed store and re-ranks with a lightweight model plus business rules. Cache per-user results briefly, fall back to popularity for cold start, and log impressions to close the loop.

    Interviewers listen for

    • batch jobs compute similarities offline
    • online retrieval and re-ranking
    • popularity fallback for cold start and impression logging
  3. 3Design a URL shortener. Walk through the key decisions.MediumAsked everywhereShow short answer

    Short answer

    Clarify scale (e.g. 100M new URLs/month, 10:1 read:write) and features (custom aliases, expiry, analytics). Generate short keys with base-62 encoding of a counter or a hash with collision checks. Store the mapping in a key-value store, put a cache in front for hot links, and make redirects 301/302 depending on whether you need click analytics. Discuss sharding by key and rate-limiting abuse.

    Interviewers listen for

    • clarify scale and read/write ratio
    • base-62 key generation
    • cache for hot redirects
    • sharding the key-value store
  4. 4What is the CAP theorem and how does it shape real system choices?MediumAsked everywhereShow short answer

    Short answer

    During a network partition a distributed system must choose between consistency (every read sees the latest write) and availability (every request gets a response). Banking ledgers lean CP; social feeds and shopping carts lean AP with eventual consistency. In interviews, name the partition scenario explicitly and justify which side the product can tolerate.

    Interviewers listen for

    • partition forces consistency vs availability
    • banking leans CP, feeds lean AP
    • justify choice from product tolerance
  5. 5How would you design a rate limiter for an API gateway?HardAsked everywhereShow short answer

    Short answer

    Choose an algorithm — token bucket is the usual default (allows bursts, simple to reason about); sliding window log is exact but memory-heavy. Keep counters in Redis keyed by client and window, using atomic INCR/EXPIRE or a Lua script to avoid races. For multiple gateway nodes, centralise counters or accept slight over-admission with local buckets. Return 429 with Retry-After headers.

    Interviewers listen for

    • token bucket or sliding window
    • Redis counters with atomic operations
    • distributed nodes and 429 responses

Now practise out loud

Reading answers is step one. Saying them under pressure is what gets you through the loop.

Free · no account

Practise on Amazon system design with the AI mock interview

Answer these questions one at a time and get instant feedback on coverage, structure and depth — as many times as you like.

Start AI mock interview

Mentors for a Amazon system design mock

All sessions are 60 minutes via Google Meet

4.9

Tanmay Gupta

Software Developer 2 at Uber

Ex-Amazon, Microsoft

  • ⚡ Built scalable systems across Big Tech and high-performance trading firms.
  • 🎯 Conducting interview-focused sessions on DSA, System Design, Backend Engineering, and Software Architecture.
  • 💡 Helping engineers think like top interview performers, not just solve problems.
DSASystem DesignLow Level DesignBackendJavaC++Distributed Systems
120+ sessions
Book · ₹499
4.9

Samridhi Garg

Software Developer 2 at Amazon

Ex Microsoft, Amazon

  • 🚀 Passionate about building impactful software and helping engineers navigate competitive product company interviews.
  • 🎯 Focused on coding rounds, problem-solving, system design fundamentals, and interview communication.
  • 💡 Learn how top engineers approach problems under real interview pressure.
DSABackend EngineeringJavaProblem SolvingInterview Strategy
60+ sessions
Book · ₹499
4.8

Vaibhav Singh

Software Developer 2 at Microsoft

Ex-Oracle, Amazon, Zomato

  • 🏆 Experienced across some of the world's leading product companies, building large-scale software and customer-facing products.
  • 🎯 Expert in Full Stack Development, Machine Coding, JavaScript, React & System Design.
  • 💡 Master the skills top companies actually evaluate during interviews
DSAFull StackMachine CodingSystem DesignReactJavaScript
85+ sessions
Book · ₹499

Book mock interview