FDEInterviews logo

rag

FDE interview questions tagged rag, across every topic.

34 questions · 5 unlocked for you

Concepts behind "rag"

The curriculum that explains the ideas these questions test.

Foundational
🧠 Foundations of LLMs & GenAI
Fine-tuning vs RAG vs PromptingPrompting, RAG, and fine-tuning are the three ways to adapt a model to your problem, and choosing among them is the decision FDE interviewers probe most. The framework: prompt first, add RAG when the model needs facts it lacks or must cite, and fine-tune to change behavior or format rather than knowledge. They compose; they are not rivals.
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
Context Window Management for FDE AgentsManaging the context window is the discipline of deciding what an agent sees on every step, run against a customer's private data and their token bill. Forward Deployed Engineers treat the window as a budget to allocate with four moves, write, select, compress, and isolate, because a deployment that ignores it is either too expensive to run or too unreliable to trust.
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.
Core
🤖 Retrieval & AgentsSign in
Reranking and Two-Stage RetrievalTwo-stage retrieval pairs a cheap recall-heavy first stage that pulls dozens of candidates with a precise reranker that re-scores each one against the query. It is the standard fix when vector search returns relevant-ish chunks but the right one is not in the top few, and it trades a little latency for a lot of precision.
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.