RAG interview questions
100 Machine Learning practice questions. Read what a strong answer covers, then practise it out loud against the clock.
Practise RAG questionsBeginner
- Answer exists but the system can't find it
- Answers mixing policies from different countries
- Assistant cites an outdated policy
- Assistant mixes document facts with general knowledge
- Benefits of RAG over relying on model knowledge
- Building an HR policy assistant
- Building the prompt in RAG
- Choosing a vector database for a small project
- Chunking basics
- Citations in RAG answers
- Common reasons RAG answers are wrong
- Confidential documents appear in answers
- Creating a first evaluation set for RAG
- Document ingestion and parsing
- Evaluating a RAG system: the basics
- Handling questions the documents can't answer
- Indexing an FAQ page
- Internal acronyms confuse retrieval
- Keeping the knowledge base up to date
- Keyword search vs semantic search in RAG
- Knowledge spread across many tools
- PDFs producing garbled text
- Picking chunk size for a new RAG project
- RAG assistant is too slow
- Role of embeddings in RAG
- Same questions asked repeatedly
- Similarity search and top-k retrieval
- Steps in a RAG pipeline
- Users don't trust the assistant's answers
- Using feedback to improve a RAG assistant
- Using metadata in RAG
- Vector databases
- What is retrieval-augmented generation
- When long context can replace retrieval
Intermediate
- Access control in RAG
- Adding context to chunks before embedding
- Adding keyword search to a vector-only system
- Answers are correct but incomplete
- Approximate nearest neighbor indexes
- Caching in RAG systems
- Choosing an embedding model for RAG
- Choosing chunk size and overlap
- Chunking strategies
- Chunks lack context and match the wrong documents
- Deciding when the assistant should say "I don't know"
- Follow-up questions retrieve wrong documents
- Handling tables and complex documents in RAG
- Hybrid search and reciprocal rank fusion
- Incremental indexing and deletions
- Metadata filtering in retrieval
- Multi-query retrieval and query decomposition
- Query rewriting and expansion
- Questions about numbers in tables fail
- Questions requiring the whole document
- RAG costs growing with usage
- RAG evaluation metrics
- RAG for a multi-tenant SaaS product
- RAG in multi-turn conversations
- RAG over a codebase and developer docs
- Relevant chunks retrieved but ranked low
- Removing personal data from the RAG index
- Reranking retrieved results
- Routing questions across multiple knowledge sources
- Setting up automated RAG evaluation
- Small-to-big and parent document retrieval
- Switching to a better embedding model
- Top results are near-duplicate chunks
Experienced
- Agentic RAG
- Build a custom RAG system or buy a platform?
- Building RAG evaluation sets at scale
- Combining RAG with long-context models
- Combining RAG with structured data
- Deciding whether GraphRAG is worth it
- Designing an enterprise knowledge assistant
- Documents disagree with each other
- Fine-tuning embedding models for RAG
- Fine-tuning the retriever for domain jargon
- GraphRAG
- Handling complex research questions
- Handling conflicting and outdated information
- Late interaction retrieval
- Malicious content planted in the knowledge base
- Monitoring RAG quality in production
- Multi-hop retrieval
- Multilingual RAG
- Multimodal RAG
- No experts available to label RAG test data
- Observability for RAG systems
- Optimizing RAG latency
- Personalizing RAG answers by user role
- RAG for a global workforce in many languages
- RAG for a voice assistant with strict latency
- RAG for regulatory compliance questions
- RAG over equipment manuals full of diagrams
- RAG over rapidly changing information
- Scaling RAG to hundreds of millions of documents
- Scaling vector search to very large corpora
- Security risks in RAG
- Self-correcting RAG approaches
- Zero-tolerance for unsupported claims