Azure-AI_Foundry

Module 5: Knowledge Check — RAG & Data Grounding

Test your understanding of Retrieval-Augmented Generation and data grounding concepts.


Question 1

What is the primary purpose of RAG?

AnswerB — RAG retrieves relevant context at query time and provides it to the LLM, grounding the response in your actual data rather than relying solely on the model's training data.

Question 2

A user reports that your RAG chatbot often returns answers that don’t match the retrieved documents. Which metric best measures this problem?

AnswerC — Groundedness measures whether the model's response is supported by the retrieved context. Low groundedness means the model is generating information not found in the source documents.

Question 3

Your documents contain complex technical manuals with headings, tables, and diagrams. Which chunking strategy is most appropriate?

AnswerC — Semantic chunking preserves logical structure by splitting at natural boundaries (sections, headings), which is critical for complex documents where context within a section matters.

Question 4

Which combination of search methods provides the best retrieval quality for production RAG?

AnswerD — Hybrid search with semantic reranking consistently outperforms any single method. Keywords catch exact matches, vectors capture semantic meaning, and reranking uses deep learning to refine the ordering.

Question 5

You need to index 50,000 documents and want Azure AI Search to handle both chunking and embedding automatically. Which feature should you use?

AnswerB — Integrated vectorization automates both chunking and embedding during indexing, and provides query-time vectorization so you can send plain text queries.

Question 6

In a multi-turn conversation, a user says “Which one is cheapest?” after discussing Azure OpenAI models. What technique should you apply before searching?

AnswerB — Query rewriting reformulates the ambiguous follow-up question into a standalone query using the conversation history, ensuring the search retrieves relevant results.

Question 7

Your enterprise RAG application must ensure that finance documents are only visible to the finance team. How should you implement this?

AnswerB — Document-level security filters use OData expressions to restrict search results based on user group membership, ensuring each user only retrieves documents they're authorized to see.

Question 8

Which embedding model offers the highest accuracy for vector search in Azure OpenAI?

AnswerC — text-embedding-3-large produces 3072-dimensional vectors and provides the highest embedding accuracy among Azure OpenAI embedding models.

Question 9

Your RAG system retrieves relevant documents but the LLM’s answers are often incomplete. What should you investigate first?

AnswerC — If retrieved documents are relevant but answers are incomplete, the issue is likely in the generation step. Review the system prompt to ensure it instructs the model to synthesize a comprehensive answer from all retrieved context.

Question 10

What is the recommended chunk overlap percentage to prevent losing context at chunk boundaries?

AnswerC — 10–20% overlap ensures that important context at chunk boundaries is captured in adjacent chunks, preventing information loss during retrieval.

Question 11

In agentic RAG, what distinguishes it from standard RAG?

AnswerB — In agentic RAG, the AI agent evaluates each query and decides whether retrieval is needed, what to search for, and which data sources to query — rather than blindly retrieving on every request.

Question 12

You’re building a RAG application that searches product docs, support tickets, and an internal wiki simultaneously. What pattern is this?

AnswerC — Multi-index RAG searches across multiple data sources in parallel and merges/reranks the results to provide comprehensive answers from diverse knowledge bases.

Question 13

Your RAG system’s retrieval precision is 0.4 (only 40% of retrieved documents are relevant). Which improvement would have the most impact?

AnswerC — Low retrieval precision means the search isn't finding the right documents. Better chunking, metadata filters, and semantic reranking directly improve retrieval quality. Increasing results would lower precision further.

Question 14

What is the benefit of using dimension reduction with text-embedding-3-large?

AnswerB — Dimension reduction (e.g., from 3072 to 1024) reduces the storage required for each vector, lowering index costs while preserving most of the embedding's semantic quality.

Question 15

Before deploying a RAG system to production, you should evaluate quality. Which set of metrics is most relevant?

AnswerB — RAG-specific metrics like groundedness (is the answer supported by context?), relevance (are retrieved docs relevant?), faithfulness (does the answer accurately represent sources?), and retrieval precision (fraction of relevant results) directly measure RAG quality.

Scoring

Score Rating
13–15 correct ⭐ Excellent — ready for production RAG
10–12 correct 👍 Good — review advanced patterns
7–9 correct 📖 Review lessons 1–3
Below 7 🔄 Revisit the module from the beginning

← Lesson 3 Back to Overview