Native AI Engineer · interview questions
Native AI Engineer interview questions: how it works
From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.
RAG Core 10
- Most asked RAG leaf: Explain query rewriting and multi-query retrieval.
- RAG leaf: How do citations should be mapped back to sources?
- RAG leaf: How do you handle stale documents in a knowledge base?
- RAG leaf: Explain corrective RAG / self-reflective retrieval loops.
- RAG leaf: Describe a failure mode when context is contradictory.
- How do you handle follow-up questions in conversational RAG?
- How can documents in a RAG index attack your system, and how do you defend?
- Where does the time and money go in a RAG pipeline, and how do you reduce it?
- Explain how a typical RAG pipeline works end to end.
- How do you handle access control and multi-tenancy in a RAG knowledge base?
Agents Core 6
- Agents leaf: How should tool schemas be designed?
- Agents leaf: How do you handle long-running workflows?
- How should an agent handle tool failures?
- Agents leaf: Explain observation formatting best practices.
- A support agent refunded the wrong order. How do you investigate?
- How does tool/function calling work with LLMs, and what design mistakes cause unreliable agents?
Prompt Engineering Core 8
- Most asked Prompt leaf: How do few-shot examples help?
- Prompt leaf: Role of delimiters and XML-ish tags?
- Prompt leaf: Tool-choice prompting strategies?
- Prompt leaf: How do temperature and top_p affect answers?
- Prompt leaf: Evaluating prompt changes without users?
- Prompt leaf: Dynamic prompts with retrieved context-ordering tips?
- Prompt leaf: How do you handle multilingual prompts?
- Prompt leaf: How do style guides enter prompts?
Evaluation Core 15
- Most asked Evaluation leaf: Pros/cons of LLM-as-judge?
- Most asked How do you decide whether a prompt change is an improvement?
- Evaluation leaf: Online metrics that matter?
- Evaluation leaf: Red teaming for LLM apps?
- Evaluation leaf: How do you detect regressions after a prompt change?
- Evaluation leaf: How do toxicity/safety classifiers fit?
- Evaluation leaf: CI gate example for RAG PRs?
- How do you handle personal data in LLM features?
- Evaluation leaf: Inter-annotator agreement-why care?
- Evaluation leaf: Statistical significance in A/B for LLM features?
- Evaluation leaf: Synthetic eval data-when OK?
- Evaluation leaf: Tracking eval debt?
- Evaluation leaf: Multimodal eval challenges?
- How do you handle non-determinism in LLM evaluations?
- A safety eval passes at 99%. Is the feature safe to launch?
LLM Ops Core 5
Vector Databases Core 6
MCP Core 3
Fine-tuning Recommended 9
- Fine-tuning leaf: Catastrophic forgetting-how to mitigate?
- Fine-tuning leaf: Serving multiple LoRA adapters?
- Fine-tuning leaf: Domain adaptation for code assistants?
- Fine-tuning leaf: License/compliance checks before FT?
- Fine-tuning leaf: Distillation use case?
- Fine-tuning leaf: Hyperparameters that matter most?
- Fine-tuning leaf: Continual fine-tuning strategy?
- Fine-tuning leaf: Hardware considerations?
- Fine-tuning leaf: Synthetic data-pros/cons?
AI-Assisted Development Recommended 3
Python Developer Recommended 47
- Most asked Explain generators in Python.
- Most asked Explain decorators in Python.
- Most asked Explain context managers in Python.
- Most asked Explain GIL in Python.
- Most asked Backend Python interview: explain N+1 queries.
- Most asked Backend Python interview: explain SQL injection prevention.
- Most asked Explain LEGB scoping in Python.
- Most asked Explain *args and **kwargs in Python.
- Most asked Explain list/dict/set comprehensions in Python.
- Most asked Explain dataclasses in Python.
- Most asked Explain dunder methods in Python.
- Most asked Explain structural pattern matching (`match`/`case`).
- Most asked Walk through the request/response lifecycle in Django, and explain why middleware order matters.
- Most asked Explain MRO / C3 in Python.
- Explain __name__ == '__main__' in Python.
- Python packaging: virtualenv why?
- Backend Python interview: explain REST API design.
- Backend Python interview: explain migrations.
- How does asyncio work internally: event loop, coroutines, tasks and futures?
- Explain typing / type hints in Python.
- Explain exceptions hierarchy in Python.
- Python packaging: dependency pinning?
- Backend Python interview: explain FastAPI / Starlette.
- Backend Python interview: explain connection pooling.
- Backend Python interview: explain caching strategies.
- Backend Python interview: explain JWT pitfalls.
- Backend Python interview: explain idempotent APIs.
- Backend Python interview: explain background jobs.
- Backend Python interview: explain observability.
- Backend Python interview: explain 12-factor config.
- How do cancellation and timeouts work in asyncio?
- How does CPython manage memory?
- Explain slots in Python.
- Explain ABC / Protocol in Python.
- Explain property / descriptor in Python.
- Python packaging: semantic versioning?
- Python packaging: editable installs?
- Python packaging: entry points / scripts?
- Backend Python interview: explain rate limiting.
- How do you handle dates and time zones correctly in Python?
- How do `functools.cache`, `lru_cache` and `cached_property` work, and what are the pitfalls?
- How did annotation evaluation change in Python 3.14?
- How do sorting, `heapq` and `bisect` help with common algorithmic tasks?
- How do classic design patterns look in idiomatic Python?
- How do descriptors power properties, methods and ORMs?
- Python packaging: namespace packages?
- How does Python's garbage collection work?
API Design Recommended 9
- Most asked How do idempotency keys work for POST requests?
- How should APIs format error responses?
- How should APIs support filtering, sorting and field selection?
- How should an API communicate rate limits to clients?
- How do APIs prevent lost updates from concurrent edits?
- How should APIs represent dates, times and money?
- How should APIs handle large file uploads and downloads?
- How can APIs leverage HTTP caching?
- How do APIs handle localization?
Behavioral & STAR Recommended 8
- Most asked Describe a disagreement you had with a coworker and how you resolved it.
- Most asked Describe a mistake that had a significant impact and how you handled it.
- Most asked Describe a project you owned from start to finish.
- Describe a situation where you had to make a decision without all the information you wanted.
- Describe how you decide what to work on when everything feels urgent.
- Describe how you handle working on something without a clear owner.
- Describe your approach to onboarding a new team member.
- Describe how you typically respond to criticism.