A company is building an agent that uses Azure OpenAI to answer questions from a large document library. The agent must use a Retrieval Augmented Generation (RAG) pattern. Which TWO actions should the team take to implement RAG effectively?
Indexing enables efficient retrieval of relevant content.
Why this answer
Option C is correct because indexing documents into a vector database like Azure Cognitive Search enables efficient similarity search over embeddings, which is the retrieval foundation of RAG. This allows the system to quickly find the most relevant document chunks based on semantic meaning, rather than relying on the model to memorize or be fine-tuned on the entire library.
Exam trap
The trap here is that candidates often confuse fine-tuning (which adapts model behavior) with RAG (which augments prompts with retrieved data), leading them to select Option B instead of understanding that RAG requires an external retrieval step and vector index.