FDEInterviews logo

retrieval

FDE interview questions tagged retrieval, across every topic.

22 questions · 7 unlocked for you

Concepts behind "retrieval"

The curriculum that explains the ideas these questions test.

Foundational
🤖 Retrieval & Agents
Retrieval-Augmented Generation (RAG)RAG grounds a language model in your own data by retrieving relevant passages at query time and putting them in the prompt, so the model answers from real sources instead of memory. It is the default pattern for almost every enterprise FDE deployment, which is why nearly every loop tests it.
Foundational
🤖 Retrieval & Agents
Vector DatabasesA vector database stores embeddings alongside metadata and answers nearest-neighbor queries fast using approximate indexes. The real interview question is not how they work but when you actually need one instead of a library or plain Postgres with pgvector.
Foundational
🤖 Retrieval & Agents
TF-IDF and BM25BM25 is the lexical scoring function that still beats a lot of fancier setups out of the box. It scores a document by how often the query's terms appear (term frequency), discounted by how common those terms are across the corpus (inverse document frequency), with two refinements: frequency saturation so a term repeated 50 times does not score 50x, and length normalization so long documents do not win by sheer size. It is the backbone of the lexical half of hybrid search.
Core
🤖 Retrieval & AgentsSign in
Hybrid Search (Lexical + Vector)Hybrid search runs a keyword retriever (BM25) and a dense vector retriever side by side, then merges their result lists, because each one misses cases the other catches. Vectors lose exact codes and rare jargon, BM25 loses paraphrase, and combining them with Reciprocal Rank Fusion usually beats either alone.
Core
🤖 Retrieval & AgentsSign in
Chunking StrategiesChunking is how you split documents into the units you embed and retrieve, and it quietly sets the recall ceiling for your entire RAG system. Get the size, boundaries, and metadata wrong and no reranker or prompt can recover the answer that never got retrieved.
Advanced
🤖 Retrieval & Agents🔒 Premium
Permission-Aware RAGEnterprise RAG usually fails on permissions before it fails on relevance. If the index does not know who may see each chunk, the system will eventually quote a document to someone who was never allowed to open it, and that is a breach rather than a bad answer.