In CI, you must fail the build if the agent stops calling the lookup tool before the refund tool. Which ADK criterion checks this?
- Exam domain
- Evaluating and deploying agentic workflows~22% of the exam
- Difficulty
- Medium
- 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 continuous evaluation pipelines to assess an agent's tool execution based on established success criteria.
Tool trajectory checks catch agents that skip steps.
Why D is the answer
tool_trajectory_avg_score, which compares tool calls
tool_trajectory_avg_score checks the agent's tool calls against the expected trajectory. Its default threshold is an exact match.
Remember: Check tool order with trajectory scoring.
How it works
tool_trajectory_avg_score compares the agent's tool calls with the expected ones.
Its default threshold is 1.0, an exact match.
Clues in the question
The words that point to the answer, and what each one tells you.
- stops calling the lookup tool before the refund tool
- The sequence of tool calls.
In detail
- Trajectory checks catch regressions that a good-looking answer can hide.
- Run it with adk eval or pytest in the pipeline.
Side by side with look-alikes
| Criterion | Checks |
|---|---|
| tool_trajectory_avg_score | Tool calls |
| response_match_score | Answer wording (ROUGE-1) |
| safety_v1 | Harmful content |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. response_match_score, which compares the final answer's wordingWrongMost tempting
Wording can look right while the tool order is wrong.
Why it tempts: It checks wording, not which tools ran.
B. token_usage_v1, which reports token countsWrong
Token usage is an efficiency report with no pass or fail.
C. safety_v1, which checks for harmful contentWrong
Safety checks do not look at tool order.
D. tool_trajectory_avg_score, which compares tool callsRight
Check tool order with trajectory scoring.
Use case
An illustrative scenario, not a real incident.
Illustrative: a prompt change makes the agent skip the lookup. The trajectory check fails the pull request before it ships.
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".
sequenceDiagram participant P0 as Eval participant P1 as Agent participant P2 as Report P0->>P1: run test case P1-->>P0: calls refund only P0->>P2: expected lookup then refund fail
How to read this chart
- 1. Eval sends "run test case" to Agent.
- 2. Eval gets a reply from Agent: "calls refund only".
- 3. Eval sends "expected lookup then refund fail" to Report.