cert
cert-1
cert-2

Pass Anthropic CCA-F Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
CCA-F Exam - Verified By Experts
CCA-F Premium File

CCA-F Premium File

$89.99
$98.99
  • Premium File 134 Questions & Answers. Last Update: Nov 02, 2026

Whats Included:

  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
 
$98.99
$89.99
accept 412 downloads in the last 7 days
block-screenshots
Anthropic CCA-F Practice Test 23

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.

  1. Avoid claiming fresh external verification and disclose the missing tool capability
  2. Require a recorded permitted tool invocation and successful result before reporting an external action complete
  3. Keep restarts in a separately approved execution workflow instead of the default research catalog
  4. Publish a precise tool name, description and input schema through discovery
  5. Describe required arguments, units and permitted values unambiguously in the tool schema.
  6. 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.

Question 221

A team wants reproducible MCP integration across a repository without exposing credentials. Which TWO actions are appropriate? Choose TWO.

  1. Commit production API keys directly to the repository
  2. Store project-shareable server configuration in the repository-scoped .mcp.json
  3. Inject API tokens from secure local or CI environment configuration
  4. Give every MCP server root access to the host filesystem

Explanation

Correct Answers

B:

Project configuration helps teammates reproduce the intended tool integration. The two other choices either violate the stated requirement or do not address the failure. Keep nonsecret server names, launch instructions and endpoint configuration in the shared project settings; inject secrets through controlled environment or credentials management. This preserves reproducibility without leaking access tokens to source control.

C:

Secret material should not be committed with shared MCP configuration. Secure configuration can supply credentials at execution time without placing them in a shared project file. Keep access scoped to the server and operation, and ensure logs, examples and tool outputs redact token values.

Incorrect Answers

A:

A versioned file can expose credentials to many readers and historical copies. A repository credential can be copied by collaborators or leaked in build logs and commit history. Secrets should remain in a managed store or protected runtime environment, never committed alongside reusable project configuration.

D:

Server permissions should match the specific tool purpose. Integrating an MCP server does not imply giving it control over every directory. Restrict filesystem roots, network destinations and tool permissions to the project tasks it actually needs, limiting the damage from compromise.

Question 222

A research specialist needs web read access but not invoice payment authority. Which tool-access arrangement is most appropriate?

  1. Remove that capability from the writer's tool set
  2. Constrain file tool access to the authorized project paths
  3. Require server-side authorization independently of the model's claimed authority
  4. Grant authorized web-read operations and enforce an explicit denial of invoice-payment calls

Explanation

Correct Answer

D:

Give the research specialist only the web-read capability its evidence task requires, and enforce an explicit denial of invoice-payment calls in the effective tool permissions or executing service. In the Agent SDK, allowedTools/allowed_tools is an approval list, not a universal deny list; omitted tools can remain callable depending on permission mode. A deny rule, restricted subagent tools or server-side authorization must block financial writes independently of the model's intention.

Incorrect Answers

A:

Removing a destructive capability from an unrelated report writer does not secure this research specialist. The specialist is the actor that needs web-read access without payment execution; configure its own effective tool set and enforce a payment denial in that execution context. A restriction on another agent cannot prevent this one from requesting a financial side effect.

B:

Restricting repository file paths may prevent unnecessary filesystem reads, but invoice payment is a separate privileged tool operation. Even a fully path-restricted file reader could call a financial service if the payment tool remains available and authorized. Permit the needed web research and independently deny payment execution for the specialist.

C:

Server-side authorization is necessary for payment operations, but the generic instruction to check authorization does not itself state the specialist's allowed web-read capability or prohibit invoice payments in its role. The keyed arrangement establishes both sides of least privilege: permit authorized research and explicitly deny the unrelated payment action.

Question 223

A report writer has access to a destructive database management tool it never needs. How should tool selection or distribution change?

  1. Remove that capability from the writer's tool set
  2. Constrain file tool access to the authorized project paths
  3. Require server-side authorization independently of the model's claimed authority
  4. Limit the subordinate's ability to invoke further Task tools

Explanation

Correct Answer

A:

The relevant control is to remove that capability from the writer's tool set. A least-privilege tool distribution reduces the consequences of model error and prompt injection. This matters when a report writer has access to a destructive database management tool it never needs. Give clients discoverable capabilities with accurate descriptions and enforce authorization independently of model instructions.

Incorrect Answers

B:

Path restriction protects unrelated files and helps satisfy scope boundaries. The direct remedy is “Remove that capability from the writer's tool set”, which the alternative does not itself accomplish. A least-privilege tool distribution reduces the consequences of model error and prompt injection.

C:

Tool exposure is not proof that the current requester may execute every operation it represents. Here, a report writer has access to a destructive database management tool it never needs. Remove that capability from the writer's tool set. A least-privilege tool distribution reduces the consequences of model error and prompt injection.

D:

Recursion permissions must be explicit to prevent unbounded delegation trees. This is not a substitute for “Remove that capability from the writer's tool set”; that control is necessary in the stated circumstances. A least-privilege tool distribution reduces the consequences of model error and prompt injection.

Question 224

An analysis agent requires only selected paths from a repository. What tool permission or routing change addresses the problem?

  1. Require server-side authorization independently of the model's claimed authority
  2. Constrain file tool access to the authorized project paths
  3. Limit the subordinate's ability to invoke further Task tools
  4. Split available tools by role and document the distinction

Explanation

Correct Answer

B:

Path restriction protects unrelated files and helps satisfy scope boundaries. For this situation, the system should constrain file tool access to the authorized project paths. The factual trigger is an analysis agent requires only selected paths from a repository. Distinguish MCP tools that execute actions from resources that provide read-only reference material.

Incorrect Answers

A:

Tool exposure is not proof that the current requester may execute every operation it represents. Here, an analysis agent requires only selected paths from a repository. Constrain file tool access to the authorized project paths. Path restriction protects unrelated files and helps satisfy scope boundaries.

C:

Recursion permissions must be explicit to prevent unbounded delegation trees. The direct remedy is “Constrain file tool access to the authorized project paths”, which the alternative does not itself accomplish. Path restriction protects unrelated files and helps satisfy scope boundaries.

D:

Role-specific tool sets make capability selection clearer and enforce separation of responsibilities. The required action is “Constrain file tool access to the authorized project paths”; the other measure addresses a separate concern. Path restriction protects unrelated files and helps satisfy scope boundaries.

Question 225

A refund agent receives a tool name that claims approval is implicit. Which tool-access arrangement is most appropriate?

  1. Limit the subordinate's ability to invoke further Task tools
  2. Split available tools by role and document the distinction
  3. Require server-side authorization independently of the model's claimed authority
  4. Scope its configuration and credentials to the intended workspace

Explanation

Correct Answer

C:

When a refund agent receives a tool name that claims approval is implicit, the system should require server-side authorization independently of the model's claimed authority. Tool exposure is not proof that the current requester may execute every operation it represents. Give clients discoverable capabilities with accurate descriptions and enforce authorization independently of model instructions.

Incorrect Answers

A:

Recursion permissions must be explicit to prevent unbounded delegation trees. Here, a refund agent receives a tool name that claims approval is implicit. Require server-side authorization independently of the model's claimed authority. Tool exposure is not proof that the current requester may execute every operation it represents.

B:

Role-specific tool sets make capability selection clearer and enforce separation of responsibilities. Here, a refund agent receives a tool name that claims approval is implicit. Require server-side authorization independently of the model's claimed authority. Tool exposure is not proof that the current requester may execute every operation it represents.

D:

Connection configuration should follow the authorized trust boundary rather than automatically expanding to all projects. Here, a refund agent receives a tool name that claims approval is implicit. Require server-side authorization independently of the model's claimed authority. Tool exposure is not proof that the current requester may execute every operation it represents.

Question 226

A coordinator delegates to a reporting agent that must not be able to delegate further work. How should tool selection or distribution change?

  1. Split available tools by role and document the distinction
  2. Scope its configuration and credentials to the intended workspace
  3. Assign the specialist a minimal read-only allowedTools scope
  4. Exclude the Agent delegation capability from the reporting agent’s effective available tools

Explanation

Correct Answer

D:

A reporting specialist that must not delegate further should have no effective Agent tool in its allowed subagent capabilities. Anthropic documents that Agent is the current subagent invocation tool; configure the reporter's agent-specific tools subset without Agent, or explicitly deny it at the permission boundary. Also constrain nesting at the controller level when a broader no-recursion policy is required.

Incorrect Answers

A:

Separating role catalogs is valuable, but merely documenting that a reporting role should not delegate is advisory. The runtime must actually omit or deny the Agent tool for this specific reporting subagent, otherwise its delegated work may still spawn further workers under inherited permissions.

B:

Workspace-scoped MCP credentials protect which external services the reporter can access. They do not control whether that reporter can invoke the Agent tool and create another subagent. A no-further-delegation policy must restrict the effective delegation capability, regardless of workspace connection scope.

C:

Preapproving a minimal read-only allowedTools set is not necessarily a deny-all policy: unlisted tools can remain available under permissive session modes. To stop this reporter from spawning another agent, remove Agent from its effective subagent tool subset or apply an explicit delegation-deny rule, rather than depending on a general read-only approval list.

Question 227

Two roles share a broad tool catalog but perform different duties. What tool permission or routing change addresses the problem?

  1. Split available tools by role and document the distinction
  2. Scope its configuration and credentials to the intended workspace
  3. Assign the specialist a minimal read-only allowedTools scope
  4. Remove that capability from the writer's tool set

Explanation

Correct Answer

A:

The relevant control is to split available tools by role and document the distinction. Role-specific tool sets make capability selection clearer and enforce separation of responsibilities. This matters when two roles share a broad tool catalog but perform different duties. Give clients discoverable capabilities with accurate descriptions and enforce authorization independently of model instructions.

Incorrect Answers

B:

Connection configuration should follow the authorized trust boundary rather than automatically expanding to all projects. Here, two roles share a broad tool catalog but perform different duties. Split available tools by role and document the distinction. Role-specific tool sets make capability selection clearer and enforce separation of responsibilities.

C:

Giving a single specialist a read-only allowedTools preapproval list may be appropriate when that specialist only reads. It does not define the different permitted tool catalogs for both roles in this scenario, nor necessarily deny omitted tools. Build separate role-specific capabilities and enforce their effective privileges, rather than reuse one approval list for everyone.

D:

A least-privilege tool distribution reduces the consequences of model error and prompt injection. Here, two roles share a broad tool catalog but perform different duties. Split available tools by role and document the distinction. Role-specific tool sets make capability selection clearer and enforce separation of responsibilities.

Question 228

An MCP tool is available to one approved workspace but not another. Which tool-access arrangement is most appropriate?

  1. Assign the specialist a minimal read-only allowedTools scope
  2. Scope its configuration and credentials to the intended workspace
  3. Remove that capability from the writer's tool set
  4. Constrain file tool access to the authorized project paths

Explanation

Correct Answer

B:

MCP servers can be configured at local, project or user scope, and those choices control where a connection becomes available. If an integration belongs to only one approved workspace, use the intended scoped configuration and credentials rather than exposing it at a broader user/global scope. The server must still enforce authorization; a tool listing is not permission to access another tenant.

Incorrect Answers

A:

A read-only allowedTools preapproval list changes how an agent may call tools; it does not determine which workspace's MCP server and credentials are installed or inherited. The problem is cross-workspace exposure of one integration. Configure that MCP server and its secrets only for the approved workspace, with appropriate transport and authorization checks.

C:

Removing a capability from an unrelated writer's tools does not stop this MCP server from being configured in the wrong workspace or using credentials with wider reach. Fix the server's installation scope and service identity for the workspace that is actually approved, then verify that an unapproved workspace cannot connect or call it.

D:

Restricting file-read paths can reduce repository exposure, but MCP availability is determined by the server configuration and credentials, not merely by local file globs. A workspace-specific integration must be scoped at the MCP connection layer and checked by the remote service's authorization rules.

Question 229

A developer wants a personal MCP server available across unrelated projects without changing the team's repository. Which scope fits?

  1. Configure the server in the appropriate user-local Claude configuration
  2. Use a project-scoped .mcp.json configuration in the repository
  3. Review the server operator, requested privileges and data handling before connection
  4. Publish a reusable MCP prompt template with declared arguments

Explanation

Correct Answer

A:

Personal configuration isolates a developer's private tooling from project-shared settings. It should not be committed as workspace policy. User-scoped configuration can make an MCP service available across projects without changing repository-scoped settings for teammates. Verify credentials and access for each project so global availability does not imply global permission.

Incorrect Answers

B:

A repository-level.mcp.json config makes a server available to the project team, but the requester explicitly wants a personal server across unrelated projects. Put that configuration in the user scope instead, avoiding changes to team-wide project settings.

C:

Reviewing the server operator's trust and privileges is a prudent security step, but it does not determine whether a personal MCP server applies to all projects. Use the user configuration scope for personal cross-project availability, then validate the server's access separately.

D:

Prompts supply reusable workflow guidance; they are different from data resources and model-invoked tools. The decisive requirement here is to keep personal servers out of repository-wide configuration.

Question 230

A shared .mcp.json file contains an API token and is committed to source control. What is the right remediation?

  1. Use a project-scoped .mcp.json configuration in the repository
  2. Remove the token, rotate it and inject credentials through a secure environment mechanism
  3. Rediscover capabilities and revalidate outstanding calls against the new server state
  4. Authenticated actor, tool name, arguments metadata, result and correlation identifier

Explanation

Correct Answer

B:

Committed secrets can be copied and retained in history. Rotation plus separation of configuration from secrets restores the intended boundary. Remove the committed token from active use and rotate it because git history may retain copies even after deletion. Replace embedded credentials with protected runtime injection and audit repository access.

Incorrect Answers

A:

Project scope supports reproducible tooling for the workspace. This alternative does not establish how to avoid leaking MCP credentials through project configuration in the stated workflow.

C:

Refreshing MCP tool discovery after a server restart solves stale capability metadata. A committed API token is a credential exposure problem, not an outdated tool catalog. Remove and rotate the secret and supply it through approved environment or secret-management mechanisms.

D:

A server-side audit record ties a side effect to the requester and outcome. The scenario instead requires a way to avoid leaking MCP credentials through project configuration.

Claude Certified Architect - Foundations (CCA-F) Practice Tests