Intermediatehow it works
Explain how Retrieval-Augmented Generation (RAG) works.
ReportedSource: Exponent: Databricks interview process and questions
Quick answerFree
Chunk and embed documents into a vector index; at query time embed the question, retrieve (and rerank) the top chunks, put them in the prompt, and the LLM answers grounded in them with citations. Evaluate retrieval recall and answer faithfulness.
Detailed answer· ~170 words
Interview PrepUnlock the full answer with Interview Prep
Get a ~170-word model answer, plus 39 more Machine Learning questions.
Also in Pro (₹499 / 90 days).
+ 39 more Machine Learning questions in Interview Prep, each with the full answer.