AI Engineer interview questions

Each question below includes what the interviewer is actually testing. That matters more than the answer itself — once you know what is being probed, you can answer from your own experience instead of reciting someone else’s script, which is obvious to everyone in the room.

1

“How do you know your LLM feature is working?”

What they are really testing

Whether you have an evaluation practice or you shipped on impressions. This is the fastest way to separate people who have run something in production from people who have built demos.

How to answer

Describe your eval set: how many cases, where they came from (production failures are the best answer), and what you measure. Say explicitly what your pass bar was and what you did when a change regressed it. If you only had manual spot checks, say so and explain what you would build first.

2

“Your RAG system returns confident but wrong answers. Walk me through diagnosing it.”

What they are really testing

Whether you can separate retrieval failure from generation failure. Most candidates immediately blame the model, which is usually wrong.

How to answer

Check retrieval first and in isolation: for a failing question, is the correct chunk in the retrieved set at all? If it is not, the problem is chunking, embeddings, or reranking — not the model. Only if the right context was retrieved and ignored is it a generation or prompt problem. Mention measuring recall@k rather than eyeballing.

3

“When would you not use an LLM?”

What they are really testing

Engineering judgment. Enthusiasm is cheap in this field; knowing the limits is what makes someone safe to hire.

How to answer

Name a concrete case: deterministic extraction from structured documents, anything with a hard correctness requirement and no review step, latency budgets under roughly 100ms, or a task a regex and a lookup table already solve. The strongest version is a time you argued against using one and were right.

4

“How would you cut the inference cost of a feature in half without users noticing?”

What they are really testing

Whether you treat cost as an engineering constraint. This is the question most likely to expose someone who has never owned a bill.

How to answer

Work down the obvious levers: route easy requests to a smaller model with a quality gate, cache aggressively at the prompt-prefix and response level, trim retrieved context (most RAG prompts carry far more than they need), and shorten outputs. Say how you would verify quality held — this loops back to evals.

5

“How do you handle prompt injection in a system with tool access?”

What they are really testing

Security instinct for nondeterministic systems. Increasingly asked, and frequently answered with hand-waving.

How to answer

Treat model output as untrusted input. Constrain what tools can do rather than trying to instruct the model out of misbehaving — allowlists, scoped credentials, no destructive actions without confirmation. Separate retrieved content from instructions in the prompt. Say plainly that prompt-level defences alone are not sufficient.

6

“Tell me about a model change you shipped that made things worse.”

What they are really testing

Whether you can detect regression at all, which requires having had a baseline.

How to answer

Name what regressed and how you found out — ideally from an eval suite or a monitored metric rather than a user complaint. Explain the rollback and what you added so the same class of regression would be caught before release next time.

Before the interview, get past the screen

None of this matters if your resume is filtered out first. The most common cause is not a weak background — it is a document that screening software cannot read correctly, or one that lists duties where it should show results.

Check your resume against ai engineer keywords or run a full scan. Both are free and take about three seconds.