CCAR-F Agentic Architecture and Orchestration Practice Question
A document-triage agent uses Claude with a read_attachment tool. During testing, the agent calls read_attachment for a PDF, receives a tool_result containing the extracted text, and then immediately calls read_attachment again for the same file id, repeating several times until the orchestrator stops it. The tool itself works correctly and returns valid content each time. What is the most effective architectural fix?
⚠ Common exam trap
The trap here is treating repeated successful tool calls as a tool reliability problem, when the tool is working and the loop actually originates in the agent's control flow and context handling.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Have the orchestrator detect repeated identical tool_use requests against the same arguments and short-circuit them by returning a cached tool_result or by injecting a message that the content was already provided.
Repeated identical tool calls with valid results indicate the agent is not recognizing that its need is already satisfied, so the robust fix is deterministic duplicate detection in the orchestrator, paired with cached results or an explicit signal that the content was already supplied. Timeouts, larger budgets, and inlining documents all leave the loop mechanism intact or trade away needed flexibility.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Raise the tool's timeout so the repeated calls have more time to complete and the agent stops retrying prematurely.
Why it's wrong here
The tool is already returning valid content, so timeouts are not the cause of the repetition. Increasing the timeout adds latency and cost without changing the model's behavior. The loop stems from the agent re-issuing a call it has already satisfied, which is a control-flow issue rather than a performance or reliability issue with the underlying function.
- ✓
Have the orchestrator detect repeated identical tool_use requests against the same arguments and short-circuit them by returning a cached tool_result or by injecting a message that the content was already provided.
Why this is correct
Idempotent tools plus orchestrator-level duplicate detection break the loop without changing what the model can accomplish. Returning the cached result or explicitly noting the content is already available gives Claude the information it needs to proceed, and the guard prevents unbounded repetition regardless of why the model re-requests. This keeps control in deterministic host code.
- ✗
Remove read_attachment from the tools list and paste the document text directly into the system prompt for every request.
Why it's wrong here
Inlining the document removes the agent's ability to choose which files to read and inflates every request's token cost, which is impractical for a triage agent handling many documents. It also does not address the general pattern of repeated identical calls. The better fix preserves dynamic tool use while adding a guard against redundant invocations.
- ✗
Increase the agent's iteration budget so it has more chances to break out of the repetition on its own.
Why it's wrong here
A larger budget lets the loop run longer and spend more, since nothing in the current design changes the model's tendency to re-request the same file. Budgets bound damage but do not diagnose or prevent the redundant behavior. The architect needs duplicate-call detection or clearer state signaling so the agent recognizes the content is already in context.
About these practice questions
One of 271 original CCAR-F practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Anthropic exam blueprint
This CCAR-F practice question is part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCAR-F exam.