Courseiva

CCDV-F · topic practice

Tools and MCP Integration practice questions

This domain covers Claude's tool use contract: JSON Schema tool definitions, the description field, tool_choice, and streaming tool_use blocks. It also covers MCP architecture — Host, Client, Server, and transports like Stdio and HTTP — and how tool results are returned. Questions are scenario-based: given a schema or transport setup, predict Claude's behavior or the client's handling.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Tools and MCP Integration

What the exam tests

What to know about Tools and MCP Integration

Be able to read a tool definition and predict Claude's call-or-answer behavior, name the description field as the selection signal, and explain MCP Host/Client/Server roles. The key skill: knowing streamed tool arguments arrive incrementally as input_json_delta and must be accumulated before parsing.

Reading JSON Schema tool definitions to predict whether Claude calls a tool or answers directly

Identifying the description field as the primary signal for when Claude selects a tool

Tracing MCP Host, Client, and Server roles across Stdio and HTTP transports

Handling streamed tool_use blocks and input_json_delta events in the Anthropic API

Watch out for

Common Tools and MCP Integration exam traps

  • ▸Assuming a tool is called whenever the query matches its name, ignoring whether the schema's required parameters can be satisfied from the user's message
  • ▸Confusing tool_choice values: auto lets Claude decide, any forces some tool, and a named tool forces that specific one
  • ▸Treating MCP reconnection as automatic; with Stdio, a crashed server process typically ends the session and the Host must restart it

Practice set

Tools and MCP Integration questions

20 questions · select your answer, then reveal the explanation

When designing an MCP Server to help Claude interact with a local database, a developer needs to decide between using MCP Resources or MCP Tools. Which TWO statements correctly describe the differences between these primitives?

A developer wants to ensure that Claude uses a specific 'search_documentation' tool every single time a user asks a question about their proprietary software. Which configuration of the 'tool_choice' parameter should be used?

A developer is building a complex MCP-based system. They want to utilize 'MCP Prompts' to standardize how Claude interacts with their server. Which THREE statements accurately describe the capabilities and behavior of MCP Prompts?

Which TWO of the following are benefits of using the Model Context Protocol (MCP) over traditional, custom-built tool-calling implementations?

When providing a system prompt alongside a set of tools, what is the best practice for instructing Claude on how to use those tools?

A developer wants to ensure that Claude always uses a specific tool named 'search_documentation' to answer any user query, regardless of the user's intent. Which TWO configurations or strategies are necessary to achieve this? (Select TWO)

The Model Context Protocol (MCP) introduces a standardized way to connect models to data and tools. Which TWO statements accurately describe the roles of MCP Clients and Servers? (Select TWO)

A developer is building a Claude-powered support assistant that must query an internal ticketing system through a custom MCP server named 'tickets-mcp'. The server exposes a tool called 'get_ticket' and is launched as a local stdio process. During integration, Claude never emits a 'tool_use' block for 'get_ticket', even when the user explicitly asks about a ticket number. The developer has verified that the tool schema is valid JSON and the server starts without errors. Which configuration issue is the MOST likely cause?

A developer is implementing a weather-reporting agent using Claude 3.5 Sonnet. After Claude generates a tool_use block for the 'get_weather' tool, the developer fetches the data. What is the correct next step to ensure Claude can finalize its response to the user?

In the Model Context Protocol (MCP) architecture, which component is responsible for providing specific resources, tools, and prompts to the rest of the ecosystem?

Refer to the exhibit. A developer provides this tool definition to Claude. If a user asks 'What is the tax on $100?', how will Claude likely behave based on the provided JSON schema?

Exhibit

{
  "name": "calculate_tax",
  "description": "Calculates sales tax for a given amount and state.",
  "input_schema": {
    "type": "object",
    "properties": {
      "amount": {"type": "number"},
      "state_code": {"type": "string", "minLength": 2, "maxLength": 2}
    },
    "required": ["amount"]
  }
}

An MCP Server is connected to a Host using the Stdio transport. If the server process crashes, how does the MCP architecture generally handle the reconnection logic?

Claude requests a tool call to 'query_database', but the database is currently down. What is the best practice for handling this error so Claude can inform the user effectively?

Refer to the exhibit. A developer is debugging an MCP integration and sees these logs in their console. What is the most likely cause of this error?

Exhibit

DEBUG [mcp] Sending request: tools/call { name: 'get_files', arguments: { path: '/' } }
DEBUG [mcp] Received response: { error: { code: -32601, message: 'Method not found' } }

When using Claude's tool use features in a streaming response, how should the developer handle the 'tool_use' blocks in the stream?

Claude generates a response containing three separate 'tool_use' blocks in a single turn. How should the developer process these tool calls to maintain optimal performance and follow Anthropic's best practices?

A security auditor is reviewing an application that uses the Model Context Protocol (MCP). Which TWO security considerations are most important for the developer to address when implementing the MCP Server?

A company wants Claude to answer questions about their internal HR policies. They are deciding between fine-tuning a model and using a Tool-calling (RAG) approach. Why is Tool-calling usually preferred for this use case?

A developer is architecting a system where Claude must interact with a proprietary internal database. According to the Model Context Protocol (MCP) architecture, which component is responsible for surfacing the database schemas and handling the actual execution of the SQL queries?

Refer to the exhibit. A developer provides this tool definition to Claude. If the user asks for the weather in 'London' without specifying a unit, how will Claude's tool_use block be structured based on this JSON schema?

Exhibit

{
  "name": "get_weather",
  "description": "Get the current weather in a given location",
  "input_schema": {
    "type": "object",
    "properties": {
      "location": {
        "type": "string",
        "description": "The city and state, e.g. San Francisco, CA"
      },
      "unit": {
        "type": "string",
        "enum": ["celsius", "fahrenheit"]
      }
    },
    "required": ["location"]
  }
}

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Tools and MCP Integration sessions

Start a Tools and MCP Integration only practice session

Every question in these sessions is drawn from the Tools and MCP Integration domain — nothing else.

Related practice questions

Related CCDV-F topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the CCDV-F exam test about Tools and MCP Integration?
Be able to read a tool definition and predict Claude's call-or-answer behavior, name the description field as the selection signal, and explain MCP Host/Client/Server roles. The key skill: knowing streamed tool arguments arrive incrementally as input_json_delta and must be accumulated before parsing.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Tools and MCP Integration questions in a focused session?
Yes — the session launcher on this page draws every question from the Tools and MCP Integration domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other CCDV-F topics?
Use the topic links above to move to related areas, or go back to the CCDV-F question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the CCDV-F exam covers. They are not copied from any real exam or dump site.