Contents
Key concepts
A structure that survives interruption
Context and stakes (one sentence) → problem and success metric with a baseline → constraints → key decisions with alternatives → results with numbers → what broke and what changed → what you would do differently. STAR (situation, task, action, result) plus a reflection step is the behavioural version. Lead with the outcome so that an interruption at minute three still leaves the interviewer with the headline.
Quantified impact against a counterfactual
State the metric before and after, how it was measured (A/B test, staged rollout, backtest), its uncertainty and the business translation (hours saved, £ losses avoided, conversion). Distinguish model metrics (AUC, accuracy) from product metrics (resolution rate) and business metrics (cost per ticket). If attribution is weak, say so and say how you would strengthen it. For an agent, report success over repeated trials (pass^k when users need consistency, pass@k when one good attempt is enough), cost and latency per completed task, and how model-based graders were checked against human judgement.
CalculatorQuantified impact of a routing-accuracy gain
- Misroutes avoided
- 6,000 tickets/mo
- Agent time saved
- 36,000 min/month
- Hours saved
- 600 hours/month
- Headcount equivalent
- 3.75 FTE
Misroutes avoided = (After accuracy − Baseline accuracy) ÷ 100 × Tickets per month = 6,000 tickets/mo
Agent time saved = Misroutes avoided × Extra minutes per misroute = 36,000 min/month
Hours saved = Agent time saved ÷ 60 = 600 hours/month
Headcount equivalent = Hours saved ÷ 160 = 3.75 FTE
| Case | Baseline accuracy (%) | After accuracy (%) | Tickets per month | Extra minutes per misroute | Misroutes avoided | Agent time saved | Hours saved | Headcount equivalent |
|---|---|---|---|---|---|---|---|---|
| Worked example | 71 | 86 | 40,000 | 6 | 6,000 tickets/mo | 36,000 min/month | 600 hours/month | 3.75 FTE |
'I' versus 'we'
Interviewers score your contribution, so name what you personally decided, built or unblocked, and credit others precisely. Seniority shows in decisions and influence (choosing the evaluation, killing an approach, aligning stakeholders), not in the volume of code.
Trade-offs and rejected alternatives
For each major decision have the options, the criteria and the numbers: why retrieval rather than fine-tuning, why a smaller model, why batch rather than real time. ‘We chose X because it was standard’ fails; ‘X met the 300 ms p95 budget at a third of the cost, and we accepted a 2-point recall loss’ passes.
Failures and blameless retrospectives
Bring a real production failure: symptom, detection (or how it was missed), mitigation, root cause and the systemic fix (test, monitor, gate). Blameless postmortems focus on causes and systems rather than people, and assume good intent with the information available at the time.
Delivery for uncertain ML work
ML outcomes are uncertain, so plan around time-boxed experiments with decision points rather than fixed feature dates. Gates for an LLM feature typically run: problem and metric agreed → offline eval on real data → internal dogfood → limited pilot with guardrails → A/B or staged rollout → general availability with monitoring and an owner. Shape Up’s ‘appetite’ (how much time a problem is worth) is a useful way to fix time and vary scope. For agents, turn evaluations into gates: capability suites that start at a low pass rate and drive improvement, and regression suites near 100% that block a release.
Flow · 4 stepsGates for an LLM feature from idea to general availability
- Agree the problem Agree the problem and metric with a baseline before any build.
- Evaluate offline Run offline eval on real data; capability suites start at a low pass rate and drive improvement.
- Dogfood and pilot Dogfood internally, then run a limited pilot with guardrails and decision points rather than fixed dates.
- Roll out and release Roll out via A/B or staged rollout with regression suites near 100% blocking release, then reach general availability with monitoring and an owner.
Data
| Step | Title | What happens |
|---|---|---|
| 1 | Agree the problem | Agree the problem and metric with a baseline before any build. |
| 2 | Evaluate offline | Run offline eval on real data; capability suites start at a low pass rate and drive improvement. |
| 3 | Dogfood and pilot | Dogfood internally, then run a limited pilot with guardrails and decision points rather than fixed dates. |
| 4 | Roll out and release | Roll out via A/B or staged rollout with regression suites near 100% blocking release, then reach general availability with monitoring and an owner. |
Source: This page's text
| Box | Group | Detail |
|---|---|---|
| Problem and metric agreed | Pre-launch | baseline and target |
| Offline eval on real data | Pre-launch | capability suites start low |
| Internal dogfood | Pre-launch | team uses it first |
| Limited pilot | Pre-launch | with guardrails |
| A/B or staged rollout | Release | regression suites near 100% |
| General availability | Release | monitoring and an owner |
Source: This page's text
Design docs and written communication
A good ML design doc covers why and what (motivation, success criteria, requirements, non-goals), how (framing, data, baselines, offline and online evaluation), implementation (architecture, latency, cost, privacy, monitoring, rollback) and alternatives considered. Referencing one you wrote is strong evidence of seniority.
Measuring team effectiveness (lead)
Combine outcome measures (business metrics moved, models in production and used) with delivery health (lead time from idea to experiment, experiment throughput, change failure rate, incident load) and people signals (retention, growth). Avoid vanity counts such as models trained or papers read. DORA’s 2025 report found AI adoption now linked to higher delivery throughput but still to lower stability, amplifying existing strengths and weaknesses, so watch change failure rate as a team adopts coding agents.
Worked examples
Turning 'we improved routing accuracy' into a quantified story
You built a ticket-routing model. Accuracy rose from 71% to 86%. The service handles 40,000 tickets a month, and a misrouted ticket costs about 6 extra minutes of agent time. Translate this into impact and say how you would defend the number.
Misroutes avoided: (0.86 − 0.71) × 40,000 = 0.15 × 40,000 = 6,000 tickets/month
Time saved: 6,000 × 6 min = 36,000 min = 600 hours/month
Headcount equivalent: 600 / 160 hours per FTE-month ≈ 3.75 FTE of capacity.
How to defend it under questioning:
- Measurement: accuracy from a two-week 50/50 A/B test on live tickets, not just the offline test set; report the confidence interval on the 15-point gain.
- The 6-minute figure: from timestamps of reassignment events, median not mean (a few tickets bounce for days).
- Counterfactual caveats: some time saved was reabsorbed by queue changes; state the measured drop in handling time if you have it.
- Your part: e.g. you designed the label-cleaning step that removed 18% noisy labels, which gave most of the gain.
A 15-minute project presentation, budgeted
You must present one AI system you led in 15 minutes before questions. Allocate the time and say what goes in each block.
| minutes | block | content |
|---|---|---|
| 1.5 | headline and context | user, stakes, the one result that matters |
| 2 | problem and metric | baseline, target, constraints (latency, cost, regulation) |
| 4 | architecture and decisions | diagram, 2–3 decisions with rejected alternatives and numbers |
| 3 | what broke | the hardest production failure, detection, fix, lasting change |
| 2 | impact | measured result with method and uncertainty |
| 1.5 | reflection | what you would change, what you learnt, your role versus the team’s |
| 1 | buffer | interruptions are common; never plan 15 full minutes |
That is 15 minutes, with the decisions block deliberately largest because that is where the follow-up questions land. Prepare a backup slide of numbers (data sizes, latency percentiles, costs) for the inevitable ‘how do you know?’.
Committing to a delivery date under uncertainty
A GenAI complaint-triage pilot has estimates of 8 weeks (optimistic), 12 weeks (most likely) and 24 weeks (pessimistic, if the regulated-data approval is slow). Using a three-point (PERT) estimate, what date do you give with about 90% confidence?
PERT mean = (O + 4M + P) / 6 = (8 + 48 + 24) / 6 = 13.3 weeks
PERT SD ≈ (P − O) / 6 = (24 − 8) / 6 = 2.7 weeks
90th percentile ≈ mean + 1.28 × SD = 13.3 + 3.4 ≈ 16.7 weeks
Commit to about 17 weeks and say what drives the tail: the data approval. Then act on it: start the DPIA and approval in week 1, build on synthetic or already-approved data meanwhile, and set a decision gate at week 6 (approval in hand or descope to internal-only data). The PERT distribution understates long tails when one risk dominates, so name the risk rather than hiding it in a buffer.
CalculatorPERT estimate for an uncertain delivery date
- PERT mean
- 13.3 weeks
- PERT SD
- 2.7 weeks
- 90th percentile
- 16.7 weeks
- Commit to
- 17 weeks
PERT mean = (Optimistic (O) + 4 × Most likely (M) + Pessimistic (P)) ÷ 6 = 13.3 weeks
PERT SD = (Pessimistic (P) − Optimistic (O)) ÷ 6 = 2.7 weeks
90th percentile = PERT mean + 1.28 × PERT SD = 16.7 weeks
Commit to = ceil(90th percentile) = 17 weeks
| Case | Optimistic (O) (weeks) | Most likely (M) (weeks) | Pessimistic (P) (weeks) | PERT mean | PERT SD | 90th percentile | Commit to |
|---|---|---|---|---|---|---|---|
| GenAI complaint-triage pilot | 8 | 12 | 24 | 13.3 weeks | 2.7 weeks | 16.7 weeks | 17 weeks |
What changed recently
Agent evaluations become expected evidence for agentic projects
Anthropic’s engineering guide set out a practical vocabulary for evaluating agents: code, model and human graders; capability suites versus regression suites; starting from 20–50 tasks drawn from real failures; grading outcomes rather than the exact path taken; and pass@k versus pass^k for consistency. An agent project presented in an interview is now probed at this level: how many tasks, how graders were calibrated, and whether success held across repeated runs.
DORA 2025: AI amplifies a team's delivery strengths and weaknesses
Drawing on nearly 5,000 technology professionals, the 2025 DORA report found 90% using AI at work and, unlike in 2024, a positive link between AI adoption and delivery throughput, but a continuing negative link with delivery stability; strong internal platforms and fast feedback loops decided who benefited. Lead candidates are expected to measure AI adoption with stability and outcome metrics, not speed alone.
Anthropic publishes rules on candidates' use of AI
Anthropic’s candidate guidance (last updated July 2025) allows Claude for refining a CV you drafted yourself and for preparation, but bans AI in live interviews and take-home assessments unless the company says otherwise, and forbids AI-written accounts of experience you do not have. Rules now differ by employer and by round, so check each stage and be ready to explain your projects without help.
Canva brings AI tools into technical interviews
Canva said it was replacing its computer-science fundamentals screen for backend and frontend roles with an AI-assisted coding interview, introduced as a pilot, and that it expects backend, machine learning and frontend candidates to use tools such as Copilot, Cursor or Claude. Interviewers assess how candidates break down ambiguous requirements, catch errors in generated code and hold solutions to production standards; its October 2025 interviewer guide warns against showing off the tool or accepting output without scrutiny.
Critiques that an R1-style RL project must answer
After DeepSeek-R1, small GRPO runs became easy to reproduce: Hugging Face TRL’s quick-start trains Qwen2.5-0.5B-Instruct with a verifiable maths reward. A March 2025 analysis showed that base models already exhibit ‘aha moment’ self-reflection, that Qwen2.5 bases reason well without templates, and that GRPO’s normalisation biases training towards longer responses, especially wrong ones, proposing Dr. GRPO as a fix. Interviewers who see such a project ask whether the gain beats the base model with a good prompt and whether longer answers were actually better.
Pitfalls
- Narrating chronology instead of decisions, so the interviewer has to dig for the trade-offs.
- Saying ‘we’ throughout, leaving no evidence of your own contribution, or claiming the whole team’s work.
- Quoting offline model metrics as impact without a business translation or a counterfactual.
- Choosing a project with no failure in it, or one you cannot discuss in depth because of confidentiality.
- Not knowing basic numbers about your own system (data volume, latency, cost, error rates), or being unable to explain code an AI assistant wrote for it.
- Presenting a plan with fixed dates and no gates or kill criteria for uncertain ML work.
How interviewers probe it
- Hardest system you built: problem, alternatives, production failures, measurement, and exactly what you did, including what an AI assistant produced and how you checked it.
- Repeated ‘why?’ on one decision until you reach first principles or admit uncertainty.
- What would you do differently, and what did the failure change in how the team works?
- Lead: take an LLM feature from idea to GA; what are your gates and who signs each one off?
- Lead: 40 pilots and none in production; how do you choose, staff and gate?
- Lead: how do you measure whether an ML team is effective?
Quiz
Three questions from this guide. Answer each in your head or out loud, show the model answer, then rate yourself. The cards join your practice deck and come back when they are due.
Walk us through the hardest LLM or ML system you’ve built: the problem, your decisions and alternatives, what went wrong in production, how you measured success, and exactly what you did.
Model answer, written in a candidate's voice
Illustrative: a fictional candidate's story to show the structure; not the author's experience.
- Problem framing: retrieval-augmented support assistant; success metric = conversations resolved without a human; constraints = p95 latency 4 s, ~2p per query, privacy, little labelled data (numbers illustrative)
- Alternatives: prompt-only (stale answers) vs fine-tuning (retrain on every doc change, no citations) vs RAG (re-index to update, ~400 ms extra latency); trade-offs with illustrative numbers
- Evaluation: offline eval set from real queries + online A/B; paraphrase recall@5 71% vs 90% overall, 86% after query rewriting and reranking (illustrative); human-handoff fallback
- Personal contribution vs team: eval harness and retrieval/reranking vs data pipeline and rollout
- Depth: why the metric choice mattered, why RAG over fine-tuning, why the failure mode was retrieval not generation
- Honesty note: figures are illustrative, not from a real system; swap in your own measured numbers
Pick one AI/ML system you led end to end. Present it in 15 minutes, then we’ll dig into your decisions.
Model answer, written in a candidate's voice
Illustrative: a fictional candidate's story to show the structure; not the author's experience.
- Problem, constraints, metrics: RAG assistant for a 150-person support team; 2-second budget, same-day policy freshness, UK GDPR, cost ceiling; success = handling time and expert-rated correctness
- Architecture and trade-offs: retrieval with citations over fine-tuning (weekly policy changes); agent-assist over direct answers
- What broke: stale citations from archived documents; fixed with versioning, expiry checks and a CI regression test
- Personal role vs team: I owned architecture, eval design and go/no-go; engineers built ingestion and serving; PM owned training
- Measured impact: handling time down about a fifth; correct-answer rate up on the labelled set
- What I would change: build the eval set and assign document owners before the first prototype
Walk me through taking an LLM-powered feature from idea to general availability. What are your gates?
Model answer, written in a candidate's voice
- Define problem, users, success metrics, non-goals, and guardrails first
- Build representative offline eval set with thresholds and failure taxonomy
- Run safety and red-team review; fix or explicitly accept issues
- Roll out behind a flag in stages and compare online metrics to baseline
- Monitor quality, latency, cost, errors, and feedback with rollback triggers
- Require cross-functional sign-off before GA and keep ownership after launch
You have finished this topic.
Reading
- Behavioral interviews for Software Engineers: How to prepare (Tech Interview Handbook)STAR plus reflection, choosing a small set of strong stories, and the questions that recur.
- Staff archetypesVocabulary for describing your role (tech lead, architect, solver) in senior and lead interviews.
- AI interview success: an interviewer's inside guide (Canva)An interviewer’s account of what is rewarded and penalised when candidates code with an AI assistant.
- How to Write Design Docs for Machine Learning SystemsA ready-made outline that doubles as the skeleton of a strong project deep dive.
- Postmortem Culture: Learning from Failure (Google SRE book)How to talk about failures blamelessly and turn them into systemic fixes.
- A Field Guide to Rapidly Improving AI ProductsError analysis and experiment-based roadmaps; good language for explaining how an AI project improved.
- Demystifying evals for AI agents (Anthropic)Grader types, pass@k versus pass^k and capability versus regression suites: the vocabulary for defending an agent project.
- Shape Up: Stop Running in Circles and Ship Work that MattersFree book on appetite, fixed time and variable scope; a concrete delivery model to contrast with sprints.
Practise this topic
- Walk us through the hardest LLM or ML system you’ve built: the problem, your decisions and alternatives, what went wrong in production, how you measured success, and exactly what you did.
- Pick one AI/ML system you led end to end. Present it in 15 minutes, then we’ll dig into your decisions.
- Walk me through taking an LLM-powered feature from idea to general availability. What are your gates?
- A UK retail bank wants a GenAI assistant for customer servicing and complaint triage live within six months. You own delivery. How do you plan it so it is safe, compliant and actually used?
- The company has run around 40 GenAI pilots over 18 months. None are in production and the board is losing patience. You have one quarter. What do you do?
- How do you measure whether an ML team is effective?
- Tell me about something you owned end to end under ambiguity and time pressure. How do you use AI coding tools in your daily work, and how do you check their output?
- Tell me about a time you lost people or budget mid-project and still delivered.
- Walk us through an agent you built and how you evaluated it. Did you report pass@k or pass^k, how many tasks were in the suite, how were model-based graders checked, and what separated your capability evals from your regression evals?
- Your CV lists a GRPO fine-tune of a small Qwen model that raised maths accuracy. Defend the result: what was the baseline, how do you know the base model could not already do this with a better prompt, and how did you rule out length bias and reward hacking?