cert
cert-1
cert-2

Pass Anthropic CCDV-F Exam in First Attempt Guaranteed!

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

cert-5
cert-6
CCDV-F Exam - Verified By Experts
CCDV-F Premium Bundle
$14.99

CCDV-F Premium Bundle

$94.99
$109.98
  • Premium File 96 Questions & Answers. Last update: Nov 30, 2026
  • Training Course 116 Video Lectures
 
$109.98
$94.99
accept 187 downloads in last 7 days
block-screenshots
Purchase Anthropic CCDV-F Exam Training Products Individually
Anthropic CCDV-F Premium File
Premium File 96 Q&A
$98.99$89.99
Anthropic CCDV-F Video Training Course
Training Course 116 Lectures
$21.99 $19.99
Anthropic CCDV-F Practice Test 64

Question 630

A streaming response stops at max_tokens midway through a structured result and the controller accepts it. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events.
  2. Inspect item independence, batch identifiers, completion deadlines, failed records and total cost.
  3. Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity.
  4. Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs.

Explanation

Correct Answer

A:

Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events. Context windows and output budgets are finite and tokenization differs from character length; increasing text does not guarantee a better answer. The appropriate response is: Budget input, output, tool results and cached material as tokens rather than characters, and enforce context and output limits for the selected model. Situation: A streaming response stops at max_tokens midway through a structured result and the controller accepts it.

Incorrect Answers

B:

Inspect item independence, batch identifiers, completion deadlines, failed records and total cost. This evidence is useful for Batch scheduling and unit economics but would not isolate the primary failure in this scenario. The decisive check is: Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events. Situation: A streaming response stops at max_tokens midway through a structured result and the controller accepts it.

C:

Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity. This evidence is useful for Opus Sonnet and Haiku tradeoffs but would not isolate the primary failure in this scenario. The decisive check is: Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events. Situation: A streaming response stops at max_tokens midway through a structured result and the controller accepts it.

D:

Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs. This evidence is useful for Authentication headers and secret rotation but would not isolate the primary failure in this scenario. The decisive check is: Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events. Situation: A streaming response stops at max_tokens midway through a structured result and the controller accepts it.

Question 631

A headless coding assistant requests permission interactively and stalls an unattended workflow. Which development or architectural response BEST addresses the primary requirement?

  1. Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results.
  2. Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use.
  3. Use Rules for persistent constraints, Skills for repeatable task guidance and specialized agents for bounded delegated subtasks.
  4. Choose Claude API, Claude Code, Desktop or claude.ai surfaces based on whether a workload needs programmatic calls, interactive authoring, local repository tools or user-facing chat.

Explanation

Correct Answer

A:

Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results. A successful assistant narrative does not substitute for CI exit codes, repository diff inspection or actual tests. Verify the prerequisites with: Inspect CLI invocation flags, machine-readable output, command exit status, changeset and test artifacts. Situation: A headless coding assistant requests permission interactively and stalls an unattended workflow.

Incorrect Answers

B:

Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. This response is designed for JSON contract and defensive parsing; it is not the controlling fix in the situation. Syntactically valid JSON may still violate business constraints; validation must extend beyond parsing. Here the targeted response is: Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results. Situation: A headless coding assistant requests permission interactively and stalls an unattended workflow.

C:

Use Rules for persistent constraints, Skills for repeatable task guidance and specialized agents for bounded delegated subtasks. This response is designed for Rules, Skills and specialized agents in Claude Code; it is not the controlling fix in the situation. Different customization primitives serve different lifecycles; adding a custom agent does not replace a straightforward skill or rule. Here the targeted response is: Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results. Situation: A headless coding assistant requests permission interactively and stalls an unattended workflow.

D:

Choose Claude API, Claude Code, Desktop or claude.ai surfaces based on whether a workload needs programmatic calls, interactive authoring, local repository tools or user-facing chat. This response is designed for Deployment surface selection and capabilities; it is not the controlling fix in the situation. Different Claude products have different execution contracts; a workflow developed in a chat window cannot be copied unchanged into a server SDK. Here the targeted response is: Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results. Situation: A headless coding assistant requests permission interactively and stalls an unattended workflow.

Question 632

A sprint replaces a system instruction and output format in one commit without a regression baseline. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints.
  2. Inspect change scope, test coverage, baseline outputs, dependencies and release approvals.
  3. Inspect event timelines, reproducible inputs, application logs, affected versions and customer impact.
  4. Inspect repository state, acceptance suite, environment configuration, rollback steps and service owners.

Explanation

Correct Answer

B:

Inspect change scope, test coverage, baseline outputs, dependencies and release approvals. Prompts and tool schemas are production behavior artifacts and need review comparable to ordinary code. The appropriate response is: Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results. Situation: A sprint replaces a system instruction and output format in one commit without a regression baseline.

Incorrect Answers

A:

Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints. This evidence is useful for Message Batches versus interactive API traffic but would not isolate the primary failure in this scenario. The decisive check is: Inspect change scope, test coverage, baseline outputs, dependencies and release approvals. Situation: A sprint replaces a system instruction and output format in one commit without a regression baseline.

C:

Inspect event timelines, reproducible inputs, application logs, affected versions and customer impact. This evidence is useful for Postrelease incident feedback and defect triage but would not isolate the primary failure in this scenario. The decisive check is: Inspect change scope, test coverage, baseline outputs, dependencies and release approvals. Situation: A sprint replaces a system instruction and output format in one commit without a regression baseline.

D:

Inspect repository state, acceptance suite, environment configuration, rollback steps and service owners. This evidence is useful for Discovery prototype to production readiness gates but would not isolate the primary failure in this scenario. The decisive check is: Inspect change scope, test coverage, baseline outputs, dependencies and release approvals. Situation: A sprint replaces a system instruction and output format in one commit without a regression baseline.

Question 633

A chatbot produces no answer after a 429 from the API but the team rewrites the system prompt. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Construct representative datasets with expected properties, deterministic checks and carefully reviewed model-based scoring when exact-string matching is inadequate.
  2. Classify failures as transport, API contract, tool execution, prompt or model behavior using traces and a repeatable failing input.
  3. Supported images are analyzed with traceable sources, and unsupported or unsafe files produce explicit input errors.
  4. Inspect request IDs, status codes, input/output blocks, tool logs, reproduction conditions and control runs.
  5. Inspect change scope, test coverage, baseline outputs, dependencies and release approvals.

Explanation

Correct Answers

B:

Classify failures as transport, API contract, tool execution, prompt or model behavior using traces and a repeatable failing input. Repeated prompt rewrites cannot fix a 401, invalid JSON tool input or failed external service transaction. Verify the prerequisites with: Inspect request IDs, status codes, input/output blocks, tool logs, reproduction conditions and control runs. Situation: A chatbot produces no answer after a 429 from the API but the team rewrites the system prompt.

D:

Inspect request IDs, status codes, input/output blocks, tool logs, reproduction conditions and control runs. Repeated prompt rewrites cannot fix a 401, invalid JSON tool input or failed external service transaction. The appropriate response is: Classify failures as transport, API contract, tool execution, prompt or model behavior using traces and a repeatable failing input. Situation: A chatbot produces no answer after a 429 from the API but the team rewrites the system prompt.

Incorrect Answers

A:

Construct representative datasets with expected properties, deterministic checks and carefully reviewed model-based scoring when exact-string matching is inadequate. This step may apply to Eval fixture design and regression gates but is not one of the two required complementary decisions. The relevant pair is: Classify failures as transport, API contract, tool execution, prompt or model behavior using traces and a repeatable failing input. and Inspect request IDs, status codes, input/output blocks, tool logs, reproduction conditions and control runs. Situation: A chatbot produces no answer after a 429 from the API but the team rewrites the system prompt.

C:

Supported images are analyzed with traceable sources, and unsupported or unsafe files produce explicit input errors. This step may apply to Vision and document input handling but is not one of the two required complementary decisions. The relevant pair is: Classify failures as transport, API contract, tool execution, prompt or model behavior using traces and a repeatable failing input. and Inspect request IDs, status codes, input/output blocks, tool logs, reproduction conditions and control runs. Situation: A chatbot produces no answer after a 429 from the API but the team rewrites the system prompt.

E:

Inspect change scope, test coverage, baseline outputs, dependencies and release approvals. This step may apply to Iterative delivery and change management but is not one of the two required complementary decisions. The relevant pair is: Classify failures as transport, API contract, tool execution, prompt or model behavior using traces and a repeatable failing input. and Inspect request IDs, status codes, input/output blocks, tool logs, reproduction conditions and control runs. Situation: A chatbot produces no answer after a 429 from the API but the team rewrites the system prompt.

Question 634

A developer copies an Anthropic API key into a unit test fixture committed to a public repository. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Keep credentials out of commits and logs, minimize dependency attack surface and use tested configurations across dev, staging and production.
  2. Use Message Batches for independent latency-tolerant requests and ordinary synchronous requests for interactive low-latency conversation.
  3. Inspect CI secret scans, environment injection, package provenance, dependency vulnerabilities and access role assignments.
  4. The receiving service accepts only conforming validated objects, and failures remain explicit with trace identifiers.
  5. Inspect tool input schema, required fields, enum constraints, authenticated user and side-effect classification.

Explanation

Correct Answers

A:

Keep credentials out of commits and logs, minimize dependency attack surface and use tested configurations across dev, staging and production. A working local prototype is not secure when its dependencies and credentials cannot be reviewed or rotated. Verify the prerequisites with: Inspect CI secret scans, environment injection, package provenance, dependency vulnerabilities and access role assignments. Situation: A developer copies an Anthropic API key into a unit test fixture committed to a public repository.

C:

Inspect CI secret scans, environment injection, package provenance, dependency vulnerabilities and access role assignments. A working local prototype is not secure when its dependencies and credentials cannot be reviewed or rotated. The appropriate response is: Keep credentials out of commits and logs, minimize dependency attack surface and use tested configurations across dev, staging and production. Situation: A developer copies an Anthropic API key into a unit test fixture committed to a public repository.

Incorrect Answers

B:

Use Message Batches for independent latency-tolerant requests and ordinary synchronous requests for interactive low-latency conversation. This step may apply to Message Batches versus interactive API traffic but is not one of the two required complementary decisions. The relevant pair is: Keep credentials out of commits and logs, minimize dependency attack surface and use tested configurations across dev, staging and production. and Inspect CI secret scans, environment injection, package provenance, dependency vulnerabilities and access role assignments. Situation: A developer copies an Anthropic API key into a unit test fixture committed to a public repository.

D:

The receiving service accepts only conforming validated objects, and failures remain explicit with trace identifiers. This step may apply to Structured application output contract but is not one of the two required complementary decisions. The relevant pair is: Keep credentials out of commits and logs, minimize dependency attack surface and use tested configurations across dev, staging and production. and Inspect CI secret scans, environment injection, package provenance, dependency vulnerabilities and access role assignments. Situation: A developer copies an Anthropic API key into a unit test fixture committed to a public repository.

E:

Inspect tool input schema, required fields, enum constraints, authenticated user and side-effect classification. This step may apply to Tool definitions and strict argument validation but is not one of the two required complementary decisions. The relevant pair is: Keep credentials out of commits and logs, minimize dependency attack surface and use tested configurations across dev, staging and production. and Inspect CI secret scans, environment injection, package provenance, dependency vulnerabilities and access role assignments. Situation: A developer copies an Anthropic API key into a unit test fixture committed to a public repository.

Question 635

Two teams independently change the API schema and prompt template and then blame each other for parse errors. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Use production traces and defect reports to identify whether observed failures require a model, tool, prompt, data or application fix.
  2. Inspect session keys, authorization on retrieval, cache namespaces, resource identifiers and expiration controls.
  3. Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results.
  4. Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable.
  5. Inspect change scope, test coverage, baseline outputs, dependencies and release approvals.

Explanation

Correct Answers

C:

Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results. Prompts and tool schemas are production behavior artifacts and need review comparable to ordinary code. Verify the prerequisites with: Inspect change scope, test coverage, baseline outputs, dependencies and release approvals. Situation: Two teams independently change the API schema and prompt template and then blame each other for parse errors.

E:

Inspect change scope, test coverage, baseline outputs, dependencies and release approvals. Prompts and tool schemas are production behavior artifacts and need review comparable to ordinary code. The appropriate response is: Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results. Situation: Two teams independently change the API schema and prompt template and then blame each other for parse errors.

Incorrect Answers

A:

Use production traces and defect reports to identify whether observed failures require a model, tool, prompt, data or application fix. This step may apply to Postrelease incident feedback and defect triage but is not one of the two required complementary decisions. The relevant pair is: Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results. and Inspect change scope, test coverage, baseline outputs, dependencies and release approvals. Situation: Two teams independently change the API schema and prompt template and then blame each other for parse errors.

B:

Inspect session keys, authorization on retrieval, cache namespaces, resource identifiers and expiration controls. This step may apply to Session and user context isolation but is not one of the two required complementary decisions. The relevant pair is: Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results. and Inspect change scope, test coverage, baseline outputs, dependencies and release approvals. Situation: Two teams independently change the API schema and prompt template and then blame each other for parse errors.

D:

Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable. This step may apply to REST status and idempotent retries but is not one of the two required complementary decisions. The relevant pair is: Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results. and Inspect change scope, test coverage, baseline outputs, dependencies and release approvals. Situation: Two teams independently change the API schema and prompt template and then blame each other for parse errors.

Question 636

A nested response contains a valid object but the required record identifier is an empty string. Which observed result BEST demonstrates the requirement has been satisfied?

  1. Malformed payloads are rejected or repaired through a controlled path, never silently interpreted as trustworthy records.
  2. Only a version with passing integration and security tests enters production under a recorded release decision.
  3. A fresh workspace installs the same supported workflow without unexpected permissions or missing resources.
  4. Supported images are analyzed with traceable sources, and unsupported or unsafe files produce explicit input errors.

Explanation

Correct Answer

A:

Malformed payloads are rejected or repaired through a controlled path, never silently interpreted as trustworthy records. Syntactically valid JSON may still violate business constraints; validation must extend beyond parsing. Situation: A nested response contains a valid object but the required record identifier is an empty string.

Incorrect Answers

B:

Only a version with passing integration and security tests enters production under a recorded release decision. This result tests Discovery prototype to production readiness gates, not the requirement demonstrated by this case. The relevant acceptance condition is: Malformed payloads are rejected or repaired through a controlled path, never silently interpreted as trustworthy records. Situation: A nested response contains a valid object but the required record identifier is an empty string.

C:

A fresh workspace installs the same supported workflow without unexpected permissions or missing resources. This result tests Reusable plugin and skill dependency packaging, not the requirement demonstrated by this case. The relevant acceptance condition is: Malformed payloads are rejected or repaired through a controlled path, never silently interpreted as trustworthy records. Situation: A nested response contains a valid object but the required record identifier is an empty string.

D:

Supported images are analyzed with traceable sources, and unsupported or unsafe files produce explicit input errors. This result tests Vision and document input handling, not the requirement demonstrated by this case. The relevant acceptance condition is: Malformed payloads are rejected or repaired through a controlled path, never silently interpreted as trustworthy records. Situation: A nested response contains a valid object but the required record identifier is an empty string.

Question 637

An invoice extractor interprets parentheses as a negative amount inconsistently until a small example clarifies it. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Parent responses cite the correct evidence from each subtask without leaking unrelated data across assignments.
  2. Inspect sample diversity, conflicting demonstrations, token cost and evaluation changes.
  3. Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt.
  4. Place durable application rules in the appropriate high-priority instruction layer and preserve user requests and documents as lower-trust inputs.
  5. Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements.

Explanation

Correct Answers

B:

Inspect sample diversity, conflicting demonstrations, token cost and evaluation changes. Few-shot examples teach patterns but are not substitutes for explicit rules and validation. The appropriate response is: Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt. Situation: An invoice extractor interprets parentheses as a negative amount inconsistently until a small example clarifies it.

C:

Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt. Few-shot examples teach patterns but are not substitutes for explicit rules and validation. Verify the prerequisites with: Inspect sample diversity, conflicting demonstrations, token cost and evaluation changes. Situation: An invoice extractor interprets parentheses as a negative amount inconsistently until a small example clarifies it.

Incorrect Answers

A:

Parent responses cite the correct evidence from each subtask without leaking unrelated data across assignments. This step may apply to Subagent context partitioning and evidence handoff but is not one of the two required complementary decisions. The relevant pair is: Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt. and Inspect sample diversity, conflicting demonstrations, token cost and evaluation changes. Situation: An invoice extractor interprets parentheses as a negative amount inconsistently until a small example clarifies it.

D:

Place durable application rules in the appropriate high-priority instruction layer and preserve user requests and documents as lower-trust inputs. This step may apply to Clear instruction priority and role separation but is not one of the two required complementary decisions. The relevant pair is: Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt. and Inspect sample diversity, conflicting demonstrations, token cost and evaluation changes. Situation: An invoice extractor interprets parentheses as a negative amount inconsistently until a small example clarifies it.

E:

Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements. This step may apply to Context-window prioritization and tool-output pruning but is not one of the two required complementary decisions. The relevant pair is: Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt. and Inspect sample diversity, conflicting demonstrations, token cost and evaluation changes. Situation: An invoice extractor interprets parentheses as a negative amount inconsistently until a small example clarifies it.

Question 638

A support team proposes an autonomous agent to perform the same five identity-verification checks in every ticket. Which observed result BEST demonstrates the requirement has been satisfied?

  1. The process takes reproducible paths for predictable cases and invokes model-directed planning only for approved ambiguous cases.
  2. Each tool request receives one matching result and the model either produces a final answer or raises a bounded terminal error.
  3. A prohibited operation is blocked even when the model asks to proceed, and the hook emits an auditable explanation.
  4. A controlled agent run reaches the intended goal with attributable tools and no access beyond its allowed environment.

Explanation

Correct Answer

A:

The process takes reproducible paths for predictable cases and invokes model-directed planning only for approved ambiguous cases. An agent incurs unpredictable tool trajectories and costs; workflow orchestration remains preferable when control flow is specified in advance. Situation: A support team proposes an autonomous agent to perform the same five identity-verification checks in every ticket.

Incorrect Answers

B:

Each tool request receives one matching result and the model either produces a final answer or raises a bounded terminal error. This result tests Custom agent loop and stop reason handling, not the requirement demonstrated by this case. The relevant acceptance condition is: The process takes reproducible paths for predictable cases and invokes model-directed planning only for approved ambiguous cases. Situation: A support team proposes an autonomous agent to perform the same five identity-verification checks in every ticket.

C:

A prohibited operation is blocked even when the model asks to proceed, and the hook emits an auditable explanation. This result tests Hooks for non-model lifecycle actions, not the requirement demonstrated by this case. The relevant acceptance condition is: The process takes reproducible paths for predictable cases and invokes model-directed planning only for approved ambiguous cases. Situation: A support team proposes an autonomous agent to perform the same five identity-verification checks in every ticket.

D:

A controlled agent run reaches the intended goal with attributable tools and no access beyond its allowed environment. This result tests Claude Agent SDK session and tool boundaries, not the requirement demonstrated by this case. The relevant acceptance condition is: The process takes reproducible paths for predictable cases and invokes model-directed planning only for approved ambiguous cases. Situation: A support team proposes an autonomous agent to perform the same five identity-verification checks in every ticket.

Question 639

A legal assistant concatenates thousands of attachments until the API rejects its context size. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs.
  2. Inspect error cases, example coverage, instruction conflicts and token overhead.
  3. Inspect language runtime, SDK version, endpoint behavior, network middleware and response serialization.
  4. Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events.

Explanation

Correct Answer

D:

Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events. Context windows and output budgets are finite and tokenization differs from character length; increasing text does not guarantee a better answer. The appropriate response is: Budget input, output, tool results and cached material as tokens rather than characters, and enforce context and output limits for the selected model. Situation: A legal assistant concatenates thousands of attachments until the API rejects its context size.

Incorrect Answers

A:

Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs. This evidence is useful for Authentication headers and secret rotation but would not isolate the primary failure in this scenario. The decisive check is: Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events. Situation: A legal assistant concatenates thousands of attachments until the API rejects its context size.

B:

Inspect error cases, example coverage, instruction conflicts and token overhead. This evidence is useful for Zero-shot versus few-shot task instructions but would not isolate the primary failure in this scenario. The decisive check is: Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events. Situation: A legal assistant concatenates thousands of attachments until the API rejects its context size.

C:

Inspect language runtime, SDK version, endpoint behavior, network middleware and response serialization. This evidence is useful for SDK versus raw REST transport but would not isolate the primary failure in this scenario. The decisive check is: Inspect input token counts, prompt structure, tool-result sizes, max_tokens and truncation events. Situation: A legal assistant concatenates thousands of attachments until the API rejects its context size.

Question 640

A generated URL contains an unsupported scheme and a downstream browser would open it without validation. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy.
  2. Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use.
  3. Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior.
  4. Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries.
  5. A fresh workspace installs the same supported workflow without unexpected permissions or missing resources.

Explanation

Correct Answers

C:

Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. External text belongs to a lower trust tier than application instructions even when placed in the same model context. The appropriate response is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. Situation: A generated URL contains an unsupported scheme and a downstream browser would open it without validation.

D:

Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. External text belongs to a lower trust tier than application instructions even when placed in the same model context. Verify the prerequisites with: Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: A generated URL contains an unsupported scheme and a downstream browser would open it without validation.

Incorrect Answers

A:

Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy. This step may apply to Message stop reasons and continuation states but is not one of the two required complementary decisions. The relevant pair is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. and Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: A generated URL contains an unsupported scheme and a downstream browser would open it without validation.

B:

Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. This step may apply to JSON contract and defensive parsing but is not one of the two required complementary decisions. The relevant pair is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. and Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: A generated URL contains an unsupported scheme and a downstream browser would open it without validation.

E:

A fresh workspace installs the same supported workflow without unexpected permissions or missing resources. This step may apply to Reusable plugin and skill dependency packaging but is not one of the two required complementary decisions. The relevant pair is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. and Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: A generated URL contains an unsupported scheme and a downstream browser would open it without validation.

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