Anthropic CCA-F Practice Test 3
Question 20
A Claude request uses only a server-executed web search tool. An application stalls, waiting to receive a client-side tool_use block so it can run that search locally. What correction is required?
- Construct a synthetic client tool_result containing a guessed search answer
- Always rerun the web search through an unrelated local shell command
- Let Anthropic execute the server tool and process its returned server_tool_use/results or the final response; handle pause_turn if the server loop pauses
- Mark server_tool_use as an authentication failure unless a human explicitly approves the search
Explanation
Correct Answer
C:Server-executed tools run inside Anthropic’s provider-side loop; the caller does not execute them as client callbacks. It should interpret the returned server tool records and final model response, and preserve the conversation if the operation returns `pause_turn`. A separate client `tool_result` with `tool_use_id` is required for client-executed tools, not for this server-side search.
Incorrect Answers
A:A fabricated tool result would make the model rely on unverified evidence and would not correspond to a pending client-executed tool_use identifier. This server-side search is already handled by the platform. The application must not invent a local replacement for a result that should come from the actual server tool.
B:Server-executed searches do not require a second local copy of the operation. Reissuing the query in a shell can change sources, double costs and create two incompatible evidence trails. The integration should distinguish its own client tools from those Anthropic runs as part of the Messages API request.
D:A `server_tool_use` block describes a provider-executed tool operation; it does not mean the provider rejected the request as unauthorized. Misclassifying this event as authentication failure would prevent a valid search from completing and conceal the actual protocol state. The integration should process the server-tool response or pause rather than invent an unrelated login failure.
Question 21
A research host receives three identical authorized read-only catalog lookups with the same parameters and unchanged data version. Which optimization reduces repeat calls without fabricating results?
- Cache the actual validated result by tool identity, normalized arguments, authorization scope and data version, then reuse it for equivalent reads
- Treat the first result as permission to invent answers to any later catalog query
- Use the same idempotency key to replay every unrelated state-changing operation
- Discard the first response and run all lookups again so the tool will always be fresh
Explanation
Correct Answer
A:For identical authorized read requests against the same unchanged source version, the host can store the real result with the tool name, normalized inputs, authorization context and expiration or version. A later equivalent lookup can reuse that verified observation and preserve the requesting call’s result correlation. Cache invalidation is necessary when source state or access rights change; this is not a license to invent results.
Incorrect Answers
B:Caching must reuse an actual successful and authorized observation, not let the model guess later answers. A catalog query for a different item, tenant or source revision is not equivalent merely because its topic sounds similar. Fabricated catalog values would hide missing evidence and can mislead purchasing decisions.
C:Idempotency keys help reconcile retries of a particular write; they do not make arbitrary unrelated writes safe or eliminate redundant read queries. This scenario has repeated read-only lookups, so cache verified retrieval data under stable inputs and provenance, with the proper expiry and scope.
D:Blindly rerunning identical stable lookups adds latency and cost but does not improve validity. If the data may have changed, refresh under a clear cache-expiry rule; if version and access context are identical, reuse the verified result. Re-execution is not a substitute for coherent invalidation rules.
Question 22
An operator cancels a customer-data agent after one safe read but before it issues another planned API request. What should its host do to respect the cancellation?
- Ignore cancellation until the agent reaches its maximum token budget
- Stop launching further tool calls, record what already completed and return an explicit cancelled status
- Retry every previous call after cancellation in case some data was missed
- Report that every planned tool operation succeeded because the first read was successful
Explanation
Correct Answer
B:The host must honor cancellation at the execution boundary: do not start the next planned API action, and record the result of the already completed read separately from work that was never attempted. A cancelled workflow must not be reported as successful or silently resumed without new authorization.
Incorrect Answers
A:A token budget is an upper resource limit, not permission to keep working after the operator cancels a request. The host should stop issuing new calls when the cancellation signal is received and report which read, if any, already completed. Waiting for token exhaustion could disclose additional data or trigger unapproved operations.
C:Reissuing calls after cancellation can cause unwanted work and, for stateful operations, duplicate side effects. Preserve the actual completed work and stop future requests.
D:One successful read cannot prove later planned operations ran. A complete audit distinguishes executed, pending and cancelled calls; otherwise users are misled about the state of their request.
Question 23
Two client-side tool calls finish with different outcomes: a policy lookup succeeds, but an invoice lookup fails with an authorization error. How should the host report the results to Claude?
- Replace both results with one invented successful summary to preserve a smooth conversation
- Return only the successful policy lookup and omit the failed invoice call entirely
- Send one correlated tool_result for each pending call and mark the invoice result as an error
- Repeat the invoice lookup indefinitely with unchanged credentials before producing any tool result
Explanation
Correct Answer
C:The host must preserve each original tool_use_id and return the policy data in its successful tool_result. The invoice failure should have its own correlated tool_result with is_error set to true and a safe error description. Claude can then answer from the verified policy while acknowledging that invoice-specific facts could not be checked.
Incorrect Answers
A:An apparently smooth answer that conceals the permission error misstates what the host could access. Each pending tool must have its own truthful outcome so Claude can avoid unsupported invoice assertions.
B:Omitting one pending tool result leaves the original tool-use request unresolved. Claude needs to know the failed lookup occurred and must not assume invoice details were retrieved.
D:An authorization failure normally requires a credential or permission change, not unbounded retries. The host should provide an error result and use the application’s approved escalation process rather than hiding the failure in a loop.
Question 24
A Claude server-executed search reaches its built-in iteration limit and returns stop_reason pause_turn. There are no outstanding client tool_use blocks. How should the application resume the paused server-side operation?
- Return the partial search text as a final completed answer because all non-tool_use stops are terminal
- Create a fake client tool_result for the server search and replace the assistant history
- Send a continuation request preserving the paused assistant response and prior conversation context
- Delete the previous messages and rerun an unrelated request with no record that the search paused
Explanation
Correct Answer
C:The pause_turn stop reason tells the host that the server-tool loop reached its iteration limit before finishing. The application should resend the existing conversation with the paused assistant message intact so the provider can continue the server-executed search. Unlike a client tool_use response, there is no outstanding host-executed tool result to invent.
Incorrect Answers
A:A pause_turn response means the server-side tool loop is paused rather than complete. Delivering its partial text as a final answer could omit the pending search conclusions, so the application must continue the paused conversation within its own execution budget.
B:A server-executed search does not require the host to construct a client tool_result. Fabricating one changes the conversation protocol and can make the assistant interpret invented data as though a local tool ran. Preserve the paused assistant response instead.
D:Starting from a blank context discards completed search steps and uncertainty about what remains. The proper continuation preserves the paused message and lets the provider resume its server-tool loop under a controlled budget.
Question 25
In a market-research system, specialists exchange assignments directly with each other and bypass the coordinator. Which communication-routing architecture restores coordinator accountability?
- Separate writing authority or serialize conflicting writes through one coordinator-owned merge
- Route subagent assignments and returned outputs through a central coordinating agent
- Route solely to the pricing specialist, expanding only if the answer reveals dependencies
- Add an attribution label only after peer-to-peer exchanges have already bypassed coordinator scheduling
Explanation
Correct Answer
B:In a hub-and-spoke arrangement, the coordinator assigns research work, records where each finding originated and controls the final synthesis. Direct peer-to-peer specialist messages can bypass that record and obscure disagreements or source provenance. Returning findings through the coordinator retains one auditable place to reconcile the final report.
Incorrect Answers
A:Independent agent analysis can proceed in parallel, but overlapping stateful edits require an explicit ownership and integration strategy to avoid lost updates. The decisive requirement here is to make the coordinator the communication and aggregation hub.
C:Always invoking every subagent wastes tokens and increases noise. It would leave the stated need to make the coordinator the communication and aggregation hub unresolved.
D:Labeling a finding after uncontrolled peer exchanges can help a reviewer identify it, but does not restore coordinator ownership of the task’s routing, dependencies or completion state. The problem is bypassed coordination itself. Route assignments and returned outputs through the central coordinator before the final synthesis.
Question 26
A coordinator is preparing a vendor report with independent pricing and legal-restriction workstreams. Which TWO architecture choices are appropriate? Choose TWO.
- Replace source citations with one shared unsupported confidence number
- Delegate pricing and legal research as separately scoped concurrent tasks
- Allow the pricing subagent to sign legal documents as soon as its work completes
- Have the coordinator reconcile both specialist reports and their sources
Explanation
Correct Answers
B:Pricing and legal-restriction research are independent inputs to the vendor report, so each can be delegated to a specialist concurrently using bounded tools and source requirements. The coordinator should not let either specialist execute unrelated business actions. Both evidence-backed reports then converge at a separate synthesis step, which evaluates their combined effect on the vendor recommendation.
D:The coordinator owns the final synthesis and handles disagreement between subagents. Independent pricing and legal analyses may be correct individually yet conflict in their assumptions. The coordinator must reconcile restrictions, quote the source evidence, identify unresolved disputes and take ownership of the integrated recommendation.
Incorrect Answers
A:The coordinator needs provenance to evaluate specialist findings. A confidence number cannot establish which supplier pricing or contractual restriction each specialist actually inspected. Retain claim-level citations and revisions so the coordinator can challenge discrepancies and the final report can be audited.
C:Research delegation must not grant unrelated legal signing authority. Research findings are advisory outputs, not delegated legal authority. The pricing specialist may provide calculations and evidence, but contract execution requires a separately authorized human or business workflow with its own permissions.
Question 27
Three agents return contradictory cloud-cost estimates. Who should decide how to present the consolidated conclusion?
- Route solely to the pricing specialist, expanding only if the answer reveals dependencies
- The coordinator should compare assumptions, reconcile conflicts and report uncertainty
- Record the failure and either retry that workstream or clearly mark the section incomplete
- Require concise findings with citations, confidence and unresolved questions
Explanation
Correct Answer
B:Subagent outputs are evidence, not guaranteed final truth. The coordinator owns cross-source reconciliation and must not blindly concatenate incompatible estimates. Different prices may reflect inconsistent time windows, regions, assumptions or source data. The coordinator should compare those bases, trace the estimates to primary evidence and disclose any unresolved variance before presenting a consolidated figure.
Incorrect Answers
A:Selecting a pricing specialist helps dispatch a narrow pricing question, but these three estimates have already been returned and conflict. Choosing one specialist now would not reconcile inconsistent regions, assumptions or effective dates. The coordinator must compare the cited evidence and disclose unresolved differences in its synthesis.
C:A coordinator must handle partial results explicitly. This capability does not directly resolve contradictory specialist outputs before final synthesis. The specialists returned results, not a crashed workstream. Marking one analysis incomplete does not decide which price estimate uses valid assumptions or evidence.
D:The coordinator should receive decision-relevant summaries and evidence pointers, not every raw intermediate token. That addresses a different part of the system, not the requirement to resolve contradictory specialist outputs before final synthesis.
Question 28
A product-analysis report covers performance and features but omits contract restrictions. What should the coordinating agent do?
- Record the failure and either retry that workstream or clearly mark the section incomplete
- Route solely to the pricing specialist, expanding only if the answer reveals dependencies
- Restrict that subagent's tool permissions and assignment scope
- Detect the missing category and launch a targeted follow-up investigation
Explanation
Correct Answer
D:Coverage review after subagent completion reveals omissions. Asking a specialist for the missing contract analysis is better than declaring an incomplete aggregate response final. The coordinator should compare the required report sections with the returned specialist findings, identify the missing contract obligations, and request that specific investigation. Generic additional research could still omit the material contractual limitation.
Incorrect Answers
A:Reporting the missing contract analysis as an incomplete workstream would be honest, but it does not actively address a gap the coordinator can still investigate. The report already contains other sections, so the preferred next step is a targeted contract-restrictions assignment followed by synthesis. Escalation remains appropriate if the targeted review fails.
B:Always invoking every subagent wastes tokens and increases noise. This alternative does not establish how to close uncovered workstream gaps with targeted delegation in the stated workflow.
C:Prompts that describe a role are useful but not equivalent to technical permission controls. It would leave the stated need to close uncovered workstream gaps with targeted delegation unresolved.
Question 29
A user asks a single factual billing question with a verified database lookup available. Why avoid starting five specialist agents?
- Route solely to the pricing specialist, expanding only if the answer reveals dependencies
- Route subagent assignments and returned outputs through a central coordinating agent
- The coordinator should compare assumptions, reconcile conflicts and report uncertainty
- Answer using the minimal needed retrieval rather than activating an entire agent team
Explanation
Correct Answer
D:Multi-agent architectures add latency, coordination overhead and opportunities for inconsistency. A single well-scoped lookup is sufficient for this request. An already validated billing lookup is sufficient to answer a narrow account question. Creating separate specialist branches increases communication, coordination and verification cost without adding required information; delegation should follow genuine task complexity.
Incorrect Answers
A:Always invoking every subagent wastes tokens and increases noise. Although useful elsewhere, it is not the direct mechanism to avoid unnecessary multi-agent orchestration on simple tasks.
B:A hub-and-spoke architecture makes one coordinator responsible for task routing, provenance and integration. The scenario instead requires a way to avoid unnecessary multi-agent orchestration on simple tasks.
C:Comparing contradictory specialist reports is useful when several expert analyses are actually needed. In this case, the user asked one account-billing fact and a trusted lookup already exists. Spawning multiple branches just to reconcile them adds complexity without additional information; perform the narrow authorized lookup and answer from that evidence.
Question 30
A security and legal subagent interpret the same data retention policy differently. How should orchestration handle it?
- Route solely to the pricing specialist, expanding only if the answer reveals dependencies
- Escalate the discrepancy to a cross-domain synthesis step with explicit source citations
- Order the dependent tasks after the legal output while parallelizing unrelated tasks
- Have the refund subagent report its needs to the coordinator for further delegation
- Adopt whichever interpretation came from the agent with the most previous completions.
Explanation
Correct Answer
B:Conflicts between specialist findings require evaluation against primary evidence. Picking whichever subagent finishes first would hide the uncertainty from the decision-maker. The synthesis step should compare the actual retention rule and its applicable jurisdiction or contract to each specialist conclusion. It should identify where the interpretations diverge and avoid portraying either agent’s unsupported guess as the authoritative policy.
Incorrect Answers
A:Dispatching only to the pricing specialist is efficient for a pricing-only question. A disagreement between security and legal interpretations of retention rules cannot be settled by narrowing the work to prices; the coordinator must compare the competing interpretations against the governing source.
C:Scheduling legal work before dependent tasks solves a prerequisite-order problem, not a disagreement between two completed interpretations of the same policy. Both the security and legal agents have returned conflicting claims. The coordinator must compare the authoritative policy text and document the unresolved difference instead of simply changing execution order.
D:Routing a refund specialist's dependency through the coordinator controls agent-to-agent communication. It does not resolve two contradictory interpretations of a retention policy already returned by security and legal agents. The coordinator needs an evidence-backed cross-domain decision or an explicit unresolved finding.
E:Agent throughput is not evidence that a retention-policy interpretation is correct. A model that completed more requests is not necessarily interpreting the current contract correctly. Resolve the disagreement against effective policy documents, jurisdiction, scope and dates; escalate if the authoritative text remains ambiguous.