Anthropic CCA-F Practice Test 22
Question 210
A helpdesk agent chooses between search_ticket and create_ticket based on user intent. Which tool-choice policy suits the normal case?
- Allow automatic tool selection with clear descriptions and separate write authorization
- Set `tool_choice: any` for every helpdesk message so that even a simple answer must trigger a tool call
- Reserve final customer side effects for an authorized coordinator or dedicated execution gate
- Keep restarts in a separately approved execution workflow instead of the default research catalog
Explanation
Correct Answer
A:Automatic selection supports context-dependent requests. The create operation still needs explicit permission and validation, not just a well-worded description. Automatic selection can choose read or create based on the user's actual intent, while write access remains separately authorized at execution. Good tool descriptions and strict schemas do not make a create operation safe without business permission.
Incorrect Answers
B:Forcing a tool call on every request can cause unnecessary lookups, latency and data exposure when a direct response would suffice. The normal helpdesk case should use automatic selection between scoped search and create capabilities, with any state-changing ticket creation authorized separately at the execution boundary.
C:Specialists can propose actions but should not automatically hold every business privilege. The proposed option cannot provide the specific “Allow automatic tool selection with clear descriptions and separate write authorization” behavior that the case requires. Automatic selection can choose read or create based on the user's actual intent, while write access remains separately authorized at execution.
D:Production restart isolation protects high-impact operations, but the helpdesk question concerns ordinary selection between search_ticket and create_ticket. Provide accurate tool descriptions and allow appropriate selection, while separately checking authorization for any ticket creation; an unrelated restart workflow does not determine which ticket tool is needed.
Question 211
A review-only subagent needs to inspect support tickets but must never delete them. Which TWO settings reinforce that goal? Choose TWO.
- Expose ticket-search and ticket-read tools to the subagent
- Allow arbitrary write calls because the coordinator can apologize later
- Give the agent all administrative tools and ask it to be careful
- Explicitly deny ticket-delete operations at the executing tool boundary
Explanation
Correct Answers
A:Search and read capabilities let the support specialist inspect tickets without altering them. This is necessary but not sufficient: a list of preapproved reads must not be interpreted as a deny-all policy for every other tool. Pair the read tools with an enforceable denial of ticket deletion at the tool boundary.
D:An allow list of ticket-search and ticket-read functions identifies what this reviewer needs, but an allowedTools setting alone can merely preapprove calls without denying others in every mode. Explicitly deny ticket deletion at the effective tool or service authorization boundary so a subagent cannot remove records even after a prompt-injection attempt.
Incorrect Answers
B:The coordinator's ability to apologize afterward cannot undo deleted tickets. A review-only specialist must have only read and search capabilities, with ticket deletion omitted from its tool allowlist and denied at the execution layer. A human-readable apology is not a safety control.
C:A prompt-only warning is weaker than capability restriction. A natural-language request to be cautious is not a permission boundary. If the agent can invoke delete_ticket, a mistaken tool selection or injected instruction can still reach that destructive capability.
Question 212
An agent sees fifty similar issue trackers and often chooses the wrong one. What distribution change reduces errors?
- Allow automatic tool selection with clear descriptions and separate write authorization
- Give the agent only the relevant repository's issue tools for that task
- Publish a precise tool name, description and input schema through discovery
- Reserve final customer side effects for an authorized coordinator or dedicated execution gate
Explanation
Correct Answer
B:Narrowing tool exposure reduces ambiguity and strengthens data boundaries. Tool catalogs should be constructed from task context and authorization. A smaller scoped tool catalog reduces misrouting between similarly named trackers. The coordinator must still check repository and tenant authorization before exposing a write-capable tool to that agent.
Incorrect Answers
A:Automatic tool choice helps when a small set of clearly described capabilities fits the request. With fifty similar issue trackers visible, the model still has excessive ambiguity and opportunity for wrong-repository writes. Filter the catalog to the actual task's repository before selection.
C:Discovery metadata determines whether a model can select the appropriate capability. This alternative does not establish how to reduce model routing errors through contextual tool catalogs in the stated workflow.
D:Specialists can propose actions but should not automatically hold every business privilege. Although useful elsewhere, it is not the direct mechanism to reduce model routing errors through contextual tool catalogs.
Question 213
A multi-agent support system allows a diagnostic subagent to send refunds directly to customers. How should tool authority be arranged?
- Allow automatic tool selection with clear descriptions and separate write authorization
- Reserve final customer side effects for an authorized coordinator or dedicated execution gate
- Keep restarts in a separately approved execution workflow instead of the default research catalog
- Expose only fact-checking tools to that specialist while keeping deployment authority at the coordinator
Explanation
Correct Answer
B:Specialists can propose actions but should not automatically hold every business privilege. Centralized finalization enables approval and auditing. Diagnostic analysis and money movement have different security requirements. Keep the diagnostic specialist read-only and route any refund request through a separately authorized, logged transaction service.
Incorrect Answers
A:The alternative, “Allow automatic tool selection with clear descriptions and separate write authorization”, can matter in another part of the workflow. The proposed option cannot provide the specific “Reserve final customer side effects for an authorized coordinator or dedicated execution gate” behavior that the case requires. Keep the diagnostic specialist read-only and route any refund request through a separately authorized, logged transaction service.
C:Occasional need does not justify permanent broad privilege. That addresses a different part of the system, not the requirement to separate specialist recommendations from final execution rights.
D:A fact-checker's restricted tool list is a useful example of least privilege, but this diagnostic subagent can currently send refunds. The appropriate architecture places refund side effects behind an authorized coordinator or execution gate, independent of diagnostic agents, rather than merely documenting another specialist's limits.
Question 214
A developer forces the web-search tool for every request, including confidential arithmetic. What is the consequence?
- Use a conditional tool choice because forced calls can add unnecessary data exposure and latency
- Allow automatic tool selection with clear descriptions and separate write authorization
- Keep restarts in a separately approved execution workflow instead of the default research catalog
- Validate the tool arguments and business invariants after tool selection
Explanation
Correct Answer
A:Forcing a tool is appropriate only when its call is required. Otherwise automatic or no-tool paths are safer and more efficient. Forcing tool use during an answerable calculation introduces latency and can unnecessarily disclose context to external services. Allow the model to answer directly when no real external lookup or action is required.
Incorrect Answers
B:Automatic selection with clear descriptions helps ordinary helpdesk routing, but it does not necessarily prevent forcing web search for confidential arithmetic. Change the tool_choice policy itself to permit a direct local answer, and keep web access unavailable when task requirements and data sensitivity do not justify it.
C:A separately approved production-restart workflow limits dangerous operations, but the immediate problem is a web-search call forced for every simple arithmetic question. Adjust tool_choice so no external tool is compulsory for requests that can be answered locally; a restart gate leaves the unnecessary search intact.
D:Validating arguments after selection is still necessary whenever a real tool call occurs. It cannot eliminate the forced external search before one is selected, however. Use optional or automatic tool choice for sensitive local computations and validate only those tool calls that remain justified.
Question 215
A caller forces a schema tool to return an order object but ignores argument validation. What must remain in place?
- Match each result to its tool_use identifier rather than relying on arrival order
- Validate the tool arguments and business invariants after tool selection
- Omit delete tools from the reviewer's allowed tool set
- Use a conditional tool choice because forced calls can add unnecessary data exposure and latency
Explanation
Correct Answer
B:Tool choice ensures the path, not correctness of the fields. Schema and domain validation remain necessary at execution time. Tool choice only controls whether and which tool is invoked; it does not prove arguments contain valid account IDs or amounts. Validate both structure and business constraints before the selected tool performs any side effect.
Incorrect Answers
A:Correlating multiple tool results by tool_use IDs prevents swapped responses, but this caller has already selected a schema tool and ignores whether arguments satisfy its input contract. Validate required fields and business invariants before acting; correct correlation cannot make invalid payloads safe.
C:Omitting delete tools is a least-privilege measure for read-only review. The case instead describes invalid order arguments on a selected schema tool. Even an allowed and non-destructive operation needs input-schema and business-rule checks before the application consumes or acts on its result.
D:Forcing a tool is appropriate only when its call is required. This alternative does not establish how to avoid assuming forced tool use guarantees correct data in the stated workflow.
Question 216
A model makes two independent tool requests and their replies arrive in reverse order. How should the host reconcile them?
- Match each result to its tool_use identifier rather than relying on arrival order
- Validate the tool arguments and business invariants after tool selection
- Use a conditional tool choice because forced calls can add unnecessary data exposure and latency
- Publish a precise tool name, description and input schema through discovery
Explanation
Correct Answer
A:Parallel tool calls may finish in any order, so the position of a returned value is not a stable indication of its originating request. Correlate every asynchronous completion with its tool_use_id or a stable application-assigned request ID, and persist that association through aggregation. Otherwise a weather report or customer account record could be attached to the wrong downstream action.
Incorrect Answers
B:Tool choice ensures the path, not correctness of the fields. This is not a substitute for “Match each result to its tool_use identifier rather than relying on arrival order”; that control is necessary in the stated circumstances. Correlate every asynchronous completion with its tool_use_id or a stable application-assigned request ID, and persist that association through aggregation.
C:Not forcing unnecessary tool calls improves privacy and cost, but the two requested tools are already appropriate and finished in reverse order. A tool-choice setting does not map their outputs. Preserve each result's originating tool_use identifier rather than assuming completion order matches invocation order.
D:Discovery metadata determines whether a model can select the appropriate capability. That addresses a different part of the system, not the requirement to correlate parallel tool responses by invocation identity.
Question 217
A code-search assistant occasionally needs a production restart tool for troubleshooting. How should privileges be handled?
- Publish a precise tool name, description and input schema through discovery
- Expose only fact-checking tools to that specialist while keeping deployment authority at the coordinator
- Use a conditional tool choice because forced calls can add unnecessary data exposure and latency
- Keep restarts in a separately approved execution workflow instead of the default research catalog
Explanation
Correct Answer
D:A production restart is a privileged side effect and should not live in an ordinary research or search tool catalog merely because an analyst sometimes needs it. Keep the default troubleshooting agent read-only and route restart requests through a distinct, logged approval and execution boundary. The separate path can verify the target, maintenance conditions and responsible actor before acting, which is safer than granting unrestricted restart authority to every research run.
Incorrect Answers
A:Discovery metadata determines whether a model can select the appropriate capability. This alternative does not establish how to gate high-risk tools outside the default role in the stated workflow.
B:Restricting fact-checkers to read tools is sound, but the dangerous capability here is restarting production from a code-search context. Keep restarts behind a separate authenticated workflow with explicit approval; a general fact-check permission rule does not isolate the service-restart action.
C:Forcing a tool is appropriate only when its call is required. It would leave the stated need to gate high-risk tools outside the default role unresolved.
Question 218
An assistant must give a safe answer when no tools are currently available. What should it avoid?
- Keep restarts in a separately approved execution workflow instead of the default research catalog
- Publish a precise tool name, description and input schema through discovery
- Avoid claiming fresh external verification and disclose the missing tool capability
- Require a recorded permitted tool invocation and successful result before reporting an external action complete
Explanation
Correct Answer
C:A model cannot infer current database state without access. Tool absence should lead to an appropriately bounded answer rather than fictional retrieval. If a live source cannot be queried, the agent should clearly distinguish stable background knowledge from information needing current verification. A fluent answer without tool access must not claim that an external account or inventory was checked.
Incorrect Answers
A:A production restart is a privileged side effect and should not live in an ordinary research or search tool catalog merely because an analyst sometimes needs it. The proposed option cannot provide the specific “Avoid claiming fresh external verification and disclose the missing tool capability” behavior that the case requires. If a live source cannot be queried, the agent should clearly distinguish stable background knowledge from information needing current verification.
B:Discovery metadata determines whether a model can select the appropriate capability. The scenario instead requires a way to avoid inventing external results when tools are unavailable.
D:Model text is not evidence of an external side effect. Although useful elsewhere, it is not the direct mechanism to avoid inventing external results when tools are unavailable.
Question 219
A coordinator repeatedly invokes expensive search tools after sufficient evidence is collected. What helps prevent overuse?
- Omit delete tools from the reviewer's allowed tool set
- Impose per-task tool-call budgets and clear completion criteria
- Avoid claiming fresh external verification and disclose the missing tool capability
- Use a conditional tool choice because forced calls can add unnecessary data exposure and latency
Explanation
Correct Answer
B:A budget constrains cost and prevents agent drift. Completion criteria tell the coordinator when enough verified evidence has been collected. Set a budget for external calls and a success condition showing when enough evidence has been collected. Repeated identical searches after all required facts are verified add cost without improving the result.
Incorrect Answers
A:Removing delete permissions from reviewers prevents accidental destructive changes, but expensive search overuse can occur entirely with read-only tools. Set per-task invocation budgets and evidence sufficiency criteria so the coordinator stops searching after the answer is already supported.
C:A model cannot infer current database state without access. That addresses a different part of the system, not the requirement to limit unnecessary tool invocation after adequate evidence.
D:Automatic selection reduces unneeded forced calls, yet an agent can still choose another expensive search repeatedly after sufficient evidence is available. Enforce tool-call limits and completion criteria in the controller rather than relying on the model to stop voluntarily.
Question 220
An MCP server exposes a useful tool, but clients rarely select it because its discovery metadata is vague. Which THREE improvements help? Choose THREE.
- Avoid claiming fresh external verification and disclose the missing tool capability
- Require a recorded permitted tool invocation and successful result before reporting an external action complete
- Keep restarts in a separately approved execution workflow instead of the default research catalog
- Publish a precise tool name, description and input schema through discovery
- Describe required arguments, units and permitted values unambiguously in the tool schema.
- State what the tool returns and describe likely error results in its description.
Explanation
Correct Answers
D:Discovery requires a name that communicates the operation, a description that explains when the tool should be chosen, and a schema that identifies required fields. These are published as machine-readable metadata so clients can select the correct MCP capability. A vague label alone will not tell the agent whether the tool is read-only, whether parameters are optional or what side effects may occur.
E:Concrete field-level metadata reduces malformed calls and helps the model choose the tool correctly. A discovery-time schema should identify required IDs, valid formats, units and enumerations, so Claude can prepare valid arguments without guessing. Validation still belongs at the server boundary before executing the call.
F:Clear output and failure contracts make the capability both discoverable and predictable. The description should say whether the tool returns a result list, a state change or an error payload. Clear result semantics help clients distinguish missing data, rejected requests and ordinary success without extra trial calls.
Incorrect Answers
A:A model cannot infer current database state without access. Although useful elsewhere, it is not the direct mechanism to expose callable MCP tools with clear discovery metadata.
B:Model text is not evidence of an external side effect. This alternative does not establish how to expose callable MCP tools with clear discovery metadata in the stated workflow.
C:Separating production restarts protects high-risk actions, but this MCP server exposes a useful tool that clients cannot discover reliably. Publish a specific tool name, purpose and required arguments through discovery metadata. Tool isolation does not fix missing descriptions and selection cues.