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

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.

Question 601

A team maintaining a long-running retrieval assistant must meet 2 separate acceptance criteria: (1) answer a company-policy question from current approved records instead of relying on general knowledge; (2) avoid a prohibited output element such as confidential identifiers. Which two implementation actions directly satisfy the stated requirements? Choose TWO.

  1. Minimize or redact sensitive fields before constructing context.
  2. Retrieve authoritative policy passages and cite those used.
  3. Rank and select relevant passages before building the model context.
  4. Specify the forbidden content alongside an enforceable validation check.
  5. Apply domain-specific authorization and business rules after schema validation.

Explanation

Correct Answers

B:

The test to answer a company-policy question from current approved records instead of relying on general knowledge is met because retrieval supplies task-specific facts that pretraining may not include, while source attribution lets the application verify the response; the remaining selection covers the separate need to avoid a prohibited output element such as confidential identifiers.

D:

The test to avoid a prohibited output element such as confidential identifiers is met because negative prompt guidance signals the intended boundary, but a deterministic validator is needed where violating it has consequences; the remaining selection covers the separate need to answer a company-policy question from current approved records instead of relying on general knowledge.

Incorrect Answers

A:

The action is useful for the separate capability 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; however, the required test outcomes are to answer a company-policy question from current approved records instead of relying on general knowledge and to avoid a prohibited output element such as confidential identifiers.

C:

The action is useful for the separate capability to keep only evidence that matters to the question when retrieval returns hundreds of documents because relevance filtering reduces distracting information and token usage; dumping every retrieved page can degrade grounding and exceed limits; however, the required test outcomes are to answer a company-policy question from current approved records instead of relying on general knowledge and to avoid a prohibited output element such as confidential identifiers.

E:

The action is useful for the separate capability to block a technically well-formed refund record with an unauthorized amount because type correctness is not permission to act; amounts, account ownership, and policy limits need independent checks; however, the required test outcomes are to answer a company-policy question from current approved records instead of relying on general knowledge and to avoid a prohibited output element such as confidential identifiers.

Question 602

An end-to-end test for a token-consumption optimization sprint checks whether it can reduce inconsistent labeling across nuanced examples and estimate model usage from encoded text rather than counting words. Which plan should be approved to satisfy both checks?

  1. Perform both steps: (1) Include several carefully selected and diverse demonstrations; (2) record rate-limit status and relevant response headers alongside request metrics.
  2. Perform both steps: (1) Tune sampling for lower variance while retaining output validation; (2) record rate-limit status and relevant response headers alongside request metrics.
  3. Perform both steps: (1) Tune sampling for lower variance while retaining output validation; (2) measure or count input and output tokens with the supported tokenizer or api.
  4. Perform both steps: (1) Include several carefully selected and diverse demonstrations; (2) measure or count input and output tokens with the supported tokenizer or api.

Explanation

Correct Answer

D:

The first change enables the team to reduce inconsistent labeling across nuanced examples because multiple examples communicate decision boundaries and desired formatting, although irrelevant or misleading demonstrations can bias the model; the second addresses the separate need to estimate model usage from encoded text rather than counting words because billing and context consumption track tokens, which do not map one-to-one to English words or characters.

Incorrect Answers

A:

The first step is appropriate for the requirement to reduce inconsistent labeling across nuanced examples because multiple examples communicate decision boundaries and desired formatting, although irrelevant or misleading demonstrations can bias the model; the other step instead aims to investigate inconsistent throughput during a traffic spike because quota-related measurements explain capacity failures that may otherwise look like randomly slow model inference, which does not meet the second requirement to estimate model usage from encoded text rather than counting words.

B:

Both steps target different results—favor more consistent word choices in a constrained transformation task when supported and investigate inconsistent throughput during a traffic spike—because temperature influences token sampling; it cannot by itself guarantee truth, policy compliance, or reproducible structured output and quota-related measurements explain capacity failures that may otherwise look like randomly slow model inference; the required capabilities are instead to reduce inconsistent labeling across nuanced examples and to estimate model usage from encoded text rather than counting words.

C:

The second step meets the requirement to estimate model usage from encoded text rather than counting words because billing and context consumption track tokens, which do not map one-to-one to English words or characters; the first step would only help to favor more consistent word choices in a constrained transformation task when supported because temperature influences token sampling; it cannot by itself guarantee truth, policy compliance, or reproducible structured output, leaving the separate requirement to reduce inconsistent labeling across nuanced examples unmet.

Question 603

An operational review of a hosted document-processing service reports distinct failures: it cannot keep application policy separate from a user's question, and it cannot reject tool arguments that fail a declared shape before tool execution. Which two repairs are required? Choose TWO.

  1. Send instructions using the request's top-level system field.
  2. Place stable application rules in system instructions and untrusted requests in user content.
  3. Buffer structured data until it can be parsed and validated before UI commit.
  4. Use strict tool input validation for the exposed tool interface.
  5. Queue or reject excess requests using bounded admission control.

Explanation

Correct Answers

B:

To keep application policy separate from a user's question as part of a design that must also reject tool arguments that fail a declared shape before tool execution, instruction placement preserves the distinction between developer intent and user-supplied data; concatenating everything blurs that boundary; this is why the action is one of the two required selections.

D:

To reject tool arguments that fail a declared shape before tool execution as part of a design that must also keep application policy separate from a user's question, a strict schema constrains the arguments a model may emit, but application authorization and business-rule checks remain necessary; this is why the action is one of the two required selections.

Incorrect Answers

A:

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 keep application policy separate from a user's question and to reject tool arguments that fail a declared shape before tool execution.

C:

This alternative serves the separate goal to display partial sentences without publishing malformed structured records because a text stream can arrive in fragments; consumers must distinguish presentation updates from complete machine-readable objects; the required outcomes are instead to keep application policy separate from a user's question and to reject tool arguments that fail a declared shape before tool execution.

E:

This alternative serves the separate goal to shield customer traffic when inference capacity is exhausted because controlled queuing protects system latency and prevents unbounded retries from overwhelming downstream provider quotas; the required outcomes are instead to keep application policy separate from a user's question and to reject tool arguments that fail a declared shape before tool execution.

Question 604

For a specialist-agent orchestration service, the missing capability is to inspect the result of a completed tool call before later model reasoning consumes it. What should the developers implement?

  1. Chain dependent operations serially with explicit input and output contracts.
  2. Attach a post-execution observation hook to the tool lifecycle.
  3. Configure the appropriate Anthropic-executed server tool.
  4. Add a deterministic pre-execution hook for the sensitive operation.

Explanation

Correct Answer

B:

To inspect the result of a completed tool call before later model reasoning consumes it in this specialist-agent orchestration service, post-tool inspection can record or validate outcomes after execution, but it cannot retroactively prevent side effects from the completed call; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to ensure each later tool receives a validated artifact from its preceding stage because later steps cannot safely start until upstream data exists; passing validated outputs prevents races and malformed downstream input; that mechanism does not meet the different requirement to inspect the result of a completed tool call before later model reasoning consumes it.

C:

The proposed alternative helps 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; that mechanism does not meet the different requirement to inspect the result of a completed tool call before later model reasoning consumes it.

D:

The proposed alternative helps to block an unsafe shell or file operation before a tool executes because a pre-tool boundary can reject a forbidden action independently of model judgment; enforcement must occur before side effects happen; that mechanism does not meet the different requirement to inspect the result of a completed tool call before later model reasoning consumes it.

Question 605

While planning a model selection trial, the product owner specifies that it must stop interpreting non-2xx API responses as normal assistant messages. Which solution fulfills the requirement?

  1. Measure input-token usage per request and track the prompt components.
  2. Branch on HTTP status and decode the provider's error structure.
  3. Use a WebSocket protocol only when the target endpoint actually offers one.
  4. Call the documented HTTPS endpoint with explicit headers and JSON serialization.

Explanation

Correct Answer

B:

To stop interpreting non-2xx API responses as normal assistant messages in this model selection trial, transport errors are not regular model completions, so application control flow must treat them separately; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps 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; that mechanism does not meet the different requirement to stop interpreting non-2xx API responses as normal assistant messages.

C:

The proposed alternative helps to build bidirectional persistent event communication where the chosen platform supports it because webSockets can carry two-way events over a long-lived connection; they are not a drop-in replacement for every HTTP or SSE endpoint; that mechanism does not meet the different requirement to stop interpreting non-2xx API responses as normal assistant messages.

D:

The proposed alternative helps to work in an environment that lacks a compatible Claude SDK because direct REST access remains possible when an SDK is unavailable, but the caller owns wire-format correctness and response parsing; that mechanism does not meet the different requirement to stop interpreting non-2xx API responses as normal assistant messages.

Question 606

A team maintaining a Python Claude API backend has two different engineering requirements: (1) detect that the assistant has naturally finished a response, and (2) show generated text progressively instead of waiting for the full response. Which TWO independent changes directly meet them? Choose TWO.

  1. Treat stop_reason end_turn as a completed assistant turn.
  2. Send instructions using the request's top-level system field.
  3. Enable streaming and consume server-sent events in order.
  4. Use stop_sequences and inspect the returned stop_sequence field.
  5. Include the necessary conversation history in each Messages API call.

Explanation

Correct Answers

A:

To detect that the assistant has naturally finished a response as part of a design that must also show generated text progressively instead of waiting for the full response, the completion signal is explicit in the response metadata; it should not be inferred solely from a sentence ending in punctuation; this is why the action is one of the two required selections.

C:

To show generated text progressively instead of waiting for the full response as part of a design that must also detect that the assistant has naturally finished a response, streaming transmits partial deltas and completion events, allowing earlier display while requiring the client to assemble content safely; this is why the action is one of the two required selections.

Incorrect Answers

B:

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 detect that the assistant has naturally finished a response and to show generated text progressively instead of waiting for the full response.

D:

This alternative serves the separate goal to enforce a caller-defined textual boundary on generation because a stop sequence halts generation at a specified marker, distinct from natural completion and separate from a JSON schema validator; the required outcomes are instead to detect that the assistant has naturally finished a response and to show generated text progressively instead of waiting for the full response.

E:

This alternative serves the separate goal to continue a chat with relevant prior turns despite the API being stateless because a response does not create server-side conversational memory by default; the client supplies retained turns and controls truncation; the required outcomes are instead to detect that the assistant has naturally finished a response and to show generated text progressively instead of waiting for the full response.

Question 607

A release check on an autonomous repository maintenance job found two unsatisfied conditions: the service must pass reliable machine-readable outputs between independently developed agent stages, and it must continue a long agent run after intermediate observations dominate the context. Which complete engineering plan satisfies both?

  1. Perform both steps: (1) Consume the agent runtime's streamed event sequence; (2) give an agent a bounded objective and a tool-selection loop.
  2. Perform both steps: (1) Consume the agent runtime's streamed event sequence; (2) compact prior progress into an accurate working summary.
  3. Perform both steps: (1) Define and validate a typed schema at the handoff; (2) give an agent a bounded objective and a tool-selection loop.
  4. Perform both steps: (1) Define and validate a typed schema at the handoff; (2) compact prior progress into an accurate working summary.

Explanation

Correct Answer

D:

The first change enables the team to pass reliable machine-readable outputs between independently developed agent stages because typed outputs make downstream contracts inspectable and reduce ambiguity caused by free-form prose passed as control data; the second addresses the separate need to continue a long agent run after intermediate observations dominate the context because compaction preserves decisions and unresolved work while reducing token pressure; losing constraints in the summary can still cause errors.

Incorrect Answers

A:

Both steps target different results—deliver intermediate agent events to the client as they occur and pursue an open-ended investigation where the next action depends on intermediate evidence—because event-driven consumption lets the application display progress and inspect tool actions without waiting for the entire multi-step run to finish and agentic control lets the model choose among permitted steps as observations arrive; budgets and termination conditions still bound its autonomy; the required capabilities are instead to pass reliable machine-readable outputs between independently developed agent stages and to continue a long agent run after intermediate observations dominate the context.

B:

The second step meets the requirement to continue a long agent run after intermediate observations dominate the context because compaction preserves decisions and unresolved work while reducing token pressure; losing constraints in the summary can still cause errors; the first step would only help to deliver intermediate agent events to the client as they occur because event-driven consumption lets the application display progress and inspect tool actions without waiting for the entire multi-step run to finish, leaving the separate requirement to pass reliable machine-readable outputs between independently developed agent stages unmet.

C:

The first step is appropriate for the requirement to pass reliable machine-readable outputs between independently developed agent stages because typed outputs make downstream contracts inspectable and reduce ambiguity caused by free-form prose passed as control data; the other step instead aims 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, which does not meet the second requirement to continue a long agent run after intermediate observations dominate the context.

Question 608

A test for a token-consumption optimization sprint fails because it cannot identify why verbose generated reports cost more despite unchanged inputs. Which change fixes the identified failure?

  1. Model the response as conditioned token generation.
  2. Alert on unusual per-job token and tool-call growth.
  3. Budget total context for instructions, history, tools, and output.
  4. Track output tokens separately from input tokens.

Explanation

Correct Answer

D:

To identify why verbose generated reports cost more despite unchanged inputs in this token-consumption optimization sprint, generation tokens are metered independently and can have different pricing, so response verbosity affects unit economics; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps 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; that mechanism does not meet the different requirement to identify why verbose generated reports cost more despite unchanged inputs.

B:

The proposed alternative helps to detect a looping agent that suddenly multiplies token consumption because monitoring consumption across an entire agent run catches runaway workflows that per-request logs may not reveal; that mechanism does not meet the different requirement to identify why verbose generated reports cost more despite unchanged inputs.

C:

The proposed alternative helps to know why a long prompt plus a proposed response may exceed the model's accepted context because a context window bounds what can be processed in one request; large tool results consume it along with user messages; that mechanism does not meet the different requirement to identify why verbose generated reports cost more despite unchanged inputs.

Question 609

Two approval criteria are still open for a business workflow that calls Claude: the team must keep a stalled upstream model call from occupying application resources indefinitely and display partial sentences without publishing malformed structured records. Which two implementation actions satisfy them? Choose TWO.

  1. Classify permanent client errors separately from transient failures.
  2. Buffer structured data until it can be parsed and validated before UI commit.
  3. Retain source identifiers with retrieved evidence and render supported citations.
  4. Set realistic connection and response timeouts with an explicit failure path.
  5. Reuse an appropriately configured HTTP client or SDK connection pool.

Explanation

Correct Answers

B:

To display partial sentences without publishing malformed structured records as part of a design that must also keep a stalled upstream model call from occupying application resources indefinitely, a text stream can arrive in fragments; consumers must distinguish presentation updates from complete machine-readable objects; this is why the action is one of the two required selections.

D:

To keep a stalled upstream model call from occupying application resources indefinitely as part of a design that must also display partial sentences without publishing malformed structured records, timeout handling caps resource exposure, while logging distinguishes slow provider response from a model-level refusal; this is why the action is one of the two required selections.

Incorrect Answers

A:

This alternative serves the separate goal to avoid retrying a malformed request that the API consistently rejects because a deterministic validation or authorization error requires fixing the request or credential, not another identical attempt; the required outcomes are instead to keep a stalled upstream model call from occupying application resources indefinitely and to display partial sentences without publishing malformed structured records.

C:

This alternative serves the separate goal to let a reviewer trace claims to the material actually consulted because traceability requires linking claims to accessible source passages; fabricated URLs or unlabeled snippets do not provide verifiable provenance; the required outcomes are instead to keep a stalled upstream model call from occupying application resources indefinitely and to display partial sentences without publishing malformed structured records.

E:

This alternative serves the separate goal 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 required outcomes are instead to keep a stalled upstream model call from occupying application resources indefinitely and to display partial sentences without publishing malformed structured records.

Question 610

For an enterprise MCP client, the missing capability is to maintain a reusable collection of related integrations and agent instructions across projects. What should the developers implement?

  1. Package the compatible components as an installable plugin when supported.
  2. Expose the manual as an MCP resource rather than a tool.
  3. Implement the approval in application workflow control rather than only in a Skill.
  4. Correlate each tool result with its matching tool_use_id.

Explanation

Correct Answer

A:

To maintain a reusable collection of related integrations and agent instructions across projects in this enterprise MCP client, a plugin groups capabilities for distribution and configuration; a single direct tool is simpler when packaging and reuse are unnecessary; the proposed implementation directly supplies that capability.

Incorrect Answers

B:

The proposed alternative helps to supply a read-only policy manual to an MCP client without giving it an action endpoint because a resource is contextual data; representing a passive document as an imperative function adds unnecessary execution semantics; that mechanism does not meet the different requirement to maintain a reusable collection of related integrations and agent instructions across projects.

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 maintain a reusable collection of related integrations and agent instructions across projects.

D:

The proposed alternative helps to process several requested independent tools without mixing their outputs because multi-tool responses can interleave operations, so identifier-based correlation is essential for safe continuation; that mechanism does not meet the different requirement to maintain a reusable collection of related integrations and agent instructions across projects.

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