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 79

Question 780

A claims assistant receives a damaged PDF and invents missing amounts rather than requesting clarification. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect tool input schema, required fields, enum constraints, authenticated user and side-effect classification.
  2. Inspect manifest versions, dependency availability, plugin scopes, installation logs and upgrade notes.
  3. Inspect error examples, fallback ownership, confidence criteria, retry budgets and escalation permissions.
  4. Inspect data classifications, regional restrictions, throughput forecasts, connectivity and approval records.

Explanation

Correct Answer

C:

Inspect error examples, fallback ownership, confidence criteria, retry budgets and escalation permissions. Most failures happen outside the happy path; explicitly modeled exceptions are part of the product requirements. The appropriate response is: Document exceptional states, incomplete inputs, ambiguous requests and manual escalation before implementing a production LLM workflow. Situation: A claims assistant receives a damaged PDF and invents missing amounts rather than requesting clarification.

Incorrect Answers

A:

Inspect tool input schema, required fields, enum constraints, authenticated user and side-effect classification. This evidence is useful for Tool definitions and strict argument validation but would not isolate the primary failure in this scenario. The decisive check is: Inspect error examples, fallback ownership, confidence criteria, retry budgets and escalation permissions. Situation: A claims assistant receives a damaged PDF and invents missing amounts rather than requesting clarification.

B:

Inspect manifest versions, dependency availability, plugin scopes, installation logs and upgrade notes. This evidence is useful for Reusable plugin and skill dependency packaging but would not isolate the primary failure in this scenario. The decisive check is: Inspect error examples, fallback ownership, confidence criteria, retry budgets and escalation permissions. Situation: A claims assistant receives a damaged PDF and invents missing amounts rather than requesting clarification.

D:

Inspect data classifications, regional restrictions, throughput forecasts, connectivity and approval records. This evidence is useful for Infrastructure and data residency discovery but would not isolate the primary failure in this scenario. The decisive check is: Inspect error examples, fallback ownership, confidence criteria, retry budgets and escalation permissions. Situation: A claims assistant receives a damaged PDF and invents missing amounts rather than requesting clarification.

Question 781

A coding agent can run unit tests unattended but needs approval before rotating production service keys. Which development or architectural response BEST addresses the primary requirement?

  1. Evaluate Strands, LangGraph or PydanticAI based on state semantics, async execution, graph control and deployment needs, rather than picking a framework by popularity.
  2. Define explicit success checks, maximum tool iterations, spending limits, and stop/escalation reasons before running a goal-directed loop.
  3. Select an agent tool-use loop for branching information needs while retaining a fixed chain for stable transformation sequences and explicit checkpoints.
  4. Allow an agent to gather and propose reversible actions, but require human authorization before irreversible payments, data deletion, or permission changes.

Explanation

Correct Answer

D:

Allow an agent to gather and propose reversible actions, but require human authorization before irreversible payments, data deletion, or permission changes. Model confidence is not authorization; human approval and server-side policy gates are distinct controls. Verify the prerequisites with: Inspect action reversibility, policy impact, approval identity, authorized tool scope, and rollback feasibility. Situation: A coding agent can run unit tests unattended but needs approval before rotating production service keys.

Incorrect Answers

A:

Evaluate Strands, LangGraph or PydanticAI based on state semantics, async execution, graph control and deployment needs, rather than picking a framework by popularity. This response is designed for Agent framework selection and abstraction leaks; it is not the controlling fix in the situation. Framework selection should follow control-flow and lifecycle requirements; a named framework does not inherently ensure safety or correctness. Here the targeted response is: Allow an agent to gather and propose reversible actions, but require human authorization before irreversible payments, data deletion, or permission changes. Situation: A coding agent can run unit tests unattended but needs approval before rotating production service keys.

B:

Define explicit success checks, maximum tool iterations, spending limits, and stop/escalation reasons before running a goal-directed loop. This response is designed for Agent state and stopping criteria; it is not the controlling fix in the situation. Open-ended loops require observable termination conditions; an assistant saying done is not proof of the external state. Here the targeted response is: Allow an agent to gather and propose reversible actions, but require human authorization before irreversible payments, data deletion, or permission changes. Situation: A coding agent can run unit tests unattended but needs approval before rotating production service keys.

C:

Select an agent tool-use loop for branching information needs while retaining a fixed chain for stable transformation sequences and explicit checkpoints. This response is designed for Tool-use pattern versus fixed chain; it is not the controlling fix in the situation. Framework abstractions are not a replacement for understanding where control flow, tool execution and state reside. Here the targeted response is: Allow an agent to gather and propose reversible actions, but require human authorization before irreversible payments, data deletion, or permission changes. Situation: A coding agent can run unit tests unattended but needs approval before rotating production service keys.

Question 782

A developer shares a successful local Claude call but the deployed service has no error handling or monitoring. Which development or architectural response BEST addresses the primary requirement?

  1. Use production traces and defect reports to identify whether observed failures require a model, tool, prompt, data or application fix.
  2. Consume Claude streaming events in order and reconstruct complete content including tool-use deltas, final stop status and usage metadata before committing actions.
  3. Move from a prompt demo to a controlled release using requirements traceability, staged environments, integration tests and operational acceptance.
  4. Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries.

Explanation

Correct Answer

C:

Move from a prompt demo to a controlled release using requirements traceability, staged environments, integration tests and operational acceptance. A persuasive demo is not production reliability; deployment lifecycle gates must check external effects and recovery paths. Verify the prerequisites with: Inspect repository state, acceptance suite, environment configuration, rollback steps and service owners. Situation: A developer shares a successful local Claude call but the deployed service has no error handling or monitoring.

Incorrect Answers

A:

Use production traces and defect reports to identify whether observed failures require a model, tool, prompt, data or application fix. This response is designed for Postrelease incident feedback and defect triage; it is not the controlling fix in the situation. Changing a prompt for every symptom can conceal faults in transport, authorization or business logic. Here the targeted response is: Move from a prompt demo to a controlled release using requirements traceability, staged environments, integration tests and operational acceptance. Situation: A developer shares a successful local Claude call but the deployed service has no error handling or monitoring.

B:

Consume Claude streaming events in order and reconstruct complete content including tool-use deltas, final stop status and usage metadata before committing actions. This response is designed for Server-sent events streaming and reconstruction; it is not the controlling fix in the situation. SSE chunks are not independent complete objects; partial tool input and text must be buffered until their blocks finish. Here the targeted response is: Move from a prompt demo to a controlled release using requirements traceability, staged environments, integration tests and operational acceptance. Situation: A developer shares a successful local Claude call but the deployed service has no error handling or monitoring.

D:

Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. This response is designed for Input validation and adversarial boundary testing; it is not the controlling fix in the situation. External text belongs to a lower trust tier than application instructions even when placed in the same model context. Here the targeted response is: Move from a prompt demo to a controlled release using requirements traceability, staged environments, integration tests and operational acceptance. Situation: A developer shares a successful local Claude call but the deployed service has no error handling or monitoring.

Question 783

A refactor moves input validation into an isolated function but accidentally bypasses it for streaming responses. Which development or architectural response BEST addresses the primary requirement?

  1. Define a provider adapter and verify what features are supported when routing Claude through another hosting platform rather than assuming endpoint and token behavior match.
  2. Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler.
  3. Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content.
  4. Keep credentials out of commits and logs, minimize dependency attack surface and use tested configurations across dev, staging and production.

Explanation

Correct Answer

B:

Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler. Modular boundaries make behavioral tests reliable and limit unintended effects from model-oriented code. Verify the prerequisites with: Inspect module boundaries, unit-test seams, shared mutable state, transport mocks and error translation. Situation: A refactor moves input validation into an isolated function but accidentally bypasses it for streaming responses.

Incorrect Answers

A:

Define a provider adapter and verify what features are supported when routing Claude through another hosting platform rather than assuming endpoint and token behavior match. This response is designed for Multi-provider boundary and API compatibility; it is not the controlling fix in the situation. Third-party hosts may expose Claude with provider-specific configuration; transport compatibility is not feature parity. Here the targeted response is: Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler. Situation: A refactor moves input validation into an isolated function but accidentally bypasses it for streaming responses.

C:

Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content. This response is designed for Message stop reasons and continuation states; it is not the controlling fix in the situation. A response can end because of a tool call or token limit; neither automatically implies a complete answer. Here the targeted response is: Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler. Situation: A refactor moves input validation into an isolated function but accidentally bypasses it for streaming responses.

D:

Keep credentials out of commits and logs, minimize dependency attack surface and use tested configurations across dev, staging and production. This response is designed for Secret and dependency hygiene in development; it is not the controlling fix in the situation. A working local prototype is not secure when its dependencies and credentials cannot be reviewed or rotated. Here the targeted response is: Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler. Situation: A refactor moves input validation into an isolated function but accidentally bypasses it for streaming responses.

Question 784

A nested response contains a valid object but the required record identifier is an empty string. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use.
  2. Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler.
  3. Inspect error examples, fallback ownership, confidence criteria, retry budgets and escalation permissions.
  4. The chosen deployment meets documented region, security, capacity and availability requirements under representative load.
  5. Inspect parser exceptions, structural schema, optional fields, encoding and validation error handling.

Explanation

Correct Answers

A:

Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. Syntactically valid JSON may still violate business constraints; validation must extend beyond parsing. Verify the prerequisites with: Inspect parser exceptions, structural schema, optional fields, encoding and validation error handling. Situation: A nested response contains a valid object but the required record identifier is an empty string.

E:

Inspect parser exceptions, structural schema, optional fields, encoding and validation error handling. Syntactically valid JSON may still violate business constraints; validation must extend beyond parsing. The appropriate response is: Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. Situation: A nested response contains a valid object but the required record identifier is an empty string.

Incorrect Answers

B:

Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler. This step may apply to Refactoring and separation of concerns but is not one of the two required complementary decisions. The relevant pair is: Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. and Inspect parser exceptions, structural schema, optional fields, encoding and validation error handling. Situation: A nested response contains a valid object but the required record identifier is an empty string.

C:

Inspect error examples, fallback ownership, confidence criteria, retry budgets and escalation permissions. This step may apply to Workflow exception mapping and escalation design but is not one of the two required complementary decisions. The relevant pair is: Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. and Inspect parser exceptions, structural schema, optional fields, encoding and validation error handling. Situation: A nested response contains a valid object but the required record identifier is an empty string.

D:

The chosen deployment meets documented region, security, capacity and availability requirements under representative load. This step may apply to Infrastructure and data residency discovery but is not one of the two required complementary decisions. The relevant pair is: Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. and Inspect parser exceptions, structural schema, optional fields, encoding and validation error handling. Situation: A nested response contains a valid object but the required record identifier is an empty string.

Question 785

A customer-facing API returns max_tokens during a JSON response and a parser silently accepts the truncated object. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect required automation, tool access, user interaction, authentication and supported feature set of each surface.
  2. Inspect connector permission grants, expiry, linked accounts, audit logs and error responses.
  3. Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy.
  4. Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides.

Explanation

Correct Answer

C:

Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy. A response can end because of a tool call or token limit; neither automatically implies a complete answer. The appropriate response is: Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content. Situation: A customer-facing API returns max_tokens during a JSON response and a parser silently accepts the truncated object.

Incorrect Answers

A:

Inspect required automation, tool access, user interaction, authentication and supported feature set of each surface. This evidence is useful for Deployment surface selection and capabilities but would not isolate the primary failure in this scenario. The decisive check is: Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy. Situation: A customer-facing API returns max_tokens during a JSON response and a parser silently accepts the truncated object.

B:

Inspect connector permission grants, expiry, linked accounts, audit logs and error responses. This evidence is useful for Plugin and external connector permission lifecycle but would not isolate the primary failure in this scenario. The decisive check is: Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy. Situation: A customer-facing API returns max_tokens during a JSON response and a parser silently accepts the truncated object.

D:

Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides. This evidence is useful for Environment and permission settings.json controls but would not isolate the primary failure in this scenario. The decisive check is: Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy. Situation: A customer-facing API returns max_tokens during a JSON response and a parser silently accepts the truncated object.

Question 786

A user asks about today's configuration but a search index returns a retired service specification. Which development or architectural response BEST addresses the primary requirement?

  1. Place durable application rules in the appropriate high-priority instruction layer and preserve user requests and documents as lower-trust inputs.
  2. Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts.
  3. Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions.
  4. Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current.

Explanation

Correct Answer

D:

Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current. RAG retrieval quality and authority are separate: a high similarity score cannot validate permission or recency. Verify the prerequisites with: Inspect document version, access rights, retrieval scores, timestamps and underlying source span. Situation: A user asks about today's configuration but a search index returns a retired service specification.

Incorrect Answers

A:

Place durable application rules in the appropriate high-priority instruction layer and preserve user requests and documents as lower-trust inputs. This response is designed for Clear instruction priority and role separation; it is not the controlling fix in the situation. A malicious quotation or retrieved note cannot legitimately replace the developer's system policy. Here the targeted response is: Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current. Situation: A user asks about today's configuration but a search index returns a retired service specification.

B:

Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts. This response is designed for Context-window prioritization and tool-output pruning; it is not the controlling fix in the situation. Context engineering is active selection, not dumping all source material; losing key constraints during pruning can be as harmful as overflow. Here the targeted response is: Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current. Situation: A user asks about today's configuration but a search index returns a retired service specification.

C:

Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions. This response is designed for Compaction with source-linked summaries; it is not the controlling fix in the situation. A concise summary must preserve operational identity and decision history; compacting away constraints can cause expensive redo. Here the targeted response is: Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current. Situation: A user asks about today's configuration but a search index returns a retired service specification.

Question 787

A third-party service outage returns an HTML error page that the agent mistakenly parses as approved account data. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Valid tool calls execute once with authorized typed arguments, while malformed or unauthorized requests are rejected and explained.
  2. Register third-party capabilities with explicit scopes, user consent, revocation and fail-closed behavior when integrations are unavailable.
  3. Place stable reusable prefix content before varying user material, use cache controls appropriately and monitor token accounting and hit rates.
  4. Inspect repository diffs, test reports, secrets scanning, dependency lockfiles and reviewer decisions.
  5. Inspect connector permission grants, expiry, linked accounts, audit logs and error responses.

Explanation

Correct Answers

B:

Register third-party capabilities with explicit scopes, user consent, revocation and fail-closed behavior when integrations are unavailable. A plugin name is not authorization to act; external capabilities require independent identity and scope checks. Verify the prerequisites with: Inspect connector permission grants, expiry, linked accounts, audit logs and error responses. Situation: A third-party service outage returns an HTML error page that the agent mistakenly parses as approved account data.

E:

Inspect connector permission grants, expiry, linked accounts, audit logs and error responses. A plugin name is not authorization to act; external capabilities require independent identity and scope checks. The appropriate response is: Register third-party capabilities with explicit scopes, user consent, revocation and fail-closed behavior when integrations are unavailable. Situation: A third-party service outage returns an HTML error page that the agent mistakenly parses as approved account data.

Incorrect Answers

A:

Valid tool calls execute once with authorized typed arguments, while malformed or unauthorized requests are rejected and explained. 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: Register third-party capabilities with explicit scopes, user consent, revocation and fail-closed behavior when integrations are unavailable. and Inspect connector permission grants, expiry, linked accounts, audit logs and error responses. Situation: A third-party service outage returns an HTML error page that the agent mistakenly parses as approved account data.

C:

Place stable reusable prefix content before varying user material, use cache controls appropriately and monitor token accounting and hit rates. This step may apply to Prompt caching placement and invalidation but is not one of the two required complementary decisions. The relevant pair is: Register third-party capabilities with explicit scopes, user consent, revocation and fail-closed behavior when integrations are unavailable. and Inspect connector permission grants, expiry, linked accounts, audit logs and error responses. Situation: A third-party service outage returns an HTML error page that the agent mistakenly parses as approved account data.

D:

Inspect repository diffs, test reports, secrets scanning, dependency lockfiles and reviewer decisions. This step may apply to Version control and pull-request review but is not one of the two required complementary decisions. The relevant pair is: Register third-party capabilities with explicit scopes, user consent, revocation and fail-closed behavior when integrations are unavailable. and Inspect connector permission grants, expiry, linked accounts, audit logs and error responses. Situation: A third-party service outage returns an HTML error page that the agent mistakenly parses as approved account data.

Question 788

An existing Strands prototype cannot resume after a network interruption and the team must compare state-handling approaches. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect hook event type, exit codes, execution order, failure handling and independent policy enforcement.
  2. Inspect durable state, node transitions, error propagation, testability and runtime coupling.
  3. Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates.
  4. Inspect action reversibility, policy impact, approval identity, authorized tool scope, and rollback feasibility.

Explanation

Correct Answer

B:

Inspect durable state, node transitions, error propagation, testability and runtime coupling. Framework selection should follow control-flow and lifecycle requirements; a named framework does not inherently ensure safety or correctness. The appropriate response is: Evaluate Strands, LangGraph or PydanticAI based on state semantics, async execution, graph control and deployment needs, rather than picking a framework by popularity. Situation: An existing Strands prototype cannot resume after a network interruption and the team must compare state-handling approaches.

Incorrect Answers

A:

Inspect hook event type, exit codes, execution order, failure handling and independent policy enforcement. This evidence is useful for Hooks for non-model lifecycle actions but would not isolate the primary failure in this scenario. The decisive check is: Inspect durable state, node transitions, error propagation, testability and runtime coupling. Situation: An existing Strands prototype cannot resume after a network interruption and the team must compare state-handling approaches.

C:

Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates. This evidence is useful for Deterministic workflow versus autonomous agent but would not isolate the primary failure in this scenario. The decisive check is: Inspect durable state, node transitions, error propagation, testability and runtime coupling. Situation: An existing Strands prototype cannot resume after a network interruption and the team must compare state-handling approaches.

D:

Inspect action reversibility, policy impact, approval identity, authorized tool scope, and rollback feasibility. This evidence is useful for Agent autonomy and human approval boundary but would not isolate the primary failure in this scenario. The decisive check is: Inspect durable state, node transitions, error propagation, testability and runtime coupling. Situation: An existing Strands prototype cannot resume after a network interruption and the team must compare state-handling approaches.

Question 789

A fan-out document processor writes results in completion order rather than matching each source identifier. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Track application and prompt changes through reviewed commits, reproducible dependency locks and focused pull requests with passing tests.
  2. Inspect connector permission grants, expiry, linked accounts, audit logs and error responses.
  3. Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs.
  4. Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work.
  5. A completed stream reconstructs the same logical response as a nonstreamed call, and interruptions do not produce phantom tool calls.

Explanation

Correct Answers

C:

Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. Concurrency improves throughput only when external quotas and task dependencies are respected. The appropriate response is: Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work. Situation: A fan-out document processor writes results in completion order rather than matching each source identifier.

D:

Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work. Concurrency improves throughput only when external quotas and task dependencies are respected. Verify the prerequisites with: Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. Situation: A fan-out document processor writes results in completion order rather than matching each source identifier.

Incorrect Answers

A:

Track application and prompt changes through reviewed commits, reproducible dependency locks and focused pull requests with passing tests. This step may apply to Version control and pull-request review but is not one of the two required complementary decisions. The relevant pair is: Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work. and Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. Situation: A fan-out document processor writes results in completion order rather than matching each source identifier.

B:

Inspect connector permission grants, expiry, linked accounts, audit logs and error responses. This step may apply to Plugin and external connector permission lifecycle but is not one of the two required complementary decisions. The relevant pair is: Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work. and Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. Situation: A fan-out document processor writes results in completion order rather than matching each source identifier.

E:

A completed stream reconstructs the same logical response as a nonstreamed call, and interruptions do not produce phantom tool calls. This step may apply to Server-sent events streaming and reconstruction but is not one of the two required complementary decisions. The relevant pair is: Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work. and Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. Situation: A fan-out document processor writes results in completion order rather than matching each source identifier.

Question 790

A source-code comment masquerades as a developer message and asks a coding agent to disable tests. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output.
  2. Inspect role grants, action allowlist, dangerous effects, approval records and network egress.
  3. Destructive operations require a recorded approval and a verified post-change state, while rejected requests cause no effect.
  4. Inspect source provenance, attempted instruction overrides, requested actions, tool grants and policy audit outcomes.
  5. Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt.

Explanation

Correct Answers

D:

Inspect source provenance, attempted instruction overrides, requested actions, tool grants and policy audit outcomes. Prompt injection is a trust-boundary failure when untrusted material is promoted into controlling instructions. The appropriate response is: Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt. Situation: A source-code comment masquerades as a developer message and asks a coding agent to disable tests.

E:

Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt. Prompt injection is a trust-boundary failure when untrusted material is promoted into controlling instructions. Verify the prerequisites with: Inspect source provenance, attempted instruction overrides, requested actions, tool grants and policy audit outcomes. Situation: A source-code comment masquerades as a developer message and asks a coding agent to disable tests.

Incorrect Answers

A:

Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. This step may apply to Jailbreak and untrusted user instruction handling but is not one of the two required complementary decisions. The relevant pair is: Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt. and Inspect source provenance, attempted instruction overrides, requested actions, tool grants and policy audit outcomes. Situation: A source-code comment masquerades as a developer message and asks a coding agent to disable tests.

B:

Inspect role grants, action allowlist, dangerous effects, approval records and network egress. This step may apply to Defense-in-depth guardrails around agent tools but is not one of the two required complementary decisions. The relevant pair is: Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt. and Inspect source provenance, attempted instruction overrides, requested actions, tool grants and policy audit outcomes. Situation: A source-code comment masquerades as a developer message and asks a coding agent to disable tests.

C:

Destructive operations require a recorded approval and a verified post-change state, while rejected requests cause no effect. This step may apply to Human-in-the-loop release controls and rollback but is not one of the two required complementary decisions. The relevant pair is: Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt. and Inspect source provenance, attempted instruction overrides, requested actions, tool grants and policy audit outcomes. Situation: A source-code comment masquerades as a developer message and asks a coding agent to disable tests.

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