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

Question 590

An end-to-end test for an operations research assistant checks whether it can restrict a development agent to a defined set of file and command capabilities and require precise control over message assembly, tool dispatch, and stopping behavior. Which plan should be approved to satisfy both checks?

  1. Perform both steps: (1) Configure the appropriate Anthropic-executed server tool; (2) implement an application-owned messages api agent loop.
  2. Perform both steps: (1) Configure the appropriate Anthropic-executed server tool; (2) run independent branches concurrently and merge their outputs afterward.
  3. Perform both steps: (1) Configure tool permissions rather than depending only on a prompt; (2) run independent branches concurrently and merge their outputs afterward.
  4. Perform both steps: (1) Configure tool permissions rather than depending only on a prompt; (2) implement an application-owned messages api agent loop.

Explanation

Correct Answer

D:

The first change enables the team to restrict a development agent to a defined set of file and command capabilities because runtime permissions constrain what actions can run even if the model requests more access; prompt instructions alone are not a security boundary; the second addresses the separate need to require precise control over message assembly, tool dispatch, and stopping behavior because a custom loop explicitly owns each model call, tool result, state update, and budget decision, trading flexibility for more engineering responsibility.

Incorrect Answers

A:

The second step meets the requirement to require precise control over message assembly, tool dispatch, and stopping behavior because a custom loop explicitly owns each model call, tool result, state update, and budget decision, trading flexibility for more engineering responsibility; the first step would only help 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, leaving the separate requirement to restrict a development agent to a defined set of file and command capabilities unmet.

B:

Both steps target different results—use a Claude platform-provided capability without operating a local handler and reduce elapsed time for independent extraction tasks that do not share mutable state—because server tools execute on the provider side and have distinct authorization and runtime semantics from client tools the application dispatches and parallel orchestration shortens the critical path when calls have no dependencies, while the merger checks completeness before proceeding; the required capabilities are instead to restrict a development agent to a defined set of file and command capabilities and to require precise control over message assembly, tool dispatch, and stopping behavior.

C:

The first step is appropriate for the requirement to restrict a development agent to a defined set of file and command capabilities because runtime permissions constrain what actions can run even if the model requests more access; prompt instructions alone are not a security boundary; the other step instead aims to reduce elapsed time for independent extraction tasks that do not share mutable state because parallel orchestration shortens the critical path when calls have no dependencies, while the merger checks completeness before proceeding, which does not meet the second requirement to require precise control over message assembly, tool dispatch, and stopping behavior.

Question 591

For a customer-facing AI feature, a design is acceptable only if it can account accurately for token consumption when a response is streamed while also being able to recognize that the model is asking the application to execute a client tool. Which paired implementation is sufficient?

  1. Perform both steps: (1) Configure an available server-side tool with the required API definition; (2) treat stop_reason end_turn as a completed assistant turn.
  2. Perform both steps: (1) Configure an available server-side tool with the required API definition; (2) branch on stop_reason tool_use and dispatch the declared calls.
  3. Perform both steps: (1) Read the completed stream's usage and final message metadata; (2) treat stop_reason end_turn as a completed assistant turn.
  4. Perform both steps: (1) Read the completed stream's usage and final message metadata; (2) branch on stop_reason tool_use and dispatch the declared calls.

Explanation

Correct Answer

D:

The first change enables the team to account accurately for token consumption when a response is streamed because early text deltas do not necessarily carry authoritative final usage or stop information; accounting must wait for the appropriate terminal event; the second addresses the separate need to recognize that the model is asking the application to execute a client tool because a tool-use stop requires host-side handling and a follow-up message containing results, not presenting the call as final prose.

Incorrect Answers

A:

Both steps target different results—use provider-hosted search or execution without implementing the tool body locally and detect that the assistant has naturally finished a response—because provider-executed tools are handled in Anthropic's environment and differ from client functions that the caller must run and the completion signal is explicit in the response metadata; it should not be inferred solely from a sentence ending in punctuation; the required capabilities are instead to account accurately for token consumption when a response is streamed and to recognize that the model is asking the application to execute a client tool.

B:

The second step meets the requirement to recognize that the model is asking the application to execute a client tool because a tool-use stop requires host-side handling and a follow-up message containing results, not presenting the call as final prose; the first step would only help to use provider-hosted search or execution without implementing the tool body locally because provider-executed tools are handled in Anthropic's environment and differ from client functions that the caller must run, leaving the separate requirement to account accurately for token consumption when a response is streamed unmet.

C:

The first step is appropriate for the requirement to account accurately for token consumption when a response is streamed because early text deltas do not necessarily carry authoritative final usage or stop information; accounting must wait for the appropriate terminal event; the other step instead aims 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, which does not meet the second requirement to recognize that the model is asking the application to execute a client tool.

Question 592

A production readiness review of a model-family migration plan finds that the team cannot yet deliver moderately complex development assistance with balanced quality, cost, and latency or solve demanding multistep reasoning tasks where quality matters more than lowest unit price. Which paired changes directly remedy the two gaps?

  1. Perform both steps: (1) Evaluate a Sonnet-family model against a realistic task set; (2) benchmark an opus-family model on the hardest cases.
  2. Perform both steps: (1) Run contract and integration tests against the upgraded SDK in staging; (2) benchmark an opus-family model on the hardest cases.
  3. Perform both steps: (1) Run contract and integration tests against the upgraded SDK in staging; (2) configure supported adaptive thinking behavior rather than forcing a fixed pattern.
  4. Perform both steps: (1) Evaluate a Sonnet-family model against a realistic task set; (2) configure supported adaptive thinking behavior rather than forcing a fixed pattern.

Explanation

Correct Answer

A:

The first change enables the team 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 second addresses the separate need to solve demanding multistep reasoning tasks where quality matters more than lowest unit price because higher-capability tiers may improve difficult-task performance, but their cost and latency still need objective justification.

Incorrect Answers

B:

The second step meets the requirement to solve demanding multistep reasoning tasks where quality matters more than lowest unit price because higher-capability tiers may improve difficult-task performance, but their cost and latency still need objective justification; the first step would only help to detect changed library behavior before rolling a new version into production because client-library version shifts can affect serialization or errors even without changes to business prompts, so they deserve release validation, leaving the separate requirement to deliver moderately complex development assistance with balanced quality, cost, and latency unmet.

C:

Both steps target different results—detect changed library behavior before rolling a new version into production and allow supported models to vary internal reasoning effort according to task difficulty—because client-library version shifts can affect serialization or errors even without changes to business prompts, so they deserve release validation and adaptive reasoning responds to problem complexity, but supported modes differ by model and release and should not be assumed universal; the required capabilities are instead to deliver moderately complex development assistance with balanced quality, cost, and latency and to solve demanding multistep reasoning tasks where quality matters more than lowest unit price.

D:

The first step is appropriate for the requirement 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 other step instead aims to allow supported models to vary internal reasoning effort according to task difficulty because adaptive reasoning responds to problem complexity, but supported modes differ by model and release and should not be assumed universal, which does not meet the second requirement to solve demanding multistep reasoning tasks where quality matters more than lowest unit price.

Question 593

While planning a document investigation agent, the product owner specifies that it must deliver intermediate agent events to the client as they occur. Which solution fulfills the requirement?

  1. Inspect the tool_use block, invoke the authorized handler, and return tool_result.
  2. Consume the agent runtime's streamed event sequence.
  3. Prefer a simple API call over a general-purpose multi-agent framework.
  4. Record stage-level traces and intermediate validation outcomes.

Explanation

Correct Answer

B:

To deliver intermediate agent events to the client as they occur in this document investigation agent, event-driven consumption lets the application display progress and inspect tool actions without waiting for the entire multi-step run to finish; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to execute a requested internal business function inside the application's trusted process because client tools are executed by the application, not by merely declaring a schema; every returned result must be matched to its tool-use identifier; that mechanism does not meet the different requirement to deliver intermediate agent events to the client as they occur.

C:

The proposed alternative helps to avoid adding orchestration infrastructure to a single request-and-response feature because frameworks are useful for genuinely branching, long-lived execution, but increase complexity when no orchestration problem exists; that mechanism does not meet the different requirement to deliver intermediate agent events to the client as they occur.

D:

The proposed alternative helps to pinpoint which known workflow stage failed when the final artifact is incomplete because deterministic stages are operationally useful when their boundaries are observable; a final answer alone cannot reveal which step produced the fault; that mechanism does not meet the different requirement to deliver intermediate agent events to the client as they occur.

Question 594

In a high-volume Messages API gateway, a release requirement is to support Claude models accessed through different supported cloud offerings. Which implementation addresses that specific requirement?

  1. Submit independent requests through the Message Batches API.
  2. Use the provider-specific endpoint, authentication, and request conventions.
  3. Detect transport interruption and mark incomplete generated content.
  4. Parse response content by block type and follow current thinking-field rules.

Explanation

Correct Answer

B:

To support Claude models accessed through different supported cloud offerings in this high-volume Messages API gateway, Claude API, Bedrock, and Vertex-style integrations are not interchangeable URLs; host authentication and service wrappers differ; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps 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; that mechanism does not meet the different requirement to support Claude models accessed through different supported cloud offerings.

C:

The proposed alternative helps to avoid silently treating a broken streaming connection as a complete answer because network termination before a final message event can leave a partial response, which needs explicit recovery rather than success handling; that mechanism does not meet the different requirement to support Claude models accessed through different supported cloud offerings.

D:

The proposed alternative helps to handle a response containing reasoning-related blocks without confusing them with ordinary final text because structured content may contain distinct block types and signatures; a parser that assumes only plain text can discard important protocol data; that mechanism does not meet the different requirement to support Claude models accessed through different supported cloud offerings.

Question 595

The team responsible for a latency-sensitive model gateway needs to deliver moderately complex development assistance with balanced quality, cost, and latency. What is the most direct engineering change?

  1. Evaluate Message Batches instead of synchronous requests.
  2. Evaluate a Sonnet-family model against a realistic task set.
  3. Revalidate prompts, schemas, safety constraints, and tools after model migration.
  4. Benchmark an Opus-family model on the hardest cases.

Explanation

Correct Answer

B:

To deliver moderately complex development assistance with balanced quality, cost, and latency in this latency-sensitive model gateway, a balanced model tier often offers useful capability without the latency or cost of the most expensive tier; evaluation should drive final selection; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to cut cost for a nightly noninteractive summarization workload because asynchronous batches can offer discounted processing when the application can tolerate deferred completion and result collection; that mechanism does not meet the different requirement to deliver moderately complex development assistance with balanced quality, cost, and latency.

C:

The proposed alternative helps to avoid assuming a model-version change preserves tool output and writing behavior because new releases can change response distributions or supported behaviors, making a model upgrade a real software change; that mechanism does not meet the different requirement to deliver moderately complex development assistance with balanced quality, cost, and latency.

D:

The proposed alternative helps to solve demanding multistep reasoning tasks where quality matters more than lowest unit price because higher-capability tiers may improve difficult-task performance, but their cost and latency still need objective justification; that mechanism does not meet the different requirement to deliver moderately complex development assistance with balanced quality, cost, and latency.

Question 596

A production readiness review of a specialist-agent orchestration service finds that the team cannot yet inspect the result of a completed tool call before later model reasoning consumes it or keep a failed tool from being mistaken for successful completion of an objective. Which paired changes directly remedy the two gaps?

  1. Perform both steps: (1) Attach a post-execution observation hook to the tool lifecycle; (2) inspect the tool_use block, invoke the authorized handler, and return tool_result.
  2. Perform both steps: (1) Use the Claude Agent SDK for the agent's execution harness; (2) inspect the tool_use block, invoke the authorized handler, and return tool_result.
  3. Perform both steps: (1) Use the Claude Agent SDK for the agent's execution harness; (2) catch tool failures and report typed errors into the agent loop.
  4. Perform both steps: (1) Attach a post-execution observation hook to the tool lifecycle; (2) catch tool failures and report typed errors into the agent loop.

Explanation

Correct Answer

D:

The first change enables the team 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 second addresses the separate need to keep a failed tool from being mistaken for successful completion of an objective because explicit failure messages let the model or controller choose recovery; swallowing exceptions makes later actions rely on results that never existed.

Incorrect Answers

A:

The first step is appropriate for the requirement 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 other step instead aims to execute a requested internal business function inside the application's trusted process because client tools are executed by the application, not by merely declaring a schema; every returned result must be matched to its tool-use identifier, which does not meet the second requirement to keep a failed tool from being mistaken for successful completion of an objective.

B:

Both steps target different results—build a Claude-powered coding agent with an established runtime for tool orchestration and execute a requested internal business function inside the application's trusted process—because the SDK provides structured primitives for agent sessions and tool execution, reducing the custom loop infrastructure the application must maintain and client tools are executed by the application, not by merely declaring a schema; every returned result must be matched to its tool-use identifier; the required capabilities are instead to inspect the result of a completed tool call before later model reasoning consumes it and to keep a failed tool from being mistaken for successful completion of an objective.

C:

The second step meets the requirement to keep a failed tool from being mistaken for successful completion of an objective because explicit failure messages let the model or controller choose recovery; swallowing exceptions makes later actions rely on results that never existed; the first step would only help to build a Claude-powered coding agent with an established runtime for tool orchestration because the SDK provides structured primitives for agent sessions and tool execution, reducing the custom loop infrastructure the application must maintain, leaving the separate requirement to inspect the result of a completed tool call before later model reasoning consumes it unmet.

Question 597

An end-to-end test for a multi-tenant support application checks whether it can keep a stalled upstream model call from occupying application resources indefinitely and reduce repeated TLS setup overhead for high-volume application traffic. Which plan should be approved to satisfy both checks?

  1. Perform both steps: (1) Retry eligible failures with capped exponential backoff and jitter; (2) reuse an appropriately configured http client or sdk connection pool.
  2. Perform both steps: (1) Set realistic connection and response timeouts with an explicit failure path; (2) reuse an appropriately configured http client or sdk connection pool.
  3. Perform both steps: (1) Retry eligible failures with capped exponential backoff and jitter; (2) set the appropriate application/json content type and serialize a valid payload.
  4. Perform both steps: (1) Set realistic connection and response timeouts with an explicit failure path; (2) set the appropriate application/json content type and serialize a valid payload.

Explanation

Correct Answer

B:

The first change enables the team to keep a stalled upstream model call from occupying application resources indefinitely because timeout handling caps resource exposure, while logging distinguishes slow provider response from a model-level refusal; the second addresses the separate need to reduce repeated TLS setup overhead for high-volume application traffic because connection reuse lowers transport overhead but still requires limits and health handling for long-lived clients.

Incorrect Answers

A:

The second step meets the requirement to reduce repeated TLS setup overhead for high-volume application traffic because connection reuse lowers transport overhead but still requires limits and health handling for long-lived clients; the first step would only help to recover transient 429 or 5xx responses without creating a retry storm because backoff spreads retry traffic and respects transient capacity limits; blind immediate repetition worsens overload, leaving the separate requirement to keep a stalled upstream model call from occupying application resources indefinitely unmet.

C:

Both steps target different results—recover transient 429 or 5xx responses without creating a retry storm and have the server parse a JSON request body predictably—because backoff spreads retry traffic and respects transient capacity limits; blind immediate repetition worsens overload and a JSON body requires both correct serialization and matching HTTP metadata; raw language-model text cannot replace a valid request object; the required capabilities are instead to keep a stalled upstream model call from occupying application resources indefinitely and to reduce repeated TLS setup overhead for high-volume application traffic.

D:

The first step is appropriate for the requirement to keep a stalled upstream model call from occupying application resources indefinitely because timeout handling caps resource exposure, while logging distinguishes slow provider response from a model-level refusal; the other step instead aims to have the server parse a JSON request body predictably because a JSON body requires both correct serialization and matching HTTP metadata; raw language-model text cannot replace a valid request object, which does not meet the second requirement to reduce repeated TLS setup overhead for high-volume application traffic.

Question 598

For an enterprise MCP client, the missing capability is to help a client learn which callable and informational capabilities a server offers. What should the developers implement?

  1. Return an explicit tool error indication and an informative safe message.
  2. Package the compatible components as an installable plugin when supported.
  3. Expose the material as an MCP resource with a stable identifier.
  4. Implement the appropriate MCP capability listing and metadata endpoints.

Explanation

Correct Answer

D:

To help a client learn which callable and informational capabilities a server offers in this enterprise MCP client, discovery advertises tools, resources, or prompts so clients can use supported contracts rather than guessing names or arguments; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to let Claude distinguish a failed database lookup from an empty successful result because an error result preserves failure semantics, preventing the model from inventing a no-record finding for a call that never succeeded; that mechanism does not meet the different requirement to help a client learn which callable and informational capabilities a server offers.

B:

The proposed alternative helps to maintain a reusable collection of related integrations and agent instructions across projects because a plugin groups capabilities for distribution and configuration; a single direct tool is simpler when packaging and reuse are unnecessary; that mechanism does not meet the different requirement to help a client learn which callable and informational capabilities a server offers.

C:

The proposed alternative helps to make reference material available for clients to read as context because resources represent consumable data, contrasting with tools that invoke an operation or prompts that package reusable instructions; that mechanism does not meet the different requirement to help a client learn which callable and informational capabilities a server offers.

Question 599

While planning an autonomous repository maintenance job, the product owner specifies that it must coordinate explicit graph transitions among multiple model and tool nodes. Which solution fulfills the requirement?

  1. Alternate model tool-use requests with tool results until completion.
  2. Persist checkpoints for tool outputs and accepted decisions.
  3. Choose a graph-based orchestration framework when state transitions justify it.
  4. Return a separate tool_result for every corresponding tool_use identifier.

Explanation

Correct Answer

C:

To coordinate explicit graph transitions among multiple model and tool nodes in this autonomous repository maintenance job, graph orchestration clarifies conditional edges and resumability; it adds complexity when a short linear function would suffice; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to plan another step only after inspecting the result of a requested external operation because the loop returns observations to the model so subsequent decisions are informed by actual tool output rather than imagined execution; that mechanism does not meet the different requirement to coordinate explicit graph transitions among multiple model and tool nodes.

B:

The proposed alternative helps to recover a multi-hour agent workflow after an infrastructure interruption because durable checkpoints let the orchestrator resume from a known stage rather than rerunning costly or side-effecting actions; that mechanism does not meet the different requirement to coordinate explicit graph transitions among multiple model and tool nodes.

D:

The proposed alternative helps to handle several independent tool_use blocks in one assistant message because parallel tool execution requires complete, correctly linked results; dropping one identifier leaves the model's outstanding request unresolved; that mechanism does not meet the different requirement to coordinate explicit graph transitions among multiple model and tool nodes.

Question 600

The owner of a production inference application needs to translate a request for citation-backed answers into observable application behavior as well as enable an administrator to determine how a particular AI decision was produced. Which two changes belong in the minimum remediation plan? Choose TWO.

  1. Require structured request IDs, tool traces, and version metadata with privacy controls.
  2. Define measurable answer-format and citation acceptance criteria.
  3. Create a threat model covering trust boundaries, permissions, and misuse paths.
  4. Specify user-visible degraded responses and recovery paths.
  5. Set an end-to-end latency target and a measurement method.

Explanation

Correct Answers

A:

To enable an administrator to determine how a particular AI decision was produced as part of a design that must also translate a request for citation-backed answers into observable application behavior, traceability depends on consistent operational evidence, not just retaining the final generated answer or a screenshot; this is why the action is one of the two required selections.

B:

To translate a request for citation-backed answers into observable application behavior as part of a design that must also enable an administrator to determine how a particular AI decision was produced, a functional requirement specifies what the user must receive and how success is evaluated, not merely that the team will use a language model; this is why the action is one of the two required selections.

Incorrect Answers

C:

This alternative serves the separate goal to identify damage that could result from adversarial documents or tool access because aI application risk includes injected content and powerful downstream functions; those flows need explicit mitigations before implementation; the required outcomes are instead to translate a request for citation-backed answers into observable application behavior and to enable an administrator to determine how a particular AI decision was produced.

D:

This alternative serves the separate goal to preserve an understandable outcome when model generation cannot complete because a fallback requirement defines what customers see when an API call times out or is refused rather than assuming every inference will succeed; the required outcomes are instead to translate a request for citation-backed answers into observable application behavior and to enable an administrator to determine how a particular AI decision was produced.

E:

This alternative serves the separate goal to turn a support desk's responsiveness expectation into an engineering objective because a latency target is a nonfunctional requirement; model choice, network overhead, tool calls, and rendering all affect whether the service meets it; the required outcomes are instead to translate a request for citation-backed answers into observable application behavior and to enable an administrator to determine how a particular AI decision was produced.

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