You need integration tests covering many multi-turn conversations, each with its own starting state. Which ADK format fits?
- 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: Evaluating an agentic system against a golden dataset to assess agent response and retrieval quality (e.g., using ADK).
Evalsets scale ADK evaluation to many sessions.
Why A is the answer
An evalset, one eval case per session
Test files hold one session and suit unit-style checks. Evalsets hold many sessions, each with its own initial state, which suits integration tests.
Remember: Many sessions with state means an evalset.
How it works
A .test.json file holds one session for simple tests.
An evalset holds many eval cases, each a session with its own starting state.
Clues in the question
The words that point to the answer, and what each one tells you.
- many multi-turn conversations
- Many sessions.
- its own starting state
- Per-case setup.
In detail
- Evalsets can be created in adk web from saved sessions.
- Keep fast test files for development and evalsets for the pipeline.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. An evalset, one eval case per sessionRight
Many sessions with state means an evalset.
B. A single .test.json file with one sessionWrongMost tempting
A test file holds a single session.
Why it tempts: One session cannot cover many conversations.
C. A list of prompts in a text fileWrong
Plain prompts lack expected results and state.
D. Screenshots of good conversationsWrong
Screenshots cannot be run.
Use case
An illustrative scenario, not a real incident.
Illustrative: a booking agent's evalset has thirty sessions, from new users to users with a cancelled trip.
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".
flowchart TD
Q{"What is the test for?"}
Q -->|"Quick unit check, one session"| A0[".test.json"]
Q -->|"Integration, many sessions"| A1["Evalset"]How to read this chart
- At "What is the test for?": if "Quick unit check, one session", go to ".test.json"; if "Integration, many sessions", go to "Evalset".