SkillNavora
AI Master Course › Week 6 › New lesson 7 of 7
Week 6 · extends Subject 26

Mock interviews and system design cases

Three timed rounds that match real AI interviews, a scoring rubric, and nine system design cases with model answers you can practise against.

In plain words. A driving test rehearsal: same route, same examiner checklist, a stopwatch, and feedback after each part. You learn more from one honest rehearsal than from ten readings of the manual.

1. Why it matters

  • Knowing a topic and explaining it under time pressure are different skills.
  • AI interviews almost always include one system design round, even for product roles.
  • Scoring against a rubric shows which answers to rewrite, instead of a vague feeling.

2. Key ideas

Round 1: fundamentals (30 min)Eight to ten questions on tokens, prompts, RAG, embeddings, agents, evals, hallucinations, latency and cost. About 90 seconds each.
Round 2: system design (45 min)One case below. 5 minutes clarifying, 10 requirements, 15 architecture, 10 evaluation and risks, 5 trade-offs and next steps.
Round 3: product and business case (30 min)Your capstone as a case study, one AI PM case question, and a metric or ROI question.
Three-part answerThe simple idea, the trade-off, a real example (ideally from your own project).
RubricScore each answer 1 to 4 on accuracy, structure, trade-offs and clarity. 3 means hireable; rewrite anything below 3.

3. How it works, step by step

  1. Book 2 hours with a peer, or record yourself; one person asks, one answers, then swap.
  2. Round 1: the interviewer picks 8 questions from the interview bank across at least 6 topics.
  3. Round 2: the interviewer picks one case below without warning and asks at least five challenge questions.
  4. Round 3: present your capstone in 5 minutes, then answer one PM case question.
  5. Score every answer with the rubric straight away.
  6. Rewrite your two weakest answers in writing, compare them with the model answers, and say them aloud again.
  7. Repeat weekly with a new case until every score is 3 or more.

4. Scoring rubric

Criterion123 (hireable)4
AccuracyWrong or vagueMostly right, gapsRight, with detailRight, detailed, with numbers
StructureRamblingSome orderClear stepsClear steps, signposted, timed
Trade-offsNoneMentions oneCompares two optionsCompares options and states when each wins
ClarityJargon, no exampleSome jargonPlain words, an examplePlain words, own project example, checks understanding

5. Nine system design cases with model answers

Try each case for 45 minutes before you open the model answer. Each answer follows the eight-step template: Clarify, Requirements, Architecture, Data and security, Models and tools, Evaluation and metrics, Failure modes, Trade-offs and next steps.

Case 1. HR policy assistant for a 5,000-person company
  1. Clarify: Users: employees asking HR questions in Slack or Teams. About 2,000 questions a day. Policies in 120 PDFs, updated monthly. Accuracy matters more than speed; a wrong leave answer creates disputes.
  2. Requirements: Functional: answer with citations, refuse when not covered, hand off to HR. Non-functional: p95 under 5 s, no personal data stored beyond 30 days, answers only from current policies, country-specific rules by user location.
  3. Architecture: Ingestion job (PDF parse, heading-aware chunks with policy, country and effective date) -> vector database with metadata filters -> chat API: question -> filter by user's country -> hybrid search (keyword + vector) -> rerank top 20 to 5 -> grounded prompt -> model -> output checks -> answer with links -> logs.
  4. Data and security: Single sign-on gives the user's country and role; filters stop one country's policy answering another's. Personal data redacted before logging. Documents marked confidential are excluded from indexing.
  5. Models and tools: Mid-size model for answers (quality matters, volume is moderate); small model for query rewriting; a hosted embedding model. Alternative: fine-tuning, rejected because policies change monthly.
  6. Evaluation and metrics: Golden set of 200 real HR tickets with answers and pages. Metrics: answer accuracy 90 percent or more, citation accuracy 95 percent, correct refusal 95 percent, deflection rate of HR tickets, thumbs-down rate.
  7. Failure modes: Stale policy cited: index effective dates and drop superseded versions. Country mix-up: hard metadata filter. Sensitive cases (harassment): detect and route straight to a human.
  8. Trade-offs and next steps: Hybrid search costs complexity but fixes exact terms like policy codes. Next: let HR owners see failing questions for their documents each week.
Case 2. Customer support assistant for a bank
  1. Clarify: Users: retail customers in the app; 50,000 chats a day; English and Hindi. Regulated: wrong advice on fees or fraud is a compliance risk. Must hand off to agents.
  2. Requirements: Answer product and policy questions, check balance and recent transactions through tools, raise disputes with confirmation. p95 under 4 s. Full audit trail. No investment advice.
  3. Architecture: App -> gateway with authentication -> orchestrator: intent classifier -> (a) RAG over approved product documents or (b) tools: get_balance, list_transactions, create_dispute (read tools free, write tools need customer confirmation) -> model -> policy and PII checks -> answer -> human handoff queue.
  4. Data and security: Tools run with the customer's own token, so the model can never see another customer's data. Tool outputs treated as data. All prompts, tool calls and answers logged to an audit store with retention per regulation.
  5. Models and tools: Mid-size model with tool use; small classifier for intent and language; translation handled by the model with a Hindi golden set. Alternative: fully scripted bot, which fails on free-text questions.
  6. Evaluation and metrics: Golden set per intent, plus red-team prompts (fraud, social engineering). Metrics: containment rate, correct escalation, CSAT, tool-call accuracy, zero unauthorised actions.
  7. Failure modes: Prompt injection asking for another account: tools enforce identity, not the prompt. Model invents a fee: fees only from retrieved, dated documents. Outage: fall back to agent queue.
  8. Trade-offs and next steps: Confirmation steps add friction but protect money movement. Next: proactive alerts and agent-assist mode that drafts replies for human agents.
Case 3. Research agent for analysts (web and internal reports)
  1. Clarify: Users: 200 analysts producing market briefs. Tasks take minutes, not seconds. Sources: public web plus an internal report library. Output: a two-page brief with citations.
  2. Requirements: Plan sub-questions, search, read, extract facts with sources, write the brief, show every claim's source. Budget cap per task. Human reviews before sharing.
  3. Architecture: Planner (model) -> loop: search tool (web API, internal search) -> fetch and read tool -> note store -> reflect: enough evidence? -> writer -> citation checker -> brief. Step limit and cost limit per run.
  4. Data and security: Web pages are untrusted: no instructions taken from them, no tool that sends data out. Internal reports respect the analyst's access rights.
  5. Models and tools: Strong model for planning and writing; cheaper model for page summaries; search API for the web. Alternative: a fixed pipeline, cheaper but misses follow-up questions.
  6. Evaluation and metrics: Set of 30 research tasks with expert reference briefs. Metrics: claim support rate, coverage of key facts, time saved per brief, cost per brief, reviewer edit distance.
  7. Failure modes: Loops that never end: step and cost caps. Low-quality sources: allowlist and source ranking. Hallucinated citations: checker verifies each quote exists in the fetched page.
  8. Trade-offs and next steps: Agent flexibility costs predictability; caps and the checker contain it. Next: reusable research templates for common brief types.
Case 4. Meeting summariser for a sales team
  1. Clarify: Users: 300 sales reps; 1,500 calls a week; recordings up to 60 minutes. Outputs: summary, next steps, CRM fields. Consent rules for recording vary by country.
  2. Requirements: Transcribe, summarise, extract action items and CRM fields, let the rep edit before saving. Ready within 10 minutes of the call. Never store recordings without consent.
  3. Architecture: Recording -> consent check -> speech-to-text with speaker labels -> chunk transcript by topic -> model: summary + structured JSON (next steps, budget, timeline, competitors) -> schema validation -> rep review screen -> CRM update.
  4. Data and security: Recordings encrypted, deleted after transcription per policy. Customer names and numbers kept only in the CRM. Access limited to the account team.
  5. Models and tools: Hosted speech model; mid-size model with structured outputs for extraction; batch processing at a discount because results are not needed instantly.
  6. Evaluation and metrics: 100 labelled calls: field-level precision and recall for CRM fields, rep edit rate, time saved per call, adoption rate.
  7. Failure modes: Wrong speaker attribution: show speaker labels for the rep to correct. Missed action items: highlight low-confidence fields. Consent missing: block processing.
  8. Trade-offs and next steps: Batching saves cost but adds minutes of delay, which is acceptable here. Next: deal-risk signals across calls.
Case 5. Code review assistant for an engineering team
  1. Clarify: Users: 80 engineers; 400 pull requests a week; private repositories. Goal: catch bugs and style issues earlier, not replace reviewers.
  2. Requirements: Comment on a pull request within 5 minutes with a few high-confidence findings, each with file and line. No noise: under 2 false findings per PR on average.
  3. Architecture: Webhook on PR -> fetch diff and related files -> static analysis results -> model with repository conventions in a cached prompt prefix -> findings as JSON -> filter by confidence -> post inline comments -> engineers react (accept or dismiss).
  4. Data and security: Code never leaves the approved provider region; secrets scanner runs before the model sees code; the bot has comment-only permission.
  5. Models and tools: Strong coding model at medium effort; prompt caching for conventions. Alternative: linters only, which miss logic bugs.
  6. Evaluation and metrics: Replay 200 past PRs with known bugs: precision and recall of findings. Online: acceptance rate of comments, time to merge, escaped defects.
  7. Failure modes: Too many comments: cap per PR and require high confidence. Wrong suggestions: engineers dismiss, dismissals feed the eval set.
  8. Trade-offs and next steps: Higher effort finds more but costs more and takes longer; tune per repository. Next: suggest fixes as ready-to-apply patches.
Case 6. Semantic product search for an e-commerce site
  1. Clarify: Users: shoppers; 2 million searches a day; 500,000 products; queries in English and Hinglish. Latency budget: 300 ms for search.
  2. Requirements: Understand intent ("red kurta under 1000 for wedding"), return relevant products with filters, never show out-of-stock items first.
  3. Architecture: Query -> query understanding (small model or rules: price, colour, category) -> hybrid retrieval (keyword index + product embeddings) -> rerank with business signals (stock, margin, ratings) -> results. Embeddings computed offline when products change.
  4. Data and security: No personal data needed for search; personalisation signals kept separate and optional.
  5. Models and tools: Small embedding model for speed; a large model only offline to enrich product descriptions. A large model per query is too slow and too costly at this volume.
  6. Evaluation and metrics: Offline: NDCG and recall on labelled query-product pairs. Online A/B: click-through, add-to-cart, conversion, zero-result rate, p95 latency.
  7. Failure modes: Hinglish and spelling errors: train or test on real logs, add spelling correction. Price filters misread: parse numbers with rules, not the model.
  8. Trade-offs and next steps: Pure vector search misses exact model numbers; hybrid fixes it. Next: conversational shopping assistant on top of the same index.
Case 7. Invoice and KYC document extraction pipeline
  1. Clarify: Users: finance and onboarding teams; 20,000 documents a day; scanned PDFs and photos; fields must be exact.
  2. Requirements: Extract fields (invoice number, GSTIN, amounts, dates, names, ID numbers) into JSON, validate, send uncertain ones to a human.
  3. Architecture: Upload -> image clean-up -> OCR or a vision-capable model -> extraction with a strict JSON schema -> validation rules (checksums, totals add up, dates valid) -> confidence routing: auto-approve or human review queue -> ERP or KYC system.
  4. Data and security: ID documents are highly sensitive: encrypted storage, short retention, masked display, audit of every view.
  5. Models and tools: Vision-capable model with structured outputs; rules for validation. Alternative: template OCR, which breaks on new layouts.
  6. Evaluation and metrics: 1,000 labelled documents: field-level exact match, straight-through processing rate, human review rate, error rate after review.
  7. Failure modes: Misread amounts: totals check and human review. Forged documents: separate fraud checks, never only the model.
  8. Trade-offs and next steps: Higher automation means more risk; the confidence threshold sets the balance and is owned by finance. Next: learn from reviewer corrections.
Case 8. Bilingual voice assistant for a telecom company
  1. Clarify: Users: prepaid customers calling support; Hindi and English, often mixed; 30,000 calls a day; noisy lines.
  2. Requirements: Handle top 10 intents (balance, recharge, plan change, network complaint) by voice, confirm actions, transfer to an agent with context.
  3. Architecture: Telephony -> streaming speech-to-text -> intent and slot extraction -> tools (balance, recharge, plan catalogue) -> response text -> text-to-speech -> caller. Barge-in support. Agent transfer with transcript.
  4. Data and security: Caller verified by phone number plus OTP before account actions; recordings and transcripts retained per policy.
  5. Models and tools: Streaming speech models for low delay; small, fast model for intent; templates for most replies to keep latency under 1.5 s per turn.
  6. Evaluation and metrics: Recorded test calls per intent and accent: intent accuracy, task completion, average handling time, transfer rate, CSAT.
  7. Failure modes: Mishearing numbers: read back and confirm. Long silences: time-outs and re-prompts. Angry caller: sentiment trigger for transfer.
  8. Trade-offs and next steps: Templates are less natural but faster and safer; use generation only for open questions. Next: more languages from call data.
Case 9. Content moderation for a social app
  1. Clarify: Users: 5 million posts a day with text and images; local languages; policies on hate, harassment, self-harm, spam.
  2. Requirements: Score each post against the policy within seconds, remove clear violations, queue borderline ones for humans, allow appeals.
  3. Architecture: Post -> fast classifiers (spam, nudity, known hashes) -> model judge for borderline text with the written policy in the prompt -> decision: allow, limit, remove, escalate -> human review queue -> appeals -> labels back into training and eval sets.
  4. Data and security: Moderator well-being (blurred images, rotation), user data minimised, transparency reports.
  5. Models and tools: Cheap classifiers handle most volume; a larger model only for the ambiguous few percent; humans for final calls on severe cases.
  6. Evaluation and metrics: Labelled sets per policy and language: precision and recall per category, appeal overturn rate, time to action, moderator agreement.
  7. Failure modes: Over-removal of dialect or reclaimed words: per-language evals and appeals. Coordinated spam: rate limits and account signals.
  8. Trade-offs and next steps: Recall versus precision is a policy choice per category: self-harm favours recall, satire favours precision. Next: policy updates tested on the eval set before rollout.

For Round 1 and Round 3 questions, use the interview bank: 100 technical and 50 AI PM questions with model answers.

6. Common mistakes and fixes

ProblemFix
Jumping to the architectureSpend the first 5 minutes on users, scale, accuracy, latency, privacy and budget; the design depends on them.
Naming tools instead of reasons"We use Pinecone" is not a design. Say why you need a vector store and what the alternative is.
No evaluation planEvery design needs a golden set, metrics and a release bar.
No failure modesName the failure you worry about most and how the design contains it.
Running out of timePractise with a timer; draw the three-box version first, then zoom in.

7. Product manager view

  • In product rounds, tie every design choice to a user outcome and a metric.
  • Bring numbers from your capstone: accuracy, refusal rate, p95 latency, cost per answer.

8. Assignment

Run all three rounds twice, a week apart, with a peer. Submit the rubric scores for both runs and your rewritten answers for the two weakest questions and for one system design case.

Check your work against the model answer for Subject 26.

Refer & earn