Skip to content

Courses / RAG Systems / Module 18

Module 18: Interview prep: RAG system-design rounds

6 h · theory 2 · hands-on 2 · project 1 · revision 1

You will be able to

  • Answer RAG concept and debugging questions
  • Do a retrieval system-design round in 45 minutes
  • Present the capstone in a deep-dive

Capstone increment: Interview kit: one-page brief, architecture diagram and metrics.

Job-description skills: Interview prep · Lab tools: none

1. What RAG interviews test

Expect four kinds of round: concept questions (BM25 versus dense, chunking, metrics), debugging scenarios (“the assistant gave a wrong answer; find out why”), a system-design round (45 to 60 minutes on an unseen brief), and a deep-dive on a project you built. Interviewers mark you on trade-offs and measurement, not on naming tools.

The design round has a shape. Practise it until the order is automatic, so your attention goes to the problem.

Clarify5 min: users, docs, SLAsEstimate5 min: docs, QPS, ₹Sketch10 min: both pathsDeep-dive15 min: retrieval + evalsHarden10 min: ACL, cost, failure45 minutes, in this order
Interviewers mark you on trade-offs and measurement, not on naming tools. Say how you would know each choice worked.

2. Concepts to explain cold

Be able to explain each in two minutes with an example: BM25 and why it wins on exact terms; dense retrieval and where embeddings fail; chunking trade-offs and contextual headers; hybrid search and RRF; cross-encoders and re-rank depth; HNSW parameters; recall@k, MRR and nDCG; faithfulness and judge calibration; grounding and “not found”; permission-aware retrieval; semantic caching risks; when GraphRAG or agentic RAG is worth it.

For each, prepare one number from your own capstone. “Contextual headers raised recall@5 from 0.79 to 0.84 on our golden set” is the kind of sentence that ends a follow-up question.

3. Debugging rounds

Use the same order every time: reproduce the failure; check the right content is in the index (ingestion); check where it ranks (retrieval); check it reached the prompt (context assembly); then check the answer against the context (generation and grounding). Name a fix and a regression test for each.

Common scenarios to rehearse: a superseded document outranks the current one; a table answer is wrong because parsing lost the header; Hindi questions fail while English work; a user sees content from a document they shouldn’t; answers got longer and less faithful after a prompt change.

Common misconception: “I’d try a bigger model.” In a debugging round that answer is a red flag. Locate the failing stage first.

4. The design round, worked through

Brief: an internal policy assistant for a bank with 50,000 employees. Clarify (5 minutes): users and locations, languages, documents and how often they change, permissions, accuracy bar, latency, data residency. Estimate (5): questions per day, peak queries per second, chunks and storage, monthly model cost. Sketch (10): ingestion and query paths. Deep-dive (15): retrieval quality and evaluation, the part interviewers probe hardest. Harden (10): permissions, residency, cost controls, failure modes and rollout.

Finish by naming the metric you’d watch first after launch and the condition that would make you change the design.

5. The project deep-dive

Prepare a one-page brief: the problem, your architecture diagram, three decisions with the evidence for each, the metrics table, one failure you found and fixed, and what you’d do next. Expect “why not X?” for every choice; the ADRs you wrote in Module 15 are your answers.

Practise out loud, timed, at least three times, ideally with someone who interrupts. Fluency on your own project is the strongest signal you can give.

Tip: Have the demo video and the README open in a tab during remote interviews. Showing a citation click-through answers more questions than describing it.

Hands-on: coding window

The coding window and the full VS Code lab are available after you sign in.

Sign in to code

Labs

Lab 18.1: Concept round

Record yourself answering 15 concept questions from this course, two minutes each, with one capstone number per answer. Re-record the three weakest.

Expected: 15 recordings and a list of the answers you improved.

Lab 18.2: Mock design round

Do the bank policy assistant brief in 45 minutes with a peer or the course’s AI professor playing interviewer, following the five-stage shape.

Expected: Your diagram, estimates and the interviewer’s notes.

Lab 18.3: Interview kit (capstone increment)

Write the one-page brief, export the architecture diagram, and put the metrics table and demo link in one place.

Expected: Interview kit: one-page brief, architecture diagram and metrics.

Go deeper

Videos

Further reading

GitHub repositories

Checkpoint quiz

1. First step in a RAG debugging round?
2. Which part of the design round do interviewers usually probe hardest?
3. Why bring a number from your own capstone to each concept answer?
4. Hindi questions fail while English ones work. First check?
5. How should you end a design round?

Interview questions

  1. Design a RAG system for a bank’s internal policies in 45 minutes.
  2. A user got an answer from a document they shouldn’t see. Debug it.
  3. Explain hybrid search and re-ranking to a product manager.
  4. How do you know your RAG system is good enough to launch?
  5. Walk me through the hardest decision in your capstone and the evidence behind it.

Ask the professor

Sign in to ask questions about this module.

Discussion

Community discussion appears here once giscus is configured (see README).