Grokking the AI System Design Interview

0% completed

Introduction: The AI Interview Landscape

  1. What This Module Covers
  1. The Lessons
  1. Two Terms Used Throughout
  1. Before You Start

1. What This Module Covers

System design interviews have changed. For a decade, the classic question was "Design Twitter" or "Design a URL shortener." You will still get those. But a new family sits right next to them now: "Design YouTube's recommendation system." "Design a ChatGPT-style assistant for our product." "Design an agent that resolves customer-support tickets." AI-first companies now build whole interview rounds around these questions. Everywhere else, they are quietly joining the standard loop. And interviewers expect this from software engineers now, not just ML specialists.

Here is where most candidates go wrong. They spend their prep time on model architecture: the wiring inside the models themselves. They learn what a transformer is (the neural network design behind ChatGPT and its peers), all the way down to attention heads, the small moving parts of that wiring. Then they sit down for the actual interview, and nobody asks about any of it. The interviewer asks what system design interviewers have always asked. What are the requirements? Where does the data come from? What does the request path look like? What breaks, and what does it cost? The models are new. The interview is not.

This module gives you the map before you walk the terrain. You will learn four things:

  1. The forms AI system design questions take.
  2. What actually changes once a system has a model inside it.
  3. How to spot which of the three question families you are facing.
  4. A repeatable framework for structuring any answer.

The rest of the course fills in the depth. This module's job is simpler: make sure you never open an answer facing the wrong direction.

2. The Lessons

Question the lesson answersLesson
What forms do AI design questions take, and who gets asked what?How AI System Design Shows Up in Interviews
What is actually different from classic system design?What Changes When the System Learns
Which kind of AI question am I being asked?The Three Question Families
How do I structure an answer under time pressure?A Framework for AI Design Answers
Can I scope a vague AI question into a designable problem, out loud?Capstone: Scoping an AI Design Question

3. Two Terms Used Throughout

  1. Model. A function learned from data instead of written by hand. It takes an input, like a user's watch history or a text prompt. It produces an output, like a ranked list or the next word. In this course, treat a model exactly like a database or a cache: just another component sitting in your architecture diagram. It has:
    • a latency (how long a call takes to return)
    • a cost per call
    • a failure mode
    • a deployment story
  2. Inference. Running a trained model to get a prediction for a live request. Training happens offline, on a schedule, over huge datasets. Offline means away from live traffic, inside background jobs. Inference happens online, per request, inside your latency budget. Online means right now, while a user is waiting. Here is the image to hold onto: training is writing the cookbook, inference is cooking one dish the moment an order comes in. Most of the architecture in this course exists to make that one dish, inference, fast, cheap, and safe. Keep the two paths separate in your head and in your diagrams. That habit alone is half the battle.

4. Before You Start

Answer these three questions for a product you use daily. Rough answers are fine. The module will sharpen them.

  1. Pick one AI feature you use. It could be a feed, an autocomplete, or a chatbot. What would "this feature is working well" mean as a number someone could put on a dashboard?
  2. When that feature gives a bad output, like a boring feed or a wrong answer, how would the company ever find out?
  3. If the feature disappeared for an hour, would the product still work? What would users see instead?
Mark as Completed

On This Page

  1. What This Module Covers
  1. The Lessons
  1. Two Terms Used Throughout
  1. Before You Start