AI engineer interview questions: 25 that test whether you have built anything
AI engineer interviews test whether you have built an LLM system and seen it fail, not whether you can define terms. The 25 questions below are grouped by topic, with what each group is really checking. They are drawn from the topics the role covers, not from any one company’s interview.
LLM fundamentals and APIs
- What is a token, and why does it matter for cost and limits?
- What does temperature change, and when would you set it to zero?
- How do you get reliable JSON out of a model?
- How does tool calling work, step by step?
- Your prompt works on ten examples. How do you know it works in general?
Being tested: that you have called the API directly and handled its failures.
RAG
- Walk me through a RAG pipeline from document to answer.
- How do you choose a chunk size?
- The answer is wrong. How do you tell whether retrieval or generation failed?
- How do you stop a user seeing documents they should not?
- When would you choose fine-tuning over RAG?
Being tested: that you can debug the two halves separately.
Agents
- What is the difference between an agent and a workflow?
- How do you stop an agent looping forever?
- A tool fails halfway through a task. What should happen?
- How would you give an agent memory across sessions?
- What is MCP, and when would you use it?
Being tested: judgement about when not to use an agent.
Evaluation and quality
- How do you evaluate a system whose output varies?
- When would you trust a model to grade another model?
- How did you build your last test set?
- A prompt change improved the average score but one customer complained. What do you do?
- What is hallucination, and how do you reduce it?
Being tested: whether you measure, or only demo.
Production
- What do you log for every model call?
- The monthly bill doubled. How do you find out why?
- What is prompt injection, and how do you defend an agent that reads email?
- How do you handle a provider outage or a rate limit?
- Tell me about a system you shipped and what broke first.
Being tested: that you have been responsible for something real.
How to prepare
- Build one system end to end and keep notes on every failure. Question 25 decides most interviews.
- Practise explaining a design aloud in two minutes, then in ten.
- For each answer, have one concrete example and one number you measured yourself.
For customer-facing roles, also see the Forward Deployed Engineer interview questions, which add case and discovery rounds.
Zero to FDE is a self-paced 16-week course, ₹2,999 once, with a 7-day full refund. Week 1 is free, and one Week 4 lesson is free if you already write backend code. It has no live classes, no mentors and no accredited certificate.
Zero to FDE is a 16-week path, for working engineers and AIML graduates, to the work Forward Deployed Engineers do: backend basics, LLMs, RAG, agents, evaluation and deployment, with a shipped deliverable every week. Week 1 is free and complete, no card needed.
Start Week 1 freeMore from the blog
- Forward Deployed Engineer jobs in 2026: what the data says
- What is RAG? Retrieval-augmented generation, explained with working code
- What is an AI agent? The agent loop, explained with code
- AI engineer roadmap 2026: what to learn, and in what order
- Will AI replace software engineers? What the data says in 2026
- Forward Deployed Engineer courses in India (2026): fees, format and how they compare
- Forward Deployed Engineer vs ML engineer: which AI role fits you?
- Forward Deployed Engineer salary in India: what the 2026 data says for 2027
- Forward Deployed Engineer interview questions: the six rounds and how to answer
- Why Forward Deployed Engineer is a smart next move for a software engineer
- Forward Deployed Engineer certification in 2026: what exists, what it costs, and what employers check
- Forward Deployed Engineer skills: what 1,000 job posts ask for
- Forward Deployed Engineer vs Solutions Engineer: the real difference
- Forward Deployed Engineer resume: what to put on one page
- Forward Deployed Software Engineer (FDSE): what the Palantir title means
- Forward deployed AI engineer, AI deployment engineer, FDE: the titles explained
- Prompt injection explained: what it is and how to defend against it
- Context engineering explained: beyond prompt engineering
- RAG vs fine-tuning: which one to use, and when
- LLM evals explained: how to test a system that gives different answers
- LLM observability explained: traces, cost and what to log
- Tool calling explained: how an LLM uses your functions
- What is MCP? The Model Context Protocol explained
- AI agent vs workflow: which one does your problem need?
- AI engineer vs ML engineer: what each one does
- What is a vector database? Explained with a 30-line example
- EY now hires Forward Deployed Engineers for audit. The role is leaving the AI labs
- LangGraph explained: state, nodes and edges, with a 30-line example
- Randstad: 90% of Indian employers are growing tech teams for AI. What it means for engineers
- AI agent memory explained: short-term vs long-term, with a tested example
- LLM cost optimization: prompt caching, batching and model routing, with the numbers
- Structured outputs from an LLM: JSON schema, validation and retries
- Embeddings explained: vectors, cosine similarity and dimensions
- Data engineer to AI engineer: what carries over and what to learn
- AWS launches a Forward Deployed Engineering Competency, with Infosys, TCS and Coforge among 22 launch partners
- Forward Deployed Architect: what the role is, certifications and courses
- Persistent launches a Forward Deployed Engineering program with Microsoft, a day after NIIT's FDE talent blueprint
- How to become an AI engineer in India: the route depends on where you start
- Self-paced Forward Deployed Engineer courses in India under ₹10,000 (and under ₹3,000)
- AWS and OpenAI will jointly staff forward deployed engineering teams inside customer environments
- Backend developer to AI engineer: what carries over and what to learn
- Claude now runs on premises in customers' own data centers through AWS AI Factories
- Agentic AI courses compared: four free options, and what a course must make you build
- AWS: attacks on AI systems grew about 800% in 2026, and an AI agent broke into a decoy MCP server in 12.7 minutes