You are building a test set for a refund agent. What should it contain?
- Exam domain
- Evaluating and deploying agentic workflows~22% of the exam
- Difficulty
- Easy
- In this mock
- 11 questions on this domainPractise this domain
Why the exam asks this
Evaluating agents in development and in production.
Objective in the exam guide: Creating test sets for agent evaluation (e.g., golden data, prompts, and edge cases).
Evaluation is only as good as its test set.
Why D is the answer
Golden examples, realistic prompts and edge cases such as bad input
The exam guide lists golden data, prompts and edge cases. Edge cases are where agents fail in production.
Remember: Test sets need edge cases with expected results.
How it works
Golden examples define correct behavior.
Realistic prompts and edge cases, such as bad input, show where the agent breaks.
Clues in the question
The words that point to the answer, and what each one tells you.
- test set
- Coverage of real and hard cases.
In detail
- Include adversarial inputs and missing data.
- Keep expected outcomes with each case.
- Add every production failure to the set.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Random text, so the agent sees varietyWrong
Random text has no expected outcome.
B. Only the cases the agent already handles wellWrong
Testing only strengths gives false confidence.
C. Only the happy-path requests the demo usesWrongMost tempting
Happy paths hide failures.
Why it tempts: It hides the failures users will hit.
D. Golden examples, realistic prompts and edge cases such as bad inputRight
Test sets need edge cases with expected results.
Use case
An illustrative scenario, not a real incident.
Illustrative: a refund test set has normal requests, expired orders, wrong order numbers and a prompt that asks the agent to ignore its rules.
See it in different ways
flowchart TD
Q{"What are you testing?"}
Q -->|"Exact tool calls and order"| A0["tool_trajectory_avg_score"]
Q -->|"Wording close to a reference"| A1["response_match_score"]
Q -->|"Meaning, rubric or safety"| A2["LLM-judged criteria"]
Q -->|"Live traffic quality"| A3["Online evaluation"]How to read this chart
- At "What are you testing?": if "Exact tool calls and order", go to "tool_trajectory_avg_score"; if "Wording close to a reference", go to "response_match_score"; if "Meaning, rubric or safety", go to "LLM-judged criteria"; if "Live traffic quality", go to "Online evaluation".
mindmap
root(("Test set"))
n1["Golden"]
n2["Known good answers"]
n3["Prompts"]
n4["Real phrasing"]
n5["Edge cases"]
n6["Bad input"]
n7["Attacks"]
n8["Missing data"]How to read this chart
- The centre is "Test set".
- "Golden" covers "Known good answers".
- "Prompts" covers "Real phrasing".
- "Edge cases" covers "Bad input", "Attacks", "Missing data".