Native AI Engineer · interview questions
Native AI Engineer interview questions: how you'd do it
From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.
RAG Core 16
- Most asked RAG leaf: How do you measure retrieval quality independently of generation?
- Most asked RAG leaf: How do you prevent prompt injection via retrieved documents?
- Most asked RAG leaf: How do you evaluate faithfulness of answers?
- Most asked How do you choose a chunking strategy for RAG?
- Most asked How do you enforce permissions and tenant isolation in RAG?
- Most asked How do you make RAG answers grounded and verifiable?
- Most asked How do you evaluate a RAG system?
- Most asked RAG leaf: How do you choose top-k and context budget?
- RAG leaf: How would you RAG over tables and structured data?
- RAG leaf: How do you ingest PDFs with complex layouts?
- RAG leaf: How do you A/B test a new embedding model?
- RAG leaf: What SLOs would you set for a customer-facing RAG assistant?
- How do you assemble retrieved chunks into a good prompt?
- How would you choose a vector store for a new RAG project?
- How do you choose chunk size and chunking strategy for RAG?
- What causes hallucinations in RAG systems, and how do you reduce them?
Agents Core 13
- Most asked Agents leaf: How do you prevent infinite tool loops?
- Most asked How do you stop an agent from looping forever or running up a huge bill?
- Most asked How do you evaluate an agent?
- Agents leaf: How do you evaluate agent task success?
- Agents leaf: How do you sandbox tool execution?
- Agents leaf: How do you cost-control agentic features?
- What should you trace for an agent in production?
- How would you reduce an agent's latency and cost?
- How do you design tool definitions so the model doesn't misuse them?
- How do you protect an agent from prompt injection through tool results?
- How do you choose between building your own agent loop and using a framework?
- How do you give an agent memory across sessions?
- How would you sandbox an agent that can run code?
Prompt Engineering Core 6
- Most asked Prompt leaf: What makes a good system prompt?
- Most asked Prompt leaf: How do you mitigate prompt injection?
- Most asked Prompt leaf: How do you reduce hallucinations via prompting?
- Prompt leaf: How do you version and test prompts?
- Prompt leaf: How do you design refusal behavior?
- How do you defend against prompt injection in an application that uses retrieved documents or user content?
Evaluation Core 13
- Most asked How do you build an evaluation set for an LLM feature?
- Most asked What guardrails would you put around an LLM feature?
- Evaluation leaf: How do you evaluate agents?
- Evaluation leaf: How do you sample production traffic for review?
- Evaluation leaf: How do you evaluate citation quality?
- How do you monitor LLM quality in production?
- How would you red-team an LLM feature?
- How do you balance safety filtering against over-refusal?
- How do you write a good rubric for a model grader?
- What metrics would you track for an LLM support assistant?
- How do you evaluate an LLM feature before you have real traffic?
- How would you evaluate a production RAG or agent system beyond 'it looks good'?
- What guardrails would you put around an LLM-powered customer-facing feature?
LLM Ops Core 9
- Most asked LLM Ops leaf: How do you manage prompt versions?
- LLM Ops leaf: How do you redact PII in LLM logs?
- LLM Ops leaf: How do you set latency SLOs for streaming chat?
- LLM Ops leaf: How do you prevent training/serving skew for RAG indexes?
- LLM Ops leaf: What metrics indicate quality regression after a prompt change?
- LLM Ops leaf: How do you secure API keys for model providers?
- LLM Ops leaf: How do you budget tokens for RAG prompts?
- LLM Ops leaf: How do you capacity-plan token usage?
- How do you manage latency and cost for production LLM applications?
Vector Databases Core 5
MCP Core 2
Fine-tuning Recommended 4
AI-Assisted Development Recommended 5
- Most asked How do you use AI coding assistants effectively without lowering code quality?
- Most asked How do you review a pull request that was largely written by AI?
- How would you use an AI assistant for test-driven development?
- How do you refactor legacy code safely with an AI assistant?
- How do you debug effectively with an AI assistant?
Python Developer Recommended 4
API Design Recommended 7
- Most asked What makes an API RESTful, and what are good REST design practices?
- Most asked How should you version an API?
- How do you design reliable webhooks?
- How do you design APIs for long-running operations?
- What makes a great developer experience for a public API?
- How do you design event-driven APIs (events between services)?
- How do you deprecate an API endpoint responsibly?