RAG and retrieval
Advanced RAG interview questions
The advanced rag questions that keep coming up in AI engineer interviews. The first 3 come with full answers.
Updated 2026-09-05
01
What does basic RAG get wrong often enough that advanced RAG exists to fix?
Basic RAG does one similarity search on the user's raw question and hopes the top-k chunks are right. In practice the retrieval is what breaks: a question is worded nothing like the document that answers it, key facts get split across separate chunks, and a single search only ever asks once. A great model handed the wrong passages still gives a wrong answer, so advanced RAG focuses almost entirely on getting the right text in front of the model.
02
How do query rewriting, multi-query, and HyDE each improve the search before retrieval happens?
All three fix the query before searching. Rewriting rephrases a vague or messy question into something cleaner. Multi-query turns one question into several rewordings, searches with each, and unions the results, so a single bad phrasing doesn't sink you. HyDE (Hypothetical Document Embeddings) goes further: the model drafts a fake answer to the question and searches with that, because an answer looks far more like the real document than a question does.
03
Why does HyDE search with a made-up answer instead of the user's raw question?
Vector search returns whatever is nearest in meaning-space, and a question ("why is onboarding slow?") lands far from the paragraph that answers it. A drafted answer uses the same vocabulary and shape as the real document, so it sits right next to it — the search then retrieves the true passages. The draft doesn't have to be correct; it only has to be shaped like the target. The risk is that on a niche topic the model can invent a wrong premise and steer the search off.
Also asked in interviews
- What does GraphRAG add over flat chunk retrieval, and what kind of question does it unlock?
- What do a reranker and hybrid search fix, and why are they often enough on their own?
- How does agentic RAG's search-read-decide-search-again loop work, and what does it cost you?
These 3 run inside the bootcamp as recall drills and voice mock interviews. You answer, the AI grades.
Knowing an answer and saying it under pressure are two different days. Inside Skillumen you answer these out loud and get graded on the spot. Foundations is free.
Try it free →
The open-source companion list, Awesome AI Engineer Interview Questions, curates 105 of these on GitHub.