3.5 RAG Pipelines: Chunking & Indexing
Claude Certified Architect – Professional (CCAR-P) exam practice questions · 10 flashcards
Question
What is RAG?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 3.5 RAG Pipelines: Chunking & Indexing practice questions and answers
- What is RAG?Retrieval-augmented generation: retrieving relevant content and giving it to Claude as context.
- What are the stages of a RAG pipeline?Ingest, clean, chunk, embed/index, retrieve, (rerank), assemble context, generate.
- Why does chunk size matter?Too small loses context; too large adds noise and cost.
- What is structure-aware chunking?Splitting by document structure (headings, sections, clauses) rather than fixed size.
- Why overlap chunks?To avoid cutting important context at boundaries.
- What is contextual retrieval?Adding a short context description to each chunk before embedding to improve retrieval.
- Why store metadata with chunks?Enables filtering (date, source, permissions) and citations.
- Dense vs sparse indexing?Dense: embeddings for semantic similarity. Sparse (BM25): exact keyword matching.
- Why re-index after document changes?Stale or broken indexes return wrong or outdated chunks.
- Why keep embedding models consistent?Query and document embeddings must come from the same model.