Question 124
CCA-F is a newly released exam. These practice questions reflect our best current understanding — the exact wording and question formats may change in the live exam until the certification matures. Use them to learn the concepts, not to memorize.
Scenario: Customer Support Agent - An engineer's agent loop calls Claude with MCP tools. To decide when a ticket is resolved, the loop scans the assistant text for "all done" and also stops after `max_iterations=6`. In production it sometimes halts mid-task and other times keeps looping after the work is actually finished. What is the correct completion signal?
- AKeep the text scan but raise `max_iterations` to 20 to give the agent more room.
- BStop as soon as the assistant emits any text block alongside its tool calls.
- CAsk the model to return a boolean `is_resolved` field each turn and stop when it is true.
- DContinue while `stop_reason == "tool_use"` and stop when `stop_reason == "end_turn"`.