AI engineer interview questions test whether you can build and run a product on top of a language model: serving and batching, retrieval and agent design, evaluation, practical coding and a deep dive on a project you built. Below are questions candidates reported from real loops, grouped by round, with what each one tests and how to structure your answer.
Checked on . Reported questions come from Exponent's question bank (republished by Penn), which says each was reported by a candidate, and from individual candidate reports; each links to its source. We did not check them with the companies. The company in brackets is the one the source names; questions marked "practice prompt" were written for this page.
What the loop looks like
Exponent's guide, republished by Penn Career Services, says these questions show up inside software engineer, ML engineer and forward-deployed loops at AI-first companies, and that "the 'AI engineer' screen is a SWE screen with retrieval and serving questions layered in". So expect ordinary coding and system design too, with model-specific questions on top.
Candidate reports describe the rounds. One Applied Engineer candidate's Exponent (Aced) report lists a recruiter screen, a coding and a system design phone round, then an onsite of coding, system design, a technical deep dive on their own project and behavioural. Another Full Stack Engineer report describes a refactoring exercise, a past-project presentation with slides and a leadership conversation. Formats vary by company and team, so ask your recruiter which rounds you have.
If you need the basics first (tokens, embeddings, temperature, when to fine-tune), start with AI interview questions.
LLM serving and inference
The guide calls this "the most distinctive AI-engineering category".
"Design an inference batching system for a single GPU that can handle up to 100 inputs per batch while users wait synchronously, maximizing utilization under compute constraints." (Anthropic, source)
What it tests: whether you can name the throughput-versus-latency trade-off and control it.
How to structure it: state the tension first (bigger batches use the GPU better, but early requests wait). Then the design: a queue, a scheduler that fires on a maximum batch size or a maximum wait, one forward pass, results returned to callers. Finish with the dials and one production detail: the wait window, grouping by sequence length, backpressure when the queue grows, or continuous batching for token generation.
"Design an API that lets users sample from large language models efficiently, with good batching and request orchestration." (Anthropic, source)
What it tests: the same trade-off from the API side: limits, queuing, streaming and failure handling.
How to structure it: requirements and limits, then the request path, then what happens under load and when a request fails.
RAG and agent design
The guide says these questions "reward guardrails, cost control, and a human fallback".
"Design an insurance-claims agent that ingests claims and outputs an approval decision using RAG, while controlling LLM/token cost." (Scale AI, source)
What it tests: whether you treat cost and risk as design constraints, not afterthoughts.
How to structure it: scope the output first (approve, deny or escalate, with a reason). Then the pipeline: index policy documents, retrieve the relevant clauses for each claim, ask for a structured answer. Then three sections: guardrails (high-value or low-confidence claims go to a person), cost (cache embeddings, retrieve a tight top-k, route easy cases to a smaller model, cap tokens) and evaluation (measure retrieval and decisions separately).
"Build your own customer service AI agent for a hypothetical outdoors company." (Sierra, source)
What it tests: product sense as much as architecture: what the agent may do, and when it hands over.
How to structure it: list the top three customer requests, the tools or data each one needs, what the agent must refuse, and the handover to a human. Then the architecture.
"Have you built any end-to-end agentic systems?" (Glean, source)
What it tests: real experience, and honesty about its size.
How to structure it: one system, what it did end to end, one failure you found and how you fixed it. If your answer is a weekend project, say so and go deep on it. For a full set of agent questions, see agentic AI interview questions.
Model behaviour and evaluation
"A deployed conversational model gives confident but factually wrong answers in high-risk contexts. How would you investigate and mitigate it?" (Anthropic, ML engineer, source)
What it tests: a debugging method under uncertainty, and whether you measure before you fix.
How to structure it: quantify first with an eval set of high-risk prompts. Then separate the causes: missing facts (retrieval), wrong-and-confident regardless (calibration) or a prompt that never allows "I'm not sure". Then layered fixes, including routing the riskiest cases to a person. Close by re-running the eval to confirm the fix didn't make the model unhelpful.
"How do you catch regressions when you change a prompt or swap a model?" (source)
What it tests: whether you have shipped and maintained an LLM feature.
How to structure it: a fixed eval set, a pass/fail or scored check per case, a comparison before release, and what you do when a change fixes some cases and breaks others.
"What does LLM-as-a-judge do, and what are its failure modes?" (source)
How to structure it: one-sentence definition, one use, then the limits: the guide's tip is to validate any judge against human labels, since judges drift and carry biases.
Practical coding
The guide says coding rounds at these companies are often project-style: build a working feature or debug unfamiliar code. Its examples include "Debug and extend a Python codebase to add an async exponential retry mechanism with timeouts and backoff" (Sierra, source) and "Design and implement an in-memory key-value store with set, transactional begin, commit, and abort" (OpenAI, xAI, source).
What they test: working code that holds up on edge cases, and whether you can explain it.
How to structure it: say your plan before you type, handle empty and malformed input on purpose, and leave time for one test. Some formats allow an AI assistant and some don't; follow the interview's instructions. Where it is allowed, the guide's advice is to read every line it produces, because pasting code you can't explain is the failure mode.
The project deep dive and behavioural round
Both reports above include a round about your own work: a technical deep dive in one, a presentation with slides on "the most technically challenging thing I'd built" in the other. That candidate said the clearest feedback afterwards was that scale mattered a lot in the project round.
Practice prompts written for this page:
- Walk me through an AI feature you built: the problem, the design, how you measured quality and what you would change.
- Tell me about a time a model's output was wrong in production. How did you find out?
- What did you decide not to build, and why?
How to structure them: context in two sentences, your decisions with the reason for each, a number you actually measured, and one thing you would do differently. Expect follow-ups on scale, cost and failure cases.
Rehearse the spoken part
Design and deep-dive rounds are spoken, so practise them spoken. Explaining a batching design out loud in five minutes is a different skill from reading a model answer.
Interview Copilot's Coach asks likely questions for the role you enter, such as AI engineer, and scores each spoken answer from 1 to 5 on substance, structure, relevance, credibility and differentiation. Technical and system design practice is verbal only, with no code editor or code execution, and those questions stay general rather than built around your own systems. For the behavioural round, Practice mode gives one correction and one retry of the same question. Free includes 20 Coach minutes a month with no card; only recording time counts.
For the behavioural stories, see our behavioural interview questions guide. For a step-by-step way to talk through a design, see system design for beginners.
Frequently asked questions
What questions are asked in an AI engineer interview?
Reported questions cover LLM serving and batching, RAG and agent design, evaluating model behaviour, project-style coding, and a deep dive on a project you built, alongside ordinary coding and system design.
Is an AI engineer interview different from a software engineer interview?
Partly. The guide we cite describes the AI engineer screen as a software engineering screen with retrieval and serving questions added. Prepare for both.
How should I answer an LLM system design question?
State the trade-off first, then a simple design, then guardrails, cost controls and how you would evaluate it. Interviewers listen for the trade-offs and for at least one production detail.
Can I use an AI assistant in the coding round?
It depends on the company and the round. Some formats allow it and others don't. Follow the instructions you are given, and ask the recruiter if they are unclear.
How do I prepare for the project deep dive?
Pick one project you know end to end. Prepare the problem, the design choices, a real measured result, a failure and what you would change. Practise explaining it aloud in ten minutes, then answer follow-ups on scale and cost.
Practise the spoken rounds with Interview Copilot's Coach before your loop. Start free. Back to Interview Copilot.