A RAG assistant gives fluent answers, but some are not supported by the documents it retrieved. What should the team evaluate?
- Exam domain
- Applications of Foundation Models28% of the exam
- Difficulty
- Hard
- In this mock
- 25 questions on this domainPractise this domain
Why the exam asks this
Task Statement 3.4: Describe methods to evaluate FM performance.
Objective in the exam guide: Identify approaches to evaluate the performance of applications built with FM (for example, RAG, agents, workflows).
A RAG app that sounds confident but strays from its sources is worse than no app. Evaluating it end to end is how teams catch that before users do.
Why D is the answer
Whether answers are grounded in, and faithful to, the retrieved content
RAG applications are evaluated on retrieval quality and on whether answers stay faithful to what was retrieved.
Remember: Evaluate RAG on two things: did it retrieve the right content, and did the answer stay faithful to it?
How it works
An application built on a foundation model is evaluated as a whole, not just the model.
For RAG, that means two checks: is the retrieved content relevant, and is the answer faithful to it, without adding unsupported claims?
Bedrock evaluations can evaluate RAG sources, and similar thinking applies to agents and workflows: did each step do the right thing?
Clues in the question
The words that point to the answer, and what each one tells you.
- Fluent answers
- Style is fine, so the problem is substance.
- Not supported by the documents
- Faithfulness, or grounding, is failing.
In detail
- A RAG system can fail at two points: retrieving the wrong passages, or answering beyond what the passages say.
- Amazon Bedrock evaluations can evaluate RAG sources, including retrieval and the generated answers.
Side by side with look-alikes
| RAG check | Question it answers |
|---|---|
| Retrieval relevance | Did we fetch the right passages? |
| Faithfulness | Does the answer stay within those passages? |
| Answer correctness | Is the final answer right? |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Only how fast the model respondsWrong
Speed does not show whether answers are supported.
B. Only how many documents are storedWrongMost tempting
More documents do not prove the answers use them correctly.
Why it tempts: A bigger knowledge base sounds like better answers. But the problem is answers going beyond what was retrieved, which more documents do not fix.
C. The number of daily usersWrong
Usage is not a quality measure.
D. Whether answers are grounded in, and faithful to, the retrieved contentRight
Evaluate RAG on two things: did it retrieve the right content, and did the answer stay faithful to it?
In practice
- Test retrieval and generation separately, so you know which one failed.
- Keep a set of questions with known correct answers and sources.
Use case
An illustrative scenario, not a real incident.
A team finds that retrieval was fine, but the model added details not in the policies, so it tightens the prompt and adds a grounding check.
See how it works
flowchart LR
Q["Question"] --> R["Retrieve passages"]
R --> C1{"Are the passages relevant?"}
C1 -->|"No"| F1["Fix retrieval: chunking, embeddings"]
C1 -->|"Yes"| G["Generate the answer"]
G --> C2{"Is the answer faithful to them?"}
C2 -->|"No"| F2["Fix generation: prompt, grounding check"]
C2 -->|"Yes"| OK["Good answer"]How to read this chart
- "Question" leads to "Retrieve passages".
- "Retrieve passages" leads to "Are the passages relevant?".
- At "Are the passages relevant?": if "No", go to "Fix retrieval: chunking, embeddings"; if "Yes", go to "Generate the answer".
- "Generate the answer" leads to "Is the answer faithful to them?".
- At "Is the answer faithful to them?": if "No", go to "Fix generation: prompt, grounding check"; if "Yes", go to "Good answer".