D4: Creating Test Sets for Agent Evaluation
Google Cloud Professional Agentic Architect exam practice questions · 10 flashcards
Question
What is golden data?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Creating Test Sets for Agent Evaluation practice questions and answers
- What is golden data?Inputs paired with expected (reference) outputs and tool calls, used as ground truth.
- What should an agent test set include?Representative prompts, expected responses, expected tool trajectories and edge cases.
- Why include edge cases?Agents often fail on unusual, ambiguous or adversarial inputs.
- Examples of edge cases?Missing information, conflicting requests, out-of-scope questions, prompt injection attempts.
- What is an expected tool trajectory?The sequence of tool calls (and arguments) the agent should make.
- Why include multi-turn conversations?Agents must handle context across turns.
- How do you grow test sets?Add real production failures and new scenarios over time.
- Why version test sets?Fair comparison of results across agent versions.
- How can synthetic data help?Generate varied test prompts quickly, reviewed by humans.
- Why separate dev and holdout test sets?Avoid overfitting prompts to the evaluation data.