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

Question 130

For a model-output validation layer, the missing capability is to avoid treating fluent model wording as evidence that a claim is verified. What should the developers implement?

  1. Place essential constraints prominently and structure large evidence clearly.
  2. Ground consequential statements in retrieved evidence or external checks.
  3. Summarize prior decisions and preserve unresolved constraints.
  4. Instruct the application to request clarification for unresolved high-impact ambiguity.

Explanation

Correct Answer

B:

To avoid treating fluent model wording as evidence that a claim is verified in this model-output validation layer, linguistic confidence is not a calibrated truth guarantee, so factual correctness requires independent support; the proposed implementation directly supplies that capability.

Incorrect Answers

A:

The proposed alternative helps to reduce the chance that critical instructions become buried in a huge prompt because ordering, headings, and explicit references help the model distinguish governing rules from supporting material in large requests; that mechanism does not meet the different requirement to avoid treating fluent model wording as evidence that a claim is verified.

C:

The proposed alternative helps to maintain the current task after older dialogue exceeds the active token budget because a faithful rolling summary carries forward objectives and commitments while avoiding a full-history replay on each call; that mechanism does not meet the different requirement to avoid treating fluent model wording as evidence that a claim is verified.

D:

The proposed alternative helps to ask for missing essential parameters rather than inventing a consequential choice because clarification reduces irreversible guesses when requirements do not uniquely determine a safe action; that mechanism does not meet the different requirement to avoid treating fluent model wording as evidence that a claim is verified.

Question 131

While planning a developer workstation running Claude Code, the product owner specifies that it must introduce Claude Code to an unfamiliar codebase's conventions and commands. Which solution fulfills the requirement?

  1. Initialize project guidance and review the resulting CLAUDE.md content.
  2. Use the supported session continuation or resume mechanism.
  3. Create a project skill with the documented skill metadata and content.
  4. Place a path-targeted rule in the repository's rules configuration.

Explanation

Correct Answer

A:

To introduce Claude Code to an unfamiliar codebase's conventions and commands in this developer workstation running Claude Code, repository setup discovers useful project practices, but autogenerated guidance still needs a human check for accuracy and unnecessary detail; the proposed implementation directly supplies that capability.

Incorrect Answers

B:

The proposed alternative helps to continue a previously interrupted Claude Code work session because restoring session context reduces lost work while preserving continuity of prior tool activity; opening a new unrelated session does not do the same; that mechanism does not meet the different requirement to introduce Claude Code to an unfamiliar codebase's conventions and commands.

C:

The proposed alternative helps to make a reusable development procedure available to Claude Code with supporting files because a skill packages guidance or a workflow for reuse across relevant tasks; it is not identical to granting a runtime tool permission; that mechanism does not meet the different requirement to introduce Claude Code to an unfamiliar codebase's conventions and commands.

D:

The proposed alternative helps to apply a coding convention only when Claude Code edits a particular path because scoped rules keep specialized instructions close to their applicable files, avoiding global instructions that conflict with other modules; that mechanism does not meet the different requirement to introduce Claude Code to an unfamiliar codebase's conventions and commands.

Question 132

To ship a TypeScript Claude integration, the application must verify that generated categorization meets a business-approved standard and preserve an understandable outcome when model generation cannot complete. Which pair of listed actions is necessary for those stated capabilities? Choose TWO.

  1. Convert quality expectations into labeled tests and failure thresholds.
  2. Apply content checks at suitable input and output boundaries.
  3. Configure supported structured outputs with a JSON Schema.
  4. Detect refusal and apply the product's allowed fallback or messaging policy.
  5. Specify user-visible degraded responses and recovery paths.

Explanation

Correct Answers

A:

To verify that generated categorization meets a business-approved standard as part of a design that must also preserve an understandable outcome when model generation cannot complete, acceptance is meaningful only with representative cases and explicit quality criteria; subjective demo approval cannot establish production fitness; this is why the action is one of the two required selections.

E:

To preserve an understandable outcome when model generation cannot complete as part of a design that must also verify that generated categorization meets a business-approved standard, a fallback requirement defines what customers see when an API call times out or is refused rather than assuming every inference will succeed; this is why the action is one of the two required selections.

Incorrect Answers

B:

This alternative serves the separate goal to filter risky user-visible content according to application policy because moderation is a defense layer applied around generation, not a substitute for authenticated tool access or scoped retrieval; the required outcomes are instead to verify that generated categorization meets a business-approved standard and to preserve an understandable outcome when model generation cannot complete.

C:

This alternative serves the separate goal to need schema-conformant JSON for a downstream parser at generation time because constrained JSON generation targets machine-parseable fields and types; free-form prompting alone does not establish the same guarantee; the required outcomes are instead to verify that generated categorization meets a business-approved standard and to preserve an understandable outcome when model generation cannot complete.

D:

This alternative serves the separate goal to handle a safety refusal as a distinct application outcome because a refusal is not the same as a network failure; blindly retrying identical input may not produce an appropriate user experience; the required outcomes are instead to verify that generated categorization meets a business-approved standard and to preserve an understandable outcome when model generation cannot complete.

Question 133

An operational review of a shared tool gateway for Claude reports distinct failures: it cannot remove an agent's access to an obsolete integration without rewriting all its task prompts, and it cannot maintain a reusable collection of related integrations and agent instructions across projects. Which two repairs are required? Choose TWO.

  1. Disable the capability at configuration or tool-registration level.
  2. Package the compatible components as an installable plugin when supported.
  3. Put an approval gate in the host-side write handler.
  4. Register a prompt template with its required arguments.
  5. Write a custom tool whose handler runs in the application.

Explanation

Correct Answers

A:

To remove an agent's access to an obsolete integration without rewriting all its task prompts as part of a design that must also maintain a reusable collection of related integrations and agent instructions across projects, actual registered capabilities define what may execute; changing descriptive prompt text alone does not revoke a previously available tool; this is why the action is one of the two required selections.

B:

To maintain a reusable collection of related integrations and agent instructions across projects as part of a design that must also remove an agent's access to an obsolete integration without rewriting all its task prompts, a plugin groups capabilities for distribution and configuration; a single direct tool is simpler when packaging and reuse are unnecessary; this is why the action is one of the two required selections.

Incorrect Answers

C:

This alternative serves the separate goal 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; the required outcomes are instead to remove an agent's access to an obsolete integration without rewriting all its task prompts and to maintain a reusable collection of related integrations and agent instructions across projects.

D:

This alternative serves the separate goal 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 required outcomes are instead to remove an agent's access to an obsolete integration without rewriting all its task prompts and to maintain a reusable collection of related integrations and agent instructions across projects.

E:

This alternative serves the separate goal to invoke a proprietary internal pricing database unavailable through a built-in feature because custom tools expose application-specific actions while retaining control over authentication, validation, and network access; the required outcomes are instead to remove an agent's access to an obsolete integration without rewriting all its task prompts and to maintain a reusable collection of related integrations and agent instructions across projects.

Question 134

An end-to-end test for an operations research assistant checks whether it can plan another step only after inspecting the result of a requested external operation and handle several independent tool_use blocks in one assistant message. Which plan should be approved to satisfy both checks?

  1. Perform both steps: (1) Configure the appropriate Anthropic-executed server tool; (2) return a separate tool_result for every corresponding tool_use identifier.
  2. Perform both steps: (1) Alternate model tool-use requests with tool results until completion; (2) use isolated branch state and a controlled reconciliation step.
  3. Perform both steps: (1) Alternate model tool-use requests with tool results until completion; (2) return a separate tool_result for every corresponding tool_use identifier.
  4. Perform both steps: (1) Configure the appropriate Anthropic-executed server tool; (2) use isolated branch state and a controlled reconciliation step.

Explanation

Correct Answer

C:

The first change enables the team 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; the second addresses the separate need 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.

Incorrect Answers

A:

The second step meets the requirement 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; 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 plan another step only after inspecting the result of a requested external operation unmet.

B:

The first step is appropriate for the requirement 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; the other step instead aims to stop two parallel branches from overwriting the same mutable record because explicit merge rules are required when outputs converge; concurrent mutation without arbitration causes nondeterministic results, which does not meet the second requirement to handle several independent tool_use blocks in one assistant message.

D:

Both steps target different results—use a Claude platform-provided capability without operating a local handler and stop two parallel branches from overwriting the same mutable record—because server tools execute on the provider side and have distinct authorization and runtime semantics from client tools the application dispatches and explicit merge rules are required when outputs converge; concurrent mutation without arbitration causes nondeterministic results; the required capabilities are instead to plan another step only after inspecting the result of a requested external operation and to handle several independent tool_use blocks in one assistant message.

Question 135

In a customer-facing AI feature, testing reveals that the system cannot prevent chat transcripts from different accounts entering the same Claude request and cannot display partial sentences without publishing malformed structured records. Select the two targeted actions that close these gaps. Choose TWO.

  1. Store prompt versions with release identifiers and rollback history.
  2. Enforce per-tenant token and request budgets in the backend.
  3. Store and retrieve message history by authenticated tenant and conversation ID.
  4. Buffer structured data until it can be parsed and validated before UI commit.
  5. Add application-owned approval logic around the refund tool.

Explanation

Correct Answers

C:

To prevent chat transcripts from different accounts entering the same Claude request as part of a design that must also display partial sentences without publishing malformed structured records, session hygiene requires server-enforced isolation; model instructions cannot repair a history assembled from the wrong user; this is why the action is one of the two required selections.

D:

To display partial sentences without publishing malformed structured records as part of a design that must also prevent chat transcripts from different accounts entering the same Claude request, 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.

Incorrect Answers

A:

This alternative serves the separate goal to determine whether a quality regression came from a recent instruction edit because a prompt is a behavior-changing artifact; versioning makes comparisons and safe reversions possible during incident response; the required outcomes are instead to prevent chat transcripts from different accounts entering the same Claude request and to display partial sentences without publishing malformed structured records.

B:

This alternative serves the separate goal to keep one customer from consuming an entire shared inference budget because application quotas isolate noisy tenants and control spending; provider-wide rate limits alone do not guarantee fairness between customers; the required outcomes are instead to prevent chat transcripts from different accounts entering the same Claude request and to display partial sentences without publishing malformed structured records.

E:

This alternative serves the separate goal to ensure refunds above a policy limit receive human sign-off because decisions that create financial side effects require deterministic authorization checks beyond a model's recommendation; the required outcomes are instead to prevent chat transcripts from different accounts entering the same Claude request and to display partial sentences without publishing malformed structured records.

Question 136

An end-to-end test for a secure tool-execution boundary checks whether it can resist instructions embedded in a retrieved support ticket that demand secret disclosure and prevent an adversarial user from bypassing safety policy by roleplay instructions. Which plan should be approved to satisfy both checks?

  1. Perform both steps: (1) Verify origin and integrity of sensitive external data where supported; (2) redact secrets and protect log access with retention controls.
  2. Perform both steps: (1) Treat retrieved content as untrusted and prevent its instructions from controlling tools; (2) use layered policy enforcement and restrict powerful tools independently of chat text.
  3. Perform both steps: (1) Treat retrieved content as untrusted and prevent its instructions from controlling tools; (2) redact secrets and protect log access with retention controls.
  4. Perform both steps: (1) Verify origin and integrity of sensitive external data where supported; (2) use layered policy enforcement and restrict powerful tools independently of chat text.

Explanation

Correct Answer

B:

The first change enables the team to resist instructions embedded in a retrieved support ticket that demand secret disclosure because source material is data rather than authority; enforcing tool permissions and separating roles limits an attacker's ability to redirect execution; the second addresses the separate need to prevent an adversarial user from bypassing safety policy by roleplay instructions because adversarial prompting can target instruction hierarchy, so product controls and tool authorization must remain effective when wording is manipulated.

Incorrect Answers

A:

Both steps target different results—detect unauthorized modifications to a tool result before it reaches the model and investigate user actions without leaking API keys into operational records—because trusted decisions require confidence that tool outputs were not altered; transport and signature checks complement content validation and logs support accountability only when access and retention are restricted; copying all prompt content into logs creates another exposure surface; the required capabilities are instead to resist instructions embedded in a retrieved support ticket that demand secret disclosure and to prevent an adversarial user from bypassing safety policy by roleplay instructions.

C:

The first step is appropriate for the requirement to resist instructions embedded in a retrieved support ticket that demand secret disclosure because source material is data rather than authority; enforcing tool permissions and separating roles limits an attacker's ability to redirect execution; the other step instead aims to investigate user actions without leaking API keys into operational records because logs support accountability only when access and retention are restricted; copying all prompt content into logs creates another exposure surface, which does not meet the second requirement to prevent an adversarial user from bypassing safety policy by roleplay instructions.

D:

The second step meets the requirement to prevent an adversarial user from bypassing safety policy by roleplay instructions because adversarial prompting can target instruction hierarchy, so product controls and tool authorization must remain effective when wording is manipulated; the first step would only help to detect unauthorized modifications to a tool result before it reaches the model because trusted decisions require confidence that tool outputs were not altered; transport and signature checks complement content validation, leaving the separate requirement to resist instructions embedded in a retrieved support ticket that demand secret disclosure unmet.

Question 137

An architecture decision for a model selection trial must support detect a looping agent that suddenly multiplies token consumption and explain a billing increase after lengthy system instructions are added. Which option gives a complete rather than partial solution?

  1. Perform both steps: (1) Measure or count input and output tokens with the supported tokenizer or API; (2) measure input-token usage per request and track the prompt components.
  2. Perform both steps: (1) Alert on unusual per-job token and tool-call growth; (2) measure input-token usage per request and track the prompt components.
  3. Perform both steps: (1) Alert on unusual per-job token and tool-call growth; (2) measure cache-write overhead against subsequent cache-read savings.
  4. Perform both steps: (1) Measure or count input and output tokens with the supported tokenizer or API; (2) measure cache-write overhead against subsequent cache-read savings.

Explanation

Correct Answer

B:

The first change enables the team 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; the second addresses the separate need 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.

Incorrect Answers

A:

The second step meets the requirement 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 first step would only help 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, leaving the separate requirement to detect a looping agent that suddenly multiplies token consumption unmet.

C:

The first step is appropriate for the requirement 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; the other step instead aims to reduce repeated cost for a stable lengthy policy prefix reused many times because cache writes may cost extra while hits are cheaper; the reuse frequency determines whether the optimization saves money, which does not meet the second requirement to explain a billing increase after lengthy system instructions are added.

D:

Both steps target different results—estimate model usage from encoded text rather than counting words and reduce repeated cost for a stable lengthy policy prefix reused many times—because billing and context consumption track tokens, which do not map one-to-one to English words or characters and cache writes may cost extra while hits are cheaper; the reuse frequency determines whether the optimization saves money; the required capabilities are instead to detect a looping agent that suddenly multiplies token consumption and to explain a billing increase after lengthy system instructions are added.

Question 138

A design review for a high-volume Messages API gateway asks for support to prevent duplicate purchases or tickets if an agent repeats a tool call, together with a way to preserve behavior while replacing a fragile parser in an AI integration. Select the two appropriate changes. Choose TWO.

  1. Define availability objectives with failure and recovery criteria.
  2. Refactor in bounded steps under existing tests.
  3. Require peer review focused on API, security, and tool-side effects.
  4. Give mutating operations an application-level idempotency key.
  5. Require structured request IDs, tool traces, and version metadata with privacy controls.

Explanation

Correct Answers

B:

To preserve behavior while replacing a fragile parser in an AI integration as part of a design that must also prevent duplicate purchases or tickets if an agent repeats a tool call, small changes constrain regression scope; a wholesale rewrite makes it harder to isolate whether model or parsing behavior changed; this is why the action is one of the two required selections.

D:

To prevent duplicate purchases or tickets if an agent repeats a tool call as part of a design that must also preserve behavior while replacing a fragile parser in an AI integration, idempotency ensures replays of the same intended action do not create duplicate real-world effects even when orchestration retries; this is why the action is one of the two required selections.

Incorrect Answers

A:

This alternative serves the separate goal to state how much interruption a customer-facing AI feature can tolerate because reliability requirements determine fallback, retries, health monitoring, and degraded behavior; they are distinct from the response's linguistic quality; the required outcomes are instead to prevent duplicate purchases or tickets if an agent repeats a tool call and to preserve behavior while replacing a fragile parser in an AI integration.

C:

This alternative serves the separate goal to catch unsafe credentials and incorrect tool calls before deployment because human review should check trust boundaries and external actions in addition to style; successful compilation cannot prove these behaviors are safe; the required outcomes are instead to prevent duplicate purchases or tickets if an agent repeats a tool call and to preserve behavior while replacing a fragile parser in an AI integration.

E:

This alternative serves the separate goal to enable an administrator to determine how a particular AI decision was produced because traceability depends on consistent operational evidence, not just retaining the final generated answer or a screenshot; the required outcomes are instead to prevent duplicate purchases or tickets if an agent repeats a tool call and to preserve behavior while replacing a fragile parser in an AI integration.

Question 139

An architecture decision for a Claude Code CI integration must support enforce a team-approved permission policy despite local developer preferences and apply a coding convention only when Claude Code edits a particular path. Which option gives a complete rather than partial solution?

  1. Perform both steps: (1) Configure a specialized Claude Code subagent with a narrow remit; (2) place a path-targeted rule in the repository's rules configuration.
  2. Perform both steps: (1) Configure a specialized Claude Code subagent with a narrow remit; (2) initialize project guidance and review the resulting claude.md content.
  3. Perform both steps: (1) Define policy in the appropriate managed or shared settings scope; (2) initialize project guidance and review the resulting claude.md content.
  4. Perform both steps: (1) Define policy in the appropriate managed or shared settings scope; (2) place a path-targeted rule in the repository's rules configuration.

Explanation

Correct Answer

D:

The first change enables the team to enforce a team-approved permission policy despite local developer preferences because Claude Code has multiple configuration scopes; binding policy to the required scope matters more than placing a rule in an arbitrary JSON file; the second addresses the separate need to apply a coding convention only when Claude Code edits a particular path because scoped rules keep specialized instructions close to their applicable files, avoiding global instructions that conflict with other modules.

Incorrect Answers

A:

The second step meets the requirement to apply a coding convention only when Claude Code edits a particular path because scoped rules keep specialized instructions close to their applicable files, avoiding global instructions that conflict with other modules; the first step would only help to delegate an independent code review without filling the main coding session with details because subagents can focus on a task and return a summary, limiting noise in the parent session and allowing separate permissions when configured, leaving the separate requirement to enforce a team-approved permission policy despite local developer preferences unmet.

B:

Both steps target different results—delegate an independent code review without filling the main coding session with details and introduce Claude Code to an unfamiliar codebase's conventions and commands—because subagents can focus on a task and return a summary, limiting noise in the parent session and allowing separate permissions when configured and repository setup discovers useful project practices, but autogenerated guidance still needs a human check for accuracy and unnecessary detail; the required capabilities are instead to enforce a team-approved permission policy despite local developer preferences and to apply a coding convention only when Claude Code edits a particular path.

C:

The first step is appropriate for the requirement to enforce a team-approved permission policy despite local developer preferences because Claude Code has multiple configuration scopes; binding policy to the required scope matters more than placing a rule in an arbitrary JSON file; the other step instead aims to introduce Claude Code to an unfamiliar codebase's conventions and commands because repository setup discovers useful project practices, but autogenerated guidance still needs a human check for accuracy and unnecessary detail, which does not meet the second requirement to apply a coding convention only when Claude Code edits a particular path.

Question 140

For a token-consumption optimization sprint, a design is acceptable only if it can serve high-volume straightforward classification at a tight latency and cost target while also being able to deliver moderately complex development assistance with balanced quality, cost, and latency. Which paired implementation is sufficient?

  1. Perform both steps: (1) Benchmark a suitable Haiku-family model for the simple task; (2) evaluate a sonnet-family model against a realistic task set.
  2. Perform both steps: (1) Select an available effort level after measuring task performance; (2) evaluate a sonnet-family model against a realistic task set.
  3. Perform both steps: (1) Benchmark a suitable Haiku-family model for the simple task; (2) track output tokens separately from input tokens.
  4. Perform both steps: (1) Select an available effort level after measuring task performance; (2) track output tokens separately from input tokens.

Explanation

Correct Answer

A:

The first change enables the team to serve high-volume straightforward classification at a tight latency and cost target because lightweight model tiers can favor speed and unit economics, but accuracy must still meet the specific evaluation threshold; the second addresses the separate need 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.

Incorrect Answers

B:

The second step meets 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 first step would only help to trade answer latency and computation against solution quality on supported models because reasoning effort is an inference-time tradeoff; lowering it may reduce costs or latency while harming difficult-case accuracy, leaving the separate requirement to serve high-volume straightforward classification at a tight latency and cost target unmet.

C:

The first step is appropriate for the requirement to serve high-volume straightforward classification at a tight latency and cost target because lightweight model tiers can favor speed and unit economics, but accuracy must still meet the specific evaluation threshold; the other step instead aims to identify why verbose generated reports cost more despite unchanged inputs because generation tokens are metered independently and can have different pricing, so response verbosity affects unit economics, which does not meet the second requirement to deliver moderately complex development assistance with balanced quality, cost, and latency.

D:

Both steps target different results—trade answer latency and computation against solution quality on supported models and identify why verbose generated reports cost more despite unchanged inputs—because reasoning effort is an inference-time tradeoff; lowering it may reduce costs or latency while harming difficult-case accuracy and generation tokens are metered independently and can have different pricing, so response verbosity affects unit economics; the required capabilities are instead to serve high-volume straightforward classification at a tight latency and cost target and to deliver moderately complex development assistance with balanced quality, cost, and latency.

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