Contents — domains, guide and mocks
Tool Design & MCP Integration
CCAR-F · Domain 218 questions · 18% of the exam
Answer everything, then check. Each result links back to the lesson for the objective it came from.
Question 1 · 2.1
A market-research agent has
get_web_results(“Gets results for a query”) andget_article_data(“Gets data for a query”). The first searches the web; the second queries a licensed news archive. Logs show news questions going to web search about half the time.What is the most effective first change?
Question 2 · 2.1
A claims agent uses one tool,
process_document, with a free-texttaskinput. Depending on the wording, it returns extracted fields, a summary or a coverage opinion, and the downstream system that expects fields often breaks.Which two changes address the design problem? (Select 2.)
Question 3 · 2.1
A retailer’s support agent has a well-described
billing_issue_refundtool that says it is only for refunds already approved. The system prompt also says: “Whenever the customer mentions a refund, callbilling_issue_refund.” Customers asking about the refund policy trigger refund attempts.What should the architect do?
Question 4 · 2.1
An internal IT agent connects to five MCP servers exposing about 60 tools. Several servers offer a tool called
searchorcreate_ticket, and Claude often files tickets in the wrong system.Which change most directly fixes the selection problem?
Question 5 · 2.2
An airline rebooking agent calls
rebook_flight. When a fare rule forbids a change, the tool returnsisError: truewith the text “Operation failed”. The agent retries the same call four times, then tells the passenger the system is down.What change best fixes this behaviour?
Question 6 · 2.2
A CRM lookup tool wraps every call in a try/except that returns an empty list on any exception. During a network outage, a sales agent tells several account managers that their key accounts have no open opportunities.
What is the core design flaw?
Question 7 · 2.2
In a research system, a document subagent hits a rate limit on one source and a permission error on another. It currently returns “Unable to complete task” to the coordinator and discards the eight documents it had already analysed.
How should the subagent handle these failures?
Question 8 · 2.3
A research system’s synthesis agent has the same 14 tools as the search agent. Reports increasingly cite sources the search agent never found, and costs are rising.
What is the best change?
Question 9 · 2.3
A document pipeline defines four extraction tools, one per document type. With the default
tool_choice, some documents come back as plain-text summaries and the pipeline fails.Which
tool_choicefixes this while keeping the right schema per document?Question 10 · 2.3
A compliance agent in the Agent SDK must never run shell commands. The team lists
Read,GrepandGlobinallowedToolsand leavesBashout, but logs showBashcalls still being attempted.Which two changes actually keep
Bashaway from the agent? (Select 2.)Question 11 · 2.3
An insurance claims workflow must always run
extract_claim_fieldson the first turn, then let Claude decide between fraud-check, coverage and payout tools based on what it finds.How should
tool_choicebe configured?Question 12 · 2.4
A team wants every developer on a repository to have the same Jira MCP server in Claude Code. Each developer has their own Jira API token.
What is the best configuration?
Question 13 · 2.4
A developer is trying out a new MCP server for a code-metrics service. They are not sure the team will want it, and it needs their personal API key.
Where should they add it?
Question 14 · 2.4
An agent answering questions about an analytics warehouse spends its first eight tool calls listing tables and describing columns before it writes any query. The schema changes only weekly.
Which change most directly reduces those exploratory calls?
Question 15 · 2.5
A developer asks Claude Code to find every place a deprecated function,
legacyAuth, is called in a large monorepo so the calls can be replaced.Which tool should Claude use first?
Question 16 · 2.5
Claude tries to change
retries: 3toretries: 5for the payments client only, but Edit fails: the string appears four times inconfig.ts, once per client.What should Claude do next?
Question 17 · 2.5
Claude Code joins an unfamiliar codebase and is asked how a password-reset email gets sent. There are around 3,000 files.
Which two steps reflect an effective approach? (Select 2.)
Question 18 · 2.5
A team wants to find all test files for React components. Tests are named like
Button.test.tsxand live next to their components throughoutsrc/.What is the most direct call?