Skip to content
mentoor

Topic 4 of 5 · 5 min read

What AI engineering interviews expect

Goal: Name the common AI engineering interview formats and prepare one worked example for each.

AI engineering loops usually test four things: designing an LLM system, designing evals, debugging a retrieval pipeline, and coding with AI tools allowed; prepare one worked example for each, and say your trade-offs out loud. Loops differ by company, so treat this as a common pattern, not a rule.

Check yourself · 1 of 3

In a retrieval debugging round, what should you check first when answers are wrong?

Choose one answer

Why it matters

These formats reward a way of thinking: define the task, measure it, find the failure, fix the biggest cause. Memorised facts help little. A prepared example gives you a structure to fall back on when the question is unfamiliar.

The four formats

  1. LLM system design. "Design a support assistant for a bank." Walk through the user, the data, retrieval or tools, the model choice, guardrails, evals, latency and cost, and what you would log. State what you would build first and why.
  2. Eval design. "How would you know this summariser is good?" Define good answers, collect cases (including hard and adversarial ones), choose scoring (code checks, human review, model judge) and say how you would check the judge itself.
  3. Debugging a retrieval pipeline. You get symptoms: wrong answers on a few questions. Check in order: is the right passage in the index, does it come back in the top results, is it in the prompt, does the model use it? Split retrieval failures from generation failures before changing anything.
  4. Coding with AI allowed. You may use Copilot, Cursor or Claude. Interviewers watch how you direct it: do you plan first, read the output, run the code and catch its mistakes? Pasting without reading is the main way to fail.

How to prepare

  • Write one worked example per format, in a page each, using a project of yours.
  • Practise talking through trade-offs: cost against quality, latency against accuracy, workflow against agent.
  • Keep a short list of failures you have seen and how you found them. Specific stories beat general claims.
  • Practise saying "I do not know, here is how I would find out."

Before and after

Weak answer to "design a support assistant": "I would use a vector database and GPT with a good prompt." There is no data source, no measure and no failure plan.

Better: "First I would sample 200 real tickets to see what users ask. I would start with retrieval over the help centre, measure whether the right article is in the top 3, and add a handoff to a human for low-confidence answers. I would log every call and cost."

What goes wrong

  • Naming tools instead of reasoning. Interviewers want the trade-offs, not a stack list.
  • Skipping measurement. An answer with no eval plan reads as a demo builder.
  • Changing three things at once when debugging, so nothing is learned.
  • Not reading AI-generated code in a coding round.

Examples

A debugging order you can say aloud

Symptom: the assistant gives the old refund policy. Check in order: 1) is the new policy page in the index? 2) does the query return it in the top 5? 3) is it in the final prompt, or cut by the token limit? 4) does the model quote it or the older page? Each step has a different fix: re-index, change search, change packing, change instructions.

An eval-design answer skeleton

"I would take 100 real summaries requests, write what a good summary must contain for each, add 20 hard ones such as long threads and mixed languages, score facts with a checklist, and use a model judge only after comparing it to human ratings on 30 cases. I would track the score on every change."

Key points

  • Common formats are LLM system design, eval design, retrieval debugging and coding with AI allowed.
  • In design rounds, start from the users and data, then add measurement, guardrails, cost and a first version.
  • For retrieval bugs, separate whether the passage was indexed, retrieved, included and used before changing anything.
  • In AI-allowed coding rounds, interviewers watch how you plan, read, run and correct the tool's output.
  • Prepare one worked example per format from your own projects and practise explaining trade-offs aloud.

Common mistakes

  • Answering design questions with a list of products and no reasoning.
  • Offering no way to measure quality in a system design answer.
  • Changing prompt, chunk size and model together while debugging.
  • Letting the AI tool write code in a live round without reading or running it.

Check yourself · 2 of 3

What do interviewers mostly watch for in a coding round where AI tools are allowed?

Choose one answer

Check yourself · 3 of 3

Which answer to "design a support assistant" is strongest?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic