Interview Practice

Live Coding

Implement a small, testable piece of an AI application against fixtures.

What interviewers evaluate

  • Clarifying the contract
  • Writing or running fixture tests
  • Handling edge cases
  • Narrating failure modes

What you will be asked

Implement a small, testable piece of an AI feature against fixtures.

In the room

A contract, a fixture table, and a function to implement in a shared editor. The interviewer watches how you clarify, test, and handle edge cases.

Timebox

45-60 minutes

Mock interview

A timed answer to a random question from this level, then the reference answer and your score.

Start a mock interview

How to practice

  • Open a linked question, read only the context and the fixture table, then solve the exercise in the coding workspace before you look at the reference code.
  • Run the tests early and often, and say out loud what each failure tells you.
  • With a peer: they answer contract questions only when asked and note every assumption you make silently.

What a strong answer shows

  • Clarifies the input contract and the order of checks
  • Writes or runs fixture tests before calling the work done
  • Handles the fixture edge cases and at least one more
  • Takes trusted values (tenant, user, permissions) from context, never from untrusted input
  • Names the remaining failure modes

Questions for this level

Each question opens on its Practice tab, and Previous and Next follow this list.

Prompting & Structured Output

Medium
Hands-on

3 h

Implement a dependency-free validator for a ticket contract, classify each fixture failure by layer, and design a two-attempt recovery that never commits invalid output.

Embeddings & Retrieval

Medium
Hands-on

3 h

Rank four help articles by shared words and by cosine similarity, score both rankings against labels, and explain a dense miss and an accidental lexical success.

RAG & Data Pipelines

Medium
Hands-on

3 h

Trace a missing policy exception through ingestion, eligibility, and context packing without weakening access rules.

Tool Calling & Agents

Medium
Hands-on

3 h

Implement a get_ticket adapter that validates model-proposed arguments, takes tenant scope from trusted context, and passes a fixture table, then explain how a bounded orchestrator handles timeouts, invalid calls, and parallel lookups.

Security & Privacy

Medium
Hands-on

3 h

Implement a context selector that enforces tenant, group, and deletion rules before ranking, then design tests proving that forbidden records and internal notes never reach the model-bound payload.

Model Adaptation

Medium
Hands-on

3 h

Implement a split validator for a fine-tuning dataset, predict its results on fixture cases, find the leaks it cannot catch, and plan a supervised fine-tuning experiment against a prompted baseline.

Multimodal & Document AI

Medium
Hands-on

3 h

Implement a validator for page-region citations and predict its result on fixed cases. Then design extraction for a mixed PDF with a rotated scan and a table split across two pages.

AI Application Integration

Medium
Hands-on

3 h

Implement a pure reducer that keeps a streamed answer consistent through stale runs, replays, gaps, and stops, and predict its transitions. Then review a fetch integration for decoding, framing, cancellation, and end-of-stream defects.

Model Serving & Inference

Medium
Hands-on

3 h

Summarize per-request timing records into latency, TTFT, request TPOT, and throughput with failures kept in the counts, then use a KV memory estimate and stage timings to find what limits a long-prompt load profile.

AI Product & Experimentation

Medium
Hands-on

3 h

Write the experiment contract and sample-size plan for a staged-hints A/B test, implement a validated per-arm summary of outcomes and costs, and explain which checks and guardrails must pass before a lift can justify shipping.

ML & Data Foundations

Medium
Hands-on

3 h

Implement an audit that flags leaky features, preprocessing, time splits, selection, and mismatched reports, predict its findings on five fixture experiments, and diagnose why a churn model that looked excellent offline failed after launch.

AI Developer Tooling

Medium
Hands-on

3 h

Implement the request handler of a small read-only MCP server that validates tool arguments from their declared schemas and puts each failure in the right channel, then review the trust model of adding a shell tool and installing a third-party server.

Follow-up questions

An interviewer may ask these next.

  • Which test would catch a check done in the wrong order?
  • What changes if this function becomes asynchronous?
  • How would you make this operation safe to retry?
  • What would you log, and what must you never log?

Scoring rubric

Interview ready at 8 of 10 with no 0.

Dimension012
Problem framingJumps to a solution or solves the wrong problemRestates the problem but misses key constraints or success criteriaClarifies goals, constraints, and success criteria before solving
CorrectnessKey claims or code are wrongMostly right with gaps or unhandled casesCorrect and precise, including edge cases
Evidence or testingNo way to verify the answerGeneric testing ideasConcrete fixtures, metrics, or traces that would confirm or refute the approach
Trade-offsOne option, no alternativesNames alternatives superficiallyCompares options against the stated constraints and says what would change the decision
CommunicationDisorganized or unclearUnderstandable but meanderingStructured and concise; states assumptions; checks in with the interviewer