Learn the vocabulary of grounding a language model's answers in retrieved source content.
0 / 5 completed
1 / 5
At standup, a dev mentions retrieving relevant documents from a knowledge base and feeding them into a language model's prompt before it generates an answer. What is this pattern called?
Retrieval-augmented generation retrieves relevant documents from an external knowledge base and includes them in the model's prompt, letting it generate an answer grounded in that specific content rather than relying solely on what it learned during training. This lets a model answer accurately about content that's current or specific to an organization, without retraining the model itself. It's become a standard pattern for building a knowledge-grounded AI assistant.
2 / 5
During a design review, the team wants to break a long source document into smaller pieces before embedding them, so retrieval returns focused, relevant sections instead of entire documents. Which capability supports this?
Document chunking splits a long source document into smaller, more focused pieces before embedding, so a retrieval query returns a specific relevant section rather than an entire lengthy document that mixes relevant and irrelevant content together. This improves both retrieval precision and the amount of the model's limited context window that gets used efficiently. Choosing a good chunk size is a real tuning decision, since chunks that are too small can lose context and chunks that are too large dilute relevance.
3 / 5
In a code review, a dev notices the pipeline reorders retrieved chunks by a secondary relevance model before passing only the top few into the prompt. What does this represent?
Re-ranking retrieved results applies a secondary, often more precise relevance model to reorder an initial set of candidates, then keeps only the top few for the final prompt. This improves answer quality by filtering out marginally relevant chunks that a faster initial retrieval step let through. It's a common two-stage pattern, since a fast broad retrieval followed by a slower precise re-rank balances speed and accuracy.
4 / 5
An incident report shows a RAG-based assistant confidently answered a question using an outdated retrieved chunk, since the underlying source document had since been corrected. What practice would reduce this risk?
Keeping the retrieval index synchronized with each source document's latest version ensures a retrieved chunk reflects current, corrected content rather than a stale snapshot. Assuming retrieval always reflects the latest content skips the real synchronization work required to keep an index current. This matters especially for a knowledge base where accuracy of specific facts, like policy details, has real consequences.
5 / 5
During a PR review, a teammate asks why the team retrieves and injects relevant documents into the prompt instead of just asking the language model directly without any retrieval step. What is the reasoning?
Asking a language model directly without retrieval limits its answer to whatever it learned during training, which may be outdated or missing organization-specific content entirely. Injecting retrieved, current source content grounds the answer in accurate, relevant material the model can directly reference. The tradeoff is the added pipeline complexity of chunking, embedding, retrieving, and re-ranking before generation even begins.
What does the "RAG Pipeline Vocabulary" vocabulary exercise cover?
This exercise tests real IT vocabulary related to rag pipeline vocabulary through 5 multiple-choice questions, each built from realistic workplace sentences rather than abstract definitions.
Is this vocabulary exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.
How many questions does this exercise have?
This exercise has 5 questions. Each one shows a real-world sentence or scenario with multiple-choice options and an explanation once you answer.
What happens after I answer a question?
You'll see immediate feedback showing whether your answer was correct, along with a short explanation of why — then a button to move to the next question, and a full results screen at the end.
Can I retry the exercise if I get questions wrong?
Yes. Once you reach the results screen, click "Try again" to reset your answers and go through the exercise from the start as many times as you like.
Do I need to create an account to take this exercise?
No account is needed. Your answers are scored in your browser during the session — nothing is saved to a server, so you can jump straight in.
Is my progress saved if I leave the page?
No — progress within an exercise resets if you navigate away or reload. Each exercise is short enough to complete in a few minutes in one sitting.
Are these vocabulary exercises connected to other topics?
Yes — browse the full vocabulary exercises hub to find related modules covering adjacent IT topics and roles.
How is this different from reading a glossary or blog article?
Exercises like this one are active recall drills — you have to choose the correct term or phrasing yourself, which builds retention faster than passively reading a definition.
Where can I find more vocabulary exercises?
Browse the full Vocabulary exercises hub for hundreds of modules covering Agile, DevOps, security, databases, architecture, and more — organised by IT role and skill.