Key takeaways
- These interviews test whether you have debugged something in production, not whether you know transformer maths.
- "How do you know it is working" is the highest-signal question in the whole loop.
- Cost and latency questions separate people who have run systems from people who built demos.
- Treat hallucination as a system problem — what was retrieved, and was the question answerable at all.
- One small system you built, measured and broke answers nearly every question above.
What these interviews are really assessing
AI engineering interviews rarely probe how transformers work mathematically, because that knowledge barely affects the job. They probe whether you have built something that failed in production and worked out why.
That shapes how to prepare. Memorised definitions are easy to spot and carry little weight. Specific stories about a system that behaved badly, what you measured and what you changed are what interviewers remember.
The underlying question behind most of the loop is whether you will be surprised by things an experienced person expects. Candidates who already know that retrieval fails plausibly, that cost scales per request and that evaluation is the hard part need far less supervision, and interviewers are screening for exactly that.
The retrieval questions
Almost every interview covers retrieval, because almost every production system uses it. Expect to be asked how you would build one, then pressed on what happens when it returns the wrong thing.
The answer that separates candidates addresses ranking and evaluation rather than stopping at embeddings. Saying you would embed documents and retrieve the nearest matches describes a tutorial; explaining how you would know whether retrieval was the problem describes the job.
A detail that lands well is mentioning hybrid retrieval unprompted. Knowing that pure vector search misses exact tokens — an error code, a version, a product name — and that rank fusion is preferred to averaging incomparable scores signals that you have watched a real search fail.
- How would you chunk documents, and what breaks if chunks are too small?
- How do you know whether a wrong answer came from retrieval or generation?
- When would you add re-ranking, and what does it cost?
- How would you handle a question whose answer spans several documents?
- What would you do if the correct passage is retrieved but ignored?
The evaluation questions
Expect "how do you know it is working". This is the highest-signal question in the whole interview, because teams that have shipped these systems have an answer and teams that have not do not.
A strong answer describes a versioned set of real cases, automatic checks where properties are stateable, model-graded scoring where they are not, and running the whole thing on every change. Mentioning that you calibrate the grader against human judgement marks you out considerably.
The most persuasive version includes a regression the suite caught. Describing a change that looked better in casual testing and scored worse demonstrates the entire discipline in one anecdote, and very few candidates have one ready.
The cost and latency questions
These separate candidates who have run systems from those who have built demos. A demo has no cost problem; a production system has an invoice and a latency budget.
Be ready to reason out loud about token counts, what drives them, and the trade-off when a quality improvement doubles cost. Knowing that time to first token and total latency are different concerns, and matter differently in a streaming interface, is a small detail that signals real experience.
Have one concrete lever ready for each direction. Routing easy requests to a smaller model and caching a shared prefix are the two that most often produce large savings without touching quality, and naming them specifically is better than listing techniques abstractly.
- What drives cost per request, and how would you reduce it?
- How would you cut latency without hurting quality?
- When would you route to a smaller model?
- How do you decide whether a quality gain justifies its cost?
| Question | Weak answer | Strong answer |
|---|---|---|
| How do you handle hallucination? | Define the term | Check what was retrieved; was it answerable? |
| How do you know it works? | We test it manually | A versioned eval set run on every change |
| How would you cut cost? | Use a cheaper model | Measure what drives tokens, then route and cache |
| How do you stop prompt injection? | Filter malicious input | Remove the capability the injection would use |
| Design a support assistant | Sketch the architecture | Ask the error budget before designing |
The failure questions
You will be asked about hallucination, and the weak answer is a definition. The strong answer treats it as a system problem: what was retrieved, what the instructions said, whether the model was asked something unanswerable from the material it was given.
Similarly for prompt injection. Interviewers want to hear that the defence is architectural — limiting what the system can do — rather than a promise to detect malicious input, which does not work reliably.
The sentence that lands is that a model which can be talked into anything is survivable if it cannot reach anything worth taking. Candidates who move the control from the prompt to the permission boundary are demonstrating the exact judgement these roles need.
The system design round
Expect an open design problem: build a support assistant over company documentation, or a system that summarises legal contracts. These assess structured thinking more than any particular answer.
Start by asking what "good" means and what a failure costs, before proposing architecture. Candidates who design first and consider quality later signal that they have not run one of these systems, because evaluation is what dominates the work in practice.
Say what you would not build, too. Recognising that a fixed pipeline would serve better than an agent, or that the corpus is small enough to skip retrieval entirely, reads as judgement rather than as a lack of ambition.
- Clarify the acceptable error rate before designing
- Sketch the data path — ingestion, retrieval, generation, output handling
- Say how you would evaluate it, unprompted
- Address cost and latency without being asked
- Name what you would monitor once it is live
Preparing without production experience
Build one small system properly and break it deliberately. Give it a corpus, write thirty questions you know the answers to, measure how many it gets right, then improve that number and record what each change did.
That single exercise gives you concrete answers to nearly every question above. Interviewers are not expecting scale; they are listening for whether you have watched one of these systems be wrong and worked out why.
Keep the numbers. Being able to say that chunking by section took you from nineteen of thirty to twenty-four, and that a larger retrieval window made it worse, is the kind of specificity that cannot be invented on the spot and is remembered after the interview.
Frequently asked questions
Do AI engineer interviews ask about transformer internals?
Occasionally at a conceptual level, rarely mathematically. Most questions concern retrieval, evaluation, cost and failure handling — the things that determine whether a production system works.
What is the most important question to prepare for?
"How do you know it is working." Your answer to that reveals whether you have shipped one of these systems, and a specific account of an evaluation set and a regression it caught is the strongest response available.
How do I answer a question about hallucination?
Treat it as a system problem rather than defining the term. Discuss what was retrieved, whether the question was answerable from that material, and how you would measure the rate — not just that models sometimes invent things.
Can I pass an AI engineering interview without job experience?
Yes, with a built system you can discuss concretely. Build one, measure it, break it and improve it — then describe the measurements. That answers most interview questions better than experience described vaguely.
What detail most impresses in a retrieval question?
Raising hybrid retrieval unprompted — knowing that vector search misses exact tokens like error codes and versions, and that rank fusion beats averaging incomparable scores.
How should I answer a prompt injection question?
Move the control from the prompt to the permission boundary. A model that can be talked into anything is survivable if it cannot reach anything worth taking.
Further reading
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (opens in a new tab)arXivThe paper the term RAG comes from, worth reading before an interview that will ask about it.
- OWASP Top 10 for LLM Applications (opens in a new tab)OWASPThe vocabulary interviewers use for the failure and security questions.
Check this against your own resume
Scan your CV against a real job description, or build a parse-safe one from scratch. Your first scan costs nothing.
