RAG Pipeline Interview Questions You Can't Bluff Through
Chunking strategy is the most-probed RAG stage in interviews because it's the most-reported production pain point. Interviewers expect you to defend tradeoffs between fixed-size, content-aware, document-structure-based, and semantic chunking. Not name them. Defend them with numbers.
The screening question that separates practitioners from people who watched a tutorial: "Before you design a chunking strategy, what do you need to know?" Expected answers include the LLM's context window, embedding model performance characteristics, document structure, accuracy targets, and latency budgets. Missing these signals immediate inexperience. Paragraph group chunking achieves nDCG@5 of approximately 0.459 versus fixed-size character chunking at under 0.244. Precision@1 jumps from 2-3% to 24%. Content-aware chunking isn't a nice-to-have; it's a 10x improvement in retrieval precision.
Hybrid search is non-negotiable at senior levels. Candidates who present vector-only search as the default solution get flagged. Vector search captures subtle semantic meaning but drifts toward irrelevant passages when context is ambiguous. BM25 is transparent, predictable, and surprisingly effective when paired with a vector-based reranking step. Hybrid search reduces retrieval failures by 49% compared to vector-only approaches. For senior interviews probing systemic retrieval failures at 100M documents, Reciprocal Rank Fusion combining BM25 and dense retrieval isn't optional knowledge.
Context window overflow is another senior-level probe. "How do you decide what to surface without overwhelming context?" The expected answer involves relevance-scored retrieval pulling only likely-useful chunks, not loading everything. The "lost-in-the-middle" problem remains critical even with larger context windows. Reranking with cross-encoder models and semantic routing with cheap classifier fallbacks that cut costs 40-60% are expected production components, not bonus points.
Speaking in pure abstractions instead of concrete examples is the fastest way to sound like someone who's only read about RAG. Name specific embedding models, chunk sizes, reranker choices. That's what separates someone who's shipped a retrieval system from someone who's summarized a blog post about one.