Interview Q&A · questions with model answers

RAG Interview Questions

Part of the study plan for: Native AI Engineer · Forward Deployed Engineer (FDE)

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. RAG leaf: When is parent-document retrieval preferable to flat chunks?

    Parent-document retrieval is preferable to flat chunks when documents have hierarchical structure (manuals, legal text, technical specs) because it lets you retrieve on small, precise child chunks…

  2. RAG leaf: Compare dense retrieval vs sparse (BM25) for code search.

    For code search, dense retrieval (embedding-based) excels at semantic matching ("find functions that handle authentication") while sparse retrieval (BM25) excels at exact keyword and identifier…

  3. RAG leaf: How does multimodal RAG differ from text-only?

    Multimodal RAG extends text-only RAG by indexing and retrieving images, diagrams, charts, and other visual content alongside text. It requires multimodal embedding models that can embed both images…

  4. When is RAG the wrong tool?

    RAG is the wrong tool when the answer does not exist in your documents (the model needs to reason, compute, or create), when latency requirements are too tight for retrieval plus generation, when…

  5. RAG leaf: When should you use graph RAG?

    Graph RAG should be used when your knowledge base contains highly interconnected entities with complex relationships (organizational hierarchies, knowledge graphs, legal references, medical…

Was this page helpful?

Report a mistake