AI Hints
Home›RAG Tutorial›Choices, Interviews and Next Steps
RAG · Lesson 119 of 120

RAG Interview Questions

Ten to know.

⏱ 2 min read▶ Video at 1:55:35🎓 Free
Watch this lesson in the RAG courseWatch on YouTube ↗Full RAG course

RAG is a popular interview topic. Here are ten questions you should be able to answer. Pause after each, and try it yourself first.

RAG Interview Questions
From the video: RAG Interview Questions
  • Ten questions
  • Pause
  • Answer first

Questions 1 to 4

What is RAG, and why use it? Retrieval adds fresh, private facts, with sources. How do you choose a chunk size? Test several, on a test set. Why use hybrid search? Keywords catch codes, embeddings catch meaning. What does a reranker do? It reorders candidates with a cross encoder.

keyvalue
RAGfresh facts, sources
Chunk sizetest several
Hybridcodes + meaning
Rerankercross-encoder reorder

Questions 5 to 7

How do you stop hallucinations? Ground the prompt, allow I don't know, and check faithfulness. How do you evaluate retrieval? Hit rate and MRR on a test set. How do you handle follow ups? Condense them with the history.

keyvalue
Hallucinationsground + check
Retrieval metricshit rate, MRR
Follow-upscondense
Answersfaithful, relevant

Questions 8 to 10

RAG or fine tuning? RAG for knowledge, fine tuning for behaviour. How do you keep the index fresh? Hash files, and re-index what changed. How do you keep it safe? Filter permissions before search, redact personal data, and treat documents as data.

keyvalue
vs fine-tuningknowledge vs behaviour
Freshnesshash and re-index
Safetypermissions first
Injectiondocs are data

Summary

Practise these ten answers out loud, and you'll be ready for most RAG interviews. Next, what to learn next.

Key takeaways
  • Retrieval
  • Evaluation
  • Safety
Next up: What to Learn Next — keep building