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

  1. Most asked RAG leaf: Explain query rewriting and multi-query retrieval.
  2. RAG leaf: How do citations should be mapped back to sources?
  3. RAG leaf: How do you handle stale documents in a knowledge base?
  4. RAG leaf: Explain corrective RAG / self-reflective retrieval loops.
  5. RAG leaf: Describe a failure mode when context is contradictory.
  6. How do you handle follow-up questions in conversational RAG?
  7. How can documents in a RAG index attack your system, and how do you defend?
  8. Where does the time and money go in a RAG pipeline, and how do you reduce it?
  9. Explain how a typical RAG pipeline works end to end.
  10. How do you handle access control and multi-tenancy in a RAG knowledge base?

Agents Core 6

  1. Agents leaf: How should tool schemas be designed?
  2. Agents leaf: How do you handle long-running workflows?
  3. How should an agent handle tool failures?
  4. Agents leaf: Explain observation formatting best practices.
  5. A support agent refunded the wrong order. How do you investigate?
  6. How does tool/function calling work with LLMs, and what design mistakes cause unreliable agents?

Prompt Engineering Core 8

  1. Most asked Prompt leaf: How do few-shot examples help?
  2. Prompt leaf: Role of delimiters and XML-ish tags?
  3. Prompt leaf: Tool-choice prompting strategies?
  4. Prompt leaf: How do temperature and top_p affect answers?
  5. Prompt leaf: Evaluating prompt changes without users?
  6. Prompt leaf: Dynamic prompts with retrieved context-ordering tips?
  7. Prompt leaf: How do you handle multilingual prompts?
  8. Prompt leaf: How do style guides enter prompts?

Evaluation Core 15

  1. Most asked Evaluation leaf: Pros/cons of LLM-as-judge?
  2. Most asked How do you decide whether a prompt change is an improvement?
  3. Evaluation leaf: Online metrics that matter?
  4. Evaluation leaf: Red teaming for LLM apps?
  5. Evaluation leaf: How do you detect regressions after a prompt change?
  6. Evaluation leaf: How do toxicity/safety classifiers fit?
  7. Evaluation leaf: CI gate example for RAG PRs?
  8. How do you handle personal data in LLM features?
  9. Evaluation leaf: Inter-annotator agreement-why care?
  10. Evaluation leaf: Statistical significance in A/B for LLM features?
  11. Evaluation leaf: Synthetic eval data-when OK?
  12. Evaluation leaf: Tracking eval debt?
  13. Evaluation leaf: Multimodal eval challenges?
  14. How do you handle non-determinism in LLM evaluations?
  15. A safety eval passes at 99%. Is the feature safe to launch?

LLM Ops Core 5

  1. Most asked LLM Ops leaf: Strategies to cut LLM cost without tanking quality?
  2. LLM Ops leaf: How do you handle provider outages?
  3. LLM Ops leaf: Describe shadow deployment for a new model.
  4. LLM Ops leaf: Explain canary analysis for embeddings reindex.
  5. LLM Ops leaf: How do rate limits interact with UX?

Vector Databases Core 6

  1. Vector DB leaf: Re-ranking after ANN retrieval?
  2. Vector DB leaf: Multi-tenancy strategies?
  3. Vector DB leaf: Sparse + dense vector fusion?
  4. Vector DB leaf: Explain product quantization briefly.
  5. Vector DB leaf: Cold start for a new corpus?
  6. Vector DB leaf: Handling near-duplicate documents?

MCP Core 3

  1. Explain hosts, clients and servers in MCP.
  2. How does authorization work for remote MCP servers?
  3. Walk through the lifecycle of an MCP connection.

Fine-tuning Recommended 9

  1. Fine-tuning leaf: Catastrophic forgetting-how to mitigate?
  2. Fine-tuning leaf: Serving multiple LoRA adapters?
  3. Fine-tuning leaf: Domain adaptation for code assistants?
  4. Fine-tuning leaf: License/compliance checks before FT?
  5. Fine-tuning leaf: Distillation use case?
  6. Fine-tuning leaf: Hyperparameters that matter most?
  7. Fine-tuning leaf: Continual fine-tuning strategy?
  8. Fine-tuning leaf: Hardware considerations?
  9. Fine-tuning leaf: Synthetic data-pros/cons?

AI-Assisted Development Recommended 3

  1. How should a team measure the impact of AI coding tools?
  2. Will relying on AI assistants erode a developer's skills? How do you prevent it?
  3. How do licensing concerns apply to AI-generated code?

Python Developer Recommended 47

  1. Most asked Explain generators in Python.
  2. Most asked Explain decorators in Python.
  3. Most asked Explain context managers in Python.
  4. Most asked Explain GIL in Python.
  5. Most asked Backend Python interview: explain N+1 queries.
  6. Most asked Backend Python interview: explain SQL injection prevention.
  7. Most asked Explain LEGB scoping in Python.
  8. Most asked Explain *args and **kwargs in Python.
  9. Most asked Explain list/dict/set comprehensions in Python.
  10. Most asked Explain dataclasses in Python.
  11. Most asked Explain dunder methods in Python.
  12. Most asked Explain structural pattern matching (`match`/`case`).
  13. Most asked Walk through the request/response lifecycle in Django, and explain why middleware order matters.
  14. Most asked Explain MRO / C3 in Python.
  15. Explain __name__ == '__main__' in Python.
  16. Python packaging: virtualenv why?
  17. Backend Python interview: explain REST API design.
  18. Backend Python interview: explain migrations.
  19. How does asyncio work internally: event loop, coroutines, tasks and futures?
  20. Explain typing / type hints in Python.
  21. Explain exceptions hierarchy in Python.
  22. Python packaging: dependency pinning?
  23. Backend Python interview: explain FastAPI / Starlette.
  24. Backend Python interview: explain connection pooling.
  25. Backend Python interview: explain caching strategies.
  26. Backend Python interview: explain JWT pitfalls.
  27. Backend Python interview: explain idempotent APIs.
  28. Backend Python interview: explain background jobs.
  29. Backend Python interview: explain observability.
  30. Backend Python interview: explain 12-factor config.
  31. How do cancellation and timeouts work in asyncio?
  32. How does CPython manage memory?
  33. Explain slots in Python.
  34. Explain ABC / Protocol in Python.
  35. Explain property / descriptor in Python.
  36. Python packaging: semantic versioning?
  37. Python packaging: editable installs?
  38. Python packaging: entry points / scripts?
  39. Backend Python interview: explain rate limiting.
  40. How do you handle dates and time zones correctly in Python?
  41. How do `functools.cache`, `lru_cache` and `cached_property` work, and what are the pitfalls?
  42. How did annotation evaluation change in Python 3.14?
  43. How do sorting, `heapq` and `bisect` help with common algorithmic tasks?
  44. How do classic design patterns look in idiomatic Python?
  45. How do descriptors power properties, methods and ORMs?
  46. Python packaging: namespace packages?
  47. How does Python's garbage collection work?

API Design Recommended 9

  1. Most asked How do idempotency keys work for POST requests?
  2. How should APIs format error responses?
  3. How should APIs support filtering, sorting and field selection?
  4. How should an API communicate rate limits to clients?
  5. How do APIs prevent lost updates from concurrent edits?
  6. How should APIs represent dates, times and money?
  7. How should APIs handle large file uploads and downloads?
  8. How can APIs leverage HTTP caching?
  9. How do APIs handle localization?

Behavioral & STAR Recommended 8

  1. Most asked Describe a disagreement you had with a coworker and how you resolved it.
  2. Most asked Describe a mistake that had a significant impact and how you handled it.
  3. Most asked Describe a project you owned from start to finish.
  4. Describe a situation where you had to make a decision without all the information you wanted.
  5. Describe how you decide what to work on when everything feels urgent.
  6. Describe how you handle working on something without a clear owner.
  7. Describe your approach to onboarding a new team member.
  8. Describe how you typically respond to criticism.

Was this page helpful?

Report a mistake