A team wants to measure how well its retriever finds the right passages. Which two approaches fit? (Select TWO.)
- Exam domain
- Data Preparation14% of the exam
- Difficulty
- Medium
- In this mock
- 10 questions on this domainPractise this domain
Why the exam asks this
Section 2: Data Preparation (14%).
Objective in the exam guide: Use tools and metrics to evaluate retrieval performance
Retrieval evaluation is named in the objective.
Why C and D are the answers
A multiple-response question. Choose two. There is no credit for picking only some of them.
Compute recall and precision at k against a labeled set of question-to-passage matches
Use MLflow evaluation with retrieval judges, such as one that checks whether retrieved context is relevant to the query
Retrieval quality is measured on what was retrieved: labeled metrics such as recall at k, and judges that score retrieved context.
How it works
Recall at k checks if the right passage is in the top k.
Precision at k checks how many retrieved passages are relevant.
MLflow judges can score retrieved context for relevance and sufficiency.
Clues in the question
The words that point to the answer, and what each one tells you.
- Measure retrieval
- Score what was retrieved.
In detail
- Recall at k asks whether the right passage appears in the top k results.
- Judges can score relevance without hand labels for every query.
Side by side with look-alikes
| Metric | Measures retrieval? |
|---|---|
| Recall and precision at k | Yes |
| Retrieval judges | Yes |
| Answer length | No |
| Index size | No |
| CPU usage | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Count how many documents are in the indexWrong
Index size is not retrieval quality.
B. Check the serving endpoint's CPU usageWrong
CPU usage measures load, not relevance.
C. Compute recall and precision at k against a labeled set of question-to-passage matchesRight
Retrieval quality is measured on what was retrieved: labeled metrics such as recall at k, and judges that score retrieved context.
D. Use MLflow evaluation with retrieval judges, such as one that checks whether retrieved context is relevant to the queryRight
Retrieval quality is measured on what was retrieved: labeled metrics such as recall at k, and judges that score retrieved context.
E. Measure the average length of the final answersWrongMost tempting
Answer length says nothing about retrieval.
Why it tempts: It is easy to measure. But it says nothing about retrieval.
In practice
- Track retrieval metrics separately from answer quality.