Anthropic CCDV-F (Claude Certified Developer - Foundations) Practice Test 2

Question 10

For an enterprise MCP client, the missing capability is to obtain a capability already provided as a supported Anthropic server tool. What should the developers implement?

  1. Put an approval gate in the host-side write handler.
  2. Disable the capability at configuration or tool-registration level.
  3. Implement the approval in application workflow control rather than only in a Skill.
  4. Configure the built-in capability instead of recreating it as a local handler.

Explanation

Correct Answer

D:

To obtain a capability already provided as a supported Anthropic server tool in this enterprise MCP client, provider tools simplify execution ownership, though availability, cost, and data handling still require assessment; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to ensure an agent obtains explicit authorization before updating a customer record because an irreversible or sensitive write must be permitted by trusted application logic, not merely because the model selected a tool; that mechanism does not meet the different requirement to obtain a capability already provided as a supported Anthropic server tool.

B:

The proposed alternative helps to remove an agent's access to an obsolete integration without rewriting all its task prompts because actual registered capabilities define what may execute; changing descriptive prompt text alone does not revoke a previously available tool; that mechanism does not meet the different requirement to obtain a capability already provided as a supported Anthropic server tool.

C:

The proposed alternative helps to enforce a mandatory fixed approval step regardless of what instructions the model follows because skills can guide agent behavior, but deterministic policy gates must live in trusted code so they cannot be skipped by model interpretation; that mechanism does not meet the different requirement to obtain a capability already provided as a supported Anthropic server tool.

Question 11

A team maintaining a model selection trial has two different engineering requirements: (1) know why a long prompt plus a proposed response may exceed the model's accepted context, and (2) trade answer latency and computation against solution quality on supported models. Which TWO independent changes directly meet them? Choose TWO.

  1. Model the response as conditioned token generation.
  2. Select an available effort level after measuring task performance.
  3. Measure input-token usage per request and track the prompt components.
  4. Budget total context for instructions, history, tools, and output.
  5. Evaluate a Sonnet-family model against a realistic task set.

Explanation

Correct Answers

B:

To trade answer latency and computation against solution quality on supported models as part of a design that must also know why a long prompt plus a proposed response may exceed the model's accepted context, reasoning effort is an inference-time tradeoff; lowering it may reduce costs or latency while harming difficult-case accuracy; this is why the action is one of the two required selections.

D:

To know why a long prompt plus a proposed response may exceed the model's accepted context as part of a design that must also trade answer latency and computation against solution quality on supported models, a context window bounds what can be processed in one request; large tool results consume it along with user messages; this is why the action is one of the two required selections.

Incorrect Answers

A:

This alternative serves the separate goal to explain why language-model output is generated step by step rather than fetched from a fixed response table because autoregressive decoding selects subsequent tokens based on supplied context and prior output, which creates flexible but non-guaranteed wording; the required outcomes are instead to know why a long prompt plus a proposed response may exceed the model's accepted context and to trade answer latency and computation against solution quality on supported models.

C:

This alternative serves the separate goal to explain a billing increase after lengthy system instructions are added because repeated prefixes and conversation history consume billable input, so cost cannot be inferred from output length alone; the required outcomes are instead to know why a long prompt plus a proposed response may exceed the model's accepted context and to trade answer latency and computation against solution quality on supported models.

E:

This alternative serves the separate goal to deliver moderately complex development assistance with balanced quality, cost, and latency because a balanced model tier often offers useful capability without the latency or cost of the most expensive tier; evaluation should drive final selection; the required outcomes are instead to know why a long prompt plus a proposed response may exceed the model's accepted context and to trade answer latency and computation against solution quality on supported models.

Question 12

An operational review of a specialist-agent orchestration service reports distinct failures: it cannot require precise control over message assembly, tool dispatch, and stopping behavior, and it cannot keep orchestration runtime and internal tool handlers inside company-managed infrastructure. Which two repairs are required? Choose TWO.

  1. Implement an application-owned Messages API agent loop.
  2. Persist and resume the agent session using supported state handling.
  3. Configure the appropriate Anthropic-executed server tool.
  4. Attach a post-execution observation hook to the tool lifecycle.
  5. Deploy the agent runner in the organization's own environment.

Explanation

Correct Answers

A:

To require precise control over message assembly, tool dispatch, and stopping behavior as part of a design that must also keep orchestration runtime and internal tool handlers inside company-managed infrastructure, a custom loop explicitly owns each model call, tool result, state update, and budget decision, trading flexibility for more engineering responsibility; this is why the action is one of the two required selections.

E:

To keep orchestration runtime and internal tool handlers inside company-managed infrastructure as part of a design that must also require precise control over message assembly, tool dispatch, and stopping behavior, self-hosting puts tool execution, networking, and operational controls under the application's responsibility, subject to its own deployment constraints; this is why the action is one of the two required selections.

Incorrect Answers

B:

This alternative serves the separate goal to continue a paused multi-step task with its legitimate prior context because session continuity preserves relevant work across invocations; discarding session state can cause repeated tools or lost intermediate decisions; the required outcomes are instead to require precise control over message assembly, tool dispatch, and stopping behavior and to keep orchestration runtime and internal tool handlers inside company-managed infrastructure.

C:

This alternative serves the separate goal to use a Claude platform-provided capability without operating a local handler because server tools execute on the provider side and have distinct authorization and runtime semantics from client tools the application dispatches; the required outcomes are instead to require precise control over message assembly, tool dispatch, and stopping behavior and to keep orchestration runtime and internal tool handlers inside company-managed infrastructure.

D:

This alternative serves the separate goal to inspect the result of a completed tool call before later model reasoning consumes it because post-tool inspection can record or validate outcomes after execution, but it cannot retroactively prevent side effects from the completed call; the required outcomes are instead to require precise control over message assembly, tool dispatch, and stopping behavior and to keep orchestration runtime and internal tool handlers inside company-managed infrastructure.

Question 13

A planned upgrade to a multi-tenant support application has two requirements that must both pass: compare candidate models before switching a mission-critical endpoint; ensure a rebuilt agent uses the same tested SDK dependency set. Identify the two direct implementations. Choose TWO.

  1. Track enabled plugins and their compatible versions as release dependencies.
  2. Configure the max_tokens request parameter appropriately.
  3. Commit lockfiles and control library upgrades.
  4. Refactor in bounded steps under existing tests.
  5. Treat model migration as a tested deployment with staged traffic.

Explanation

Correct Answers

C:

To ensure a rebuilt agent uses the same tested SDK dependency set as part of a design that must also compare candidate models before switching a mission-critical endpoint, dependency pinning reduces environment drift; transitive SDK updates can change behavior even when prompt text is unchanged; this is why the action is one of the two required selections.

E:

To compare candidate models before switching a mission-critical endpoint as part of a design that must also ensure a rebuilt agent uses the same tested SDK dependency set, model upgrades may alter output distributions or supported features; staged validation reduces the chance of an unnoticed behavior shift; this is why the action is one of the two required selections.

Incorrect Answers

A:

This alternative serves the separate goal to avoid a plugin update unexpectedly changing tools available to a coding agent because plugin capability changes can affect tool names and permissions, so production configuration should be reproducible and reviewed; the required outcomes are instead to compare candidate models before switching a mission-critical endpoint and to ensure a rebuilt agent uses the same tested SDK dependency set.

B:

This alternative serves the separate goal to cap the maximum output generated by a Messages API request because a generation limit controls maximum output length, not total cost or correctness; too low a value can truncate useful answers; the required outcomes are instead to compare candidate models before switching a mission-critical endpoint and to ensure a rebuilt agent uses the same tested SDK dependency set.

D:

This alternative serves the separate goal to preserve behavior while replacing a fragile parser in an AI integration because small changes constrain regression scope; a wholesale rewrite makes it harder to isolate whether model or parsing behavior changed; the required outcomes are instead to compare candidate models before switching a mission-critical endpoint and to ensure a rebuilt agent uses the same tested SDK dependency set.

Question 14

A test for a production prompt pipeline fails because it cannot teach a classifier how to label borderline requests consistently. Which change fixes the identified failure?

  1. State explicit priority and conflict resolution for the task constraints.
  2. Minimize or redact sensitive fields before constructing context.
  3. Supply representative labeled examples including edge conditions.
  4. Mark untrusted quoted material with explicit boundaries and role context.

Explanation

Correct Answer

C:

To teach a classifier how to label borderline requests consistently in this production prompt pipeline, diverse demonstrations make the intended decision boundary clearer than an isolated easy example, provided labels are accurate; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to prioritize mandatory legal requirements over optional stylistic preferences because without a priority rule, competing directives can create ambiguous outputs; hard requirements should guide how optional preferences are applied; that mechanism does not meet the different requirement to teach a classifier how to label borderline requests consistently.

B:

The proposed alternative helps to provide a document's necessary meaning without disclosing irrelevant personal identifiers because data minimization reduces the sensitive information transmitted for inference while retaining the facts the task legitimately requires; that mechanism does not meet the different requirement to teach a classifier how to label borderline requests consistently.

D:

The proposed alternative helps to distinguish a user's instructions from a quoted document containing imperatives because delimiters clarify that imported content is data to analyze, not a new authority to change tools or objectives; that mechanism does not meet the different requirement to teach a classifier how to label borderline requests consistently.

Question 15

An architecture review of an autonomous repository maintenance job asks how to send distinct request types to specialized handlers while keeping the routing rule inspectable. Which action is the best fit?

  1. Deploy the agent runner in the organization's own environment.
  2. Give an agent a bounded objective and a tool-selection loop.
  3. Classify the request and dispatch to an appropriate specialized workflow.
  4. Define structured inputs, expected outputs, and failure states for each delegate.

Explanation

Correct Answer

C:

To send distinct request types to specialized handlers while keeping the routing rule inspectable in this autonomous repository maintenance job, routing separates distinct pathways without making the entire task autonomously planned; the classification decision must be observable and tested; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to keep orchestration runtime and internal tool handlers inside company-managed infrastructure because self-hosting puts tool execution, networking, and operational controls under the application's responsibility, subject to its own deployment constraints; that mechanism does not meet the different requirement to send distinct request types to specialized handlers while keeping the routing rule inspectable.

B:

The proposed alternative helps to pursue an open-ended investigation where the next action depends on intermediate evidence because agentic control lets the model choose among permitted steps as observations arrive; budgets and termination conditions still bound its autonomy; that mechanism does not meet the different requirement to send distinct request types to specialized handlers while keeping the routing rule inspectable.

D:

The proposed alternative helps to prevent specialists from producing incompatible artifacts for the orchestrator because explicit delegation contracts make multi-agent integration testable; free-form handoffs often obscure whether a child finished its assigned task; that mechanism does not meet the different requirement to send distinct request types to specialized handlers while keeping the routing rule inspectable.

Question 16

A release check on an enterprise MCP client found two unsatisfied conditions: the service must offer users a reusable parameterized instruction template from an MCP server, and it must help a client learn which callable and informational capabilities a server offers. Which complete engineering plan satisfies both?

  1. Perform both steps: (1) Register a prompt template with its required arguments; (2) implement the appropriate mcp capability listing and metadata endpoints.
  2. Perform both steps: (1) Configure the supported tool_choice behavior for the request; (2) implement the appropriate mcp capability listing and metadata endpoints.
  3. Perform both steps: (1) Register a prompt template with its required arguments; (2) publish a properly described mcp tool and its input contract.
  4. Perform both steps: (1) Configure the supported tool_choice behavior for the request; (2) publish a properly described mcp tool and its input contract.

Explanation

Correct Answer

A:

The first change enables the team to offer users a reusable parameterized instruction template from an MCP server because MCP prompts provide structured prompt content, but by themselves do not perform external business actions; the second addresses the separate need to help a client learn which callable and informational capabilities a server offers because discovery advertises tools, resources, or prompts so clients can use supported contracts rather than guessing names or arguments.

Incorrect Answers

B:

The second step meets the requirement to help a client learn which callable and informational capabilities a server offers because discovery advertises tools, resources, or prompts so clients can use supported contracts rather than guessing names or arguments; the first step would only help to require or restrict tool use for a specific turn when the API supports that control because tool-selection controls influence whether Claude may call tools, but cannot grant permissions to the underlying systems, leaving the separate requirement to offer users a reusable parameterized instruction template from an MCP server unmet.

C:

The first step is appropriate for the requirement to offer users a reusable parameterized instruction template from an MCP server because MCP prompts provide structured prompt content, but by themselves do not perform external business actions; the other step instead aims to let an MCP client invoke a business capability through a standard server interface because MCP tools represent callable operations with typed parameters; the server executes authorized behavior rather than only providing reference text, which does not meet the second requirement to help a client learn which callable and informational capabilities a server offers.

D:

Both steps target different results—require or restrict tool use for a specific turn when the API supports that control and let an MCP client invoke a business capability through a standard server interface—because tool-selection controls influence whether Claude may call tools, but cannot grant permissions to the underlying systems and MCP tools represent callable operations with typed parameters; the server executes authorized behavior rather than only providing reference text; the required capabilities are instead to offer users a reusable parameterized instruction template from an MCP server and to help a client learn which callable and informational capabilities a server offers.

Question 17

While planning a business workflow that calls Claude, the product owner specifies that it must customize one developer's default Claude Code behavior across local projects. Which solution fulfills the requirement?

  1. Use the user's own Claude Code settings file.
  2. Validate generated fields against domain rules after parsing.
  3. Pin a supported explicit model version where stability is required.
  4. Version tool input schemas and coordinate dependent client changes.

Explanation

Correct Answer

A:

To customize one developer's default Claude Code behavior across local projects in this business workflow that calls Claude, user settings are scoped to one person, so they should not be relied on for enforcing team-wide policy; the proposed implementation directly supplies that capability.

Incorrect Answers

B:

The proposed alternative helps to stop a well-formed JSON response from introducing an impossible customer status because a syntactically valid object may still contain invalid business values; server-side semantics determine whether it is acceptable; that mechanism does not meet the different requirement to customize one developer's default Claude Code behavior across local projects.

C:

The proposed alternative helps to reproduce production behavior across deploys instead of silently adopting a new model release because explicit version selection limits unexpected changes; a release process should evaluate upgrades and retirement timelines deliberately; that mechanism does not meet the different requirement to customize one developer's default Claude Code behavior across local projects.

D:

The proposed alternative helps to migrate tool argument fields without breaking older workers because contract versioning prevents producers and consumers from silently disagreeing about required fields or meanings; that mechanism does not meet the different requirement to customize one developer's default Claude Code behavior across local projects.

Question 18

A team maintaining a context-rich document assistant has two different engineering requirements: (1) apply the same compliance restrictions across many different end-user requests, and (2) measure whether a changed instruction actually improves extraction accuracy. Which TWO independent changes directly meet them? Choose TWO.

  1. Put stable application constraints in the system instruction field.
  2. Hold evaluation inputs constant and compare prompt versions.
  3. Supply representative labeled examples including edge conditions.
  4. Have a scoped subagent process sources and return a concise verified handoff.
  5. Revise one prompt component at a time against a regression evaluation set.

Explanation

Correct Answers

A:

To apply the same compliance restrictions across many different end-user requests as part of a design that must also measure whether a changed instruction actually improves extraction accuracy, high-priority application instructions should not be delivered as ordinary user content where they compete with user questions and document text; this is why the action is one of the two required selections.

B:

To measure whether a changed instruction actually improves extraction accuracy as part of a design that must also apply the same compliance restrictions across many different end-user requests, a reproducible prompt test isolates the change being studied; anecdotal output from unrelated cases does not show improvement; this is why the action is one of the two required selections.

Incorrect Answers

C:

This alternative serves the separate goal to teach a classifier how to label borderline requests consistently because diverse demonstrations make the intended decision boundary clearer than an isolated easy example, provided labels are accurate; the required outcomes are instead to apply the same compliance restrictions across many different end-user requests and to measure whether a changed instruction actually improves extraction accuracy.

D:

This alternative serves the separate goal to analyze a large source set without exposing every raw document to the parent agent because separate contexts let specialists work deeply while the coordinator sees only claims and references needed for the final decision; the required outcomes are instead to apply the same compliance restrictions across many different end-user requests and to measure whether a changed instruction actually improves extraction accuracy.

E:

This alternative serves the separate goal to improve a prompt while preserving performance on previously solved cases because controlled prompt iteration distinguishes genuine quality gains from regressions or overfitting to one attractive example; the required outcomes are instead to apply the same compliance restrictions across many different end-user requests and to measure whether a changed instruction actually improves extraction accuracy.

Question 19

The team responsible for a tool-using incident triage agent needs to block an unsafe shell or file operation before a tool executes. What is the most direct engineering change?

  1. Add a deterministic pre-execution hook for the sensitive operation.
  2. Attach a post-execution observation hook to the tool lifecycle.
  3. Evaluate a managed agent runtime against the deployment requirements.
  4. Encode a deterministic workflow with explicit transitions between stages.

Explanation

Correct Answer

A:

To block an unsafe shell or file operation before a tool executes in this tool-using incident triage agent, a pre-tool boundary can reject a forbidden action independently of model judgment; enforcement must occur before side effects happen; the proposed implementation directly supplies that capability.

Incorrect Answers

B:

The proposed alternative helps to inspect the result of a completed tool call before later model reasoning consumes it because post-tool inspection can record or validate outcomes after execution, but it cannot retroactively prevent side effects from the completed call; that mechanism does not meet the different requirement to block an unsafe shell or file operation before a tool executes.

C:

The proposed alternative helps to minimize infrastructure ownership for a supported hosted agent execution surface because a managed runtime can take on execution infrastructure, but access controls, product availability, and data-handling needs still require evaluation; that mechanism does not meet the different requirement to block an unsafe shell or file operation before a tool executes.

D:

The proposed alternative helps to run the same retrieval, validation, and publishing stages in an approved order for every request because known control flow belongs in application code, allowing each stage to be tested and audited without asking a model to improvise the sequence; that mechanism does not meet the different requirement to block an unsafe shell or file operation before a tool executes.

Question 20

To ship a TypeScript Claude integration, the application must recognize that the model is asking the application to execute a client tool and handle a response containing reasoning-related blocks without confusing them with ordinary final text. Which pair of listed actions is necessary for those stated capabilities? Choose TWO.

  1. Parse response content by block type and follow current thinking-field rules.
  2. Treat stop_reason end_turn as a completed assistant turn.
  3. Branch on stop_reason tool_use and dispatch the declared calls.
  4. Submit independent requests through the Message Batches API.
  5. Send instructions using the request's top-level system field.

Explanation

Correct Answers

A:

To handle a response containing reasoning-related blocks without confusing them with ordinary final text as part of a design that must also recognize that the model is asking the application to execute a client tool, structured content may contain distinct block types and signatures; a parser that assumes only plain text can discard important protocol data; this is why the action is one of the two required selections.

C:

To recognize that the model is asking the application to execute a client tool as part of a design that must also handle a response containing reasoning-related blocks without confusing them with ordinary final text, a tool-use stop requires host-side handling and a follow-up message containing results, not presenting the call as final prose; this is why the action is one of the two required selections.

Incorrect Answers

B:

This alternative serves the separate goal to detect that the assistant has naturally finished a response because the completion signal is explicit in the response metadata; it should not be inferred solely from a sentence ending in punctuation; the required outcomes are instead to recognize that the model is asking the application to execute a client tool and to handle a response containing reasoning-related blocks without confusing them with ordinary final text.

D:

This alternative serves the separate goal to process a large queue of independent, noninteractive requests at a lower-cost asynchronous pace because batch processing is suited to deferred work with eventual result collection and is not a substitute for an interactive low-latency chat endpoint; the required outcomes are instead to recognize that the model is asking the application to execute a client tool and to handle a response containing reasoning-related blocks without confusing them with ordinary final text.

E:

This alternative serves the separate goal to set consistent developer-controlled behavior separately from untrusted user text because the system field separates higher-priority application guidance from user-message content and should not be simulated by ordinary quoted text; the required outcomes are instead to recognize that the model is asking the application to execute a client tool and to handle a response containing reasoning-related blocks without confusing them with ordinary final text.

Claude Certified Developer - Foundations (CCDV-F) Practice Tests