A team must check that every agent response includes an order number in a specific format. No built-in judge covers this. What fits?
- Exam domain
- Evaluation and Monitoring12% of the exam
- Difficulty
- Medium
- In this mock
- 9 questions on this domainPractise this domain
Why the exam asks this
Section 6: Evaluation and Monitoring (12%).
Objective in the exam guide: Use Databricks custom Scorers for evaluating agents and LLMs
Custom scorers are named in the objective.
Why A is the answer
A custom code-based scorer, written as a Python function, used in evaluation and monitoring
Custom scorers encode checks the built-in judges do not cover, and can run in both development and production monitoring.
How it works
Code-based scorers are Python functions.
They encode rules built-in judges lack.
The same scorer works in evaluation and monitoring.
Clues in the question
The words that point to the answer, and what each one tells you.
- No built-in judge covers this
- Custom scorer.
In detail
- Deterministic checks such as formats suit code-based scorers.
- Use LLM judges for judgments that need language understanding.
Side by side with look-alikes
| Option | Checks the format? |
|---|---|
| Custom code-based scorer | Yes |
| User reports | Late |
| Relevance judge | No |
| Larger model | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A custom code-based scorer, written as a Python function, used in evaluation and monitoringRight
Custom scorers encode checks the built-in judges do not cover, and can run in both development and production monitoring.
B. Ask users to report missing order numbersWrong
User reports are slow and incomplete.
C. A built-in relevance judgeWrongMost tempting
Relevance does not check format.
Why it tempts: It judges relevance, not format.
D. A larger model, so it remembers the formatWrong
A model change is not a check.
In practice
- Unit test the scorer on known good and bad responses.