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 4

Question 30

A customer-facing API returns max_tokens during a JSON response and a parser silently accepts the truncated object. Which development or architectural response BEST addresses the primary requirement?

  1. Keep each user's messages, tool outputs, cached context and temporary artifacts scoped to their authenticated session or tenant.
  2. Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work.
  3. Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content.
  4. Construct Messages API requests with the system parameter, correctly typed user/assistant messages and ordered content blocks instead of assuming a generic chat log format.

Explanation

Correct Answer

C:

Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content. A response can end because of a tool call or token limit; neither automatically implies a complete answer. Verify the prerequisites with: 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.

Incorrect Answers

A:

Keep each user's messages, tool outputs, cached context and temporary artifacts scoped to their authenticated session or tenant. This response is designed for Session and user context isolation; it is not the controlling fix in the situation. Context isolation is a server concern; asking the model to ignore other tenants cannot fix mixed application state. Here the targeted 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.

B:

Use bounded asynchronous requests with cancellation, per-call timeouts and consistent result indexing instead of launching uncontrolled concurrent work. This response is designed for Async Python and TypeScript concurrency; it is not the controlling fix in the situation. Concurrency improves throughput only when external quotas and task dependencies are respected. Here the targeted 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.

D:

Construct Messages API requests with the system parameter, correctly typed user/assistant messages and ordered content blocks instead of assuming a generic chat log format. This response is designed for Messages API role and content structure; it is not the controlling fix in the situation. The Claude Messages API has explicit message/content schema; inventing roles or losing block order can alter behavior or cause errors. Here the targeted 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.

Question 31

An engineer wants to resume a paused developer agent without recreating all permitted task context. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. A completed task ends after a verified result; repeated failed calls terminate with an actionable diagnosis instead of looping.
  2. Inspect available tool registrations, session identifiers, permissions, turn events, and tool-result provenance.
  3. Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates.
  4. Build an Agent SDK workflow using explicitly authorized tools, controlled session state and inspected execution events rather than treating the SDK as automatic policy enforcement.
  5. Implement an application-controlled message/tool loop that checks stop_reason, executes only requested permitted tools, appends tool_result messages and continues until a valid terminal state.

Explanation

Correct Answers

B:

Inspect available tool registrations, session identifiers, permissions, turn events, and tool-result provenance. An Agent SDK manages orchestration plumbing but developers still own tool authorization, state scope, and failure handling. The appropriate response is: Build an Agent SDK workflow using explicitly authorized tools, controlled session state and inspected execution events rather than treating the SDK as automatic policy enforcement. Situation: An engineer wants to resume a paused developer agent without recreating all permitted task context.

D:

Build an Agent SDK workflow using explicitly authorized tools, controlled session state and inspected execution events rather than treating the SDK as automatic policy enforcement. An Agent SDK manages orchestration plumbing but developers still own tool authorization, state scope, and failure handling. Verify the prerequisites with: Inspect available tool registrations, session identifiers, permissions, turn events, and tool-result provenance. Situation: An engineer wants to resume a paused developer agent without recreating all permitted task context.

Incorrect Answers

A:

A completed task ends after a verified result; repeated failed calls terminate with an actionable diagnosis instead of looping. This step may apply to Agent state and stopping criteria but is not one of the two required complementary decisions. The relevant pair is: Build an Agent SDK workflow using explicitly authorized tools, controlled session state and inspected execution events rather than treating the SDK as automatic policy enforcement. and Inspect available tool registrations, session identifiers, permissions, turn events, and tool-result provenance. Situation: An engineer wants to resume a paused developer agent without recreating all permitted task context.

C:

Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates. This step may apply to Deterministic workflow versus autonomous agent but is not one of the two required complementary decisions. The relevant pair is: Build an Agent SDK workflow using explicitly authorized tools, controlled session state and inspected execution events rather than treating the SDK as automatic policy enforcement. and Inspect available tool registrations, session identifiers, permissions, turn events, and tool-result provenance. Situation: An engineer wants to resume a paused developer agent without recreating all permitted task context.

E:

Implement an application-controlled message/tool loop that checks stop_reason, executes only requested permitted tools, appends tool_result messages and continues until a valid terminal state. This step may apply to Custom agent loop and stop reason handling but is not one of the two required complementary decisions. The relevant pair is: Build an Agent SDK workflow using explicitly authorized tools, controlled session state and inspected execution events rather than treating the SDK as automatic policy enforcement. and Inspect available tool registrations, session identifiers, permissions, turn events, and tool-result provenance. Situation: An engineer wants to resume a paused developer agent without recreating all permitted task context.

Question 32

An application appends an image block as plain JSON text rather than the expected typed content block. Which development or architectural response BEST addresses the primary requirement?

  1. Construct Messages API requests with the system parameter, correctly typed user/assistant messages and ordered content blocks instead of assuming a generic chat log format.
  2. Use production traces and defect reports to identify whether observed failures require a model, tool, prompt, data or application fix.
  3. 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.
  4. Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler.

Explanation

Correct Answer

A:

Construct Messages API requests with the system parameter, correctly typed user/assistant messages and ordered content blocks instead of assuming a generic chat log format. The Claude Messages API has explicit message/content schema; inventing roles or losing block order can alter behavior or cause errors. Verify the prerequisites with: Inspect roles, content block types, API schema versions, authentication headers and message ordering. Situation: An application appends an image block as plain JSON text rather than the expected typed content block.

Incorrect Answers

B:

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: Construct Messages API requests with the system parameter, correctly typed user/assistant messages and ordered content blocks instead of assuming a generic chat log format. Situation: An application appends an image block as plain JSON text rather than the expected typed content block.

C:

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: Construct Messages API requests with the system parameter, correctly typed user/assistant messages and ordered content blocks instead of assuming a generic chat log format. Situation: An application appends an image block as plain JSON text rather than the expected typed content block.

D:

Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler. This response is designed for Refactoring and separation of concerns; it is not the controlling fix in the situation. Modular boundaries make behavioral tests reliable and limit unintended effects from model-oriented code. Here the targeted response is: Construct Messages API requests with the system parameter, correctly typed user/assistant messages and ordered content blocks instead of assuming a generic chat log format. Situation: An application appends an image block as plain JSON text rather than the expected typed content block.

Question 33

A backend deploy moves from Sonnet to another tier through a floating alias without running regression tests. Which development or architectural response BEST addresses the primary requirement?

  1. Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results.
  2. Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries.
  3. 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.
  4. Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults.

Explanation

Correct Answer

D:

Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults. Model version shifts can affect outputs and tool decisions; reproducibility requires recording both code and prompt state. Verify the prerequisites with: Inspect release config, model identifier, prompt revision, evaluation baseline, and rollback identifiers. Situation: A backend deploy moves from Sonnet to another tier through a floating alias without running regression tests.

Incorrect Answers

A:

Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results. This response is designed for Iterative delivery and change management; it is not the controlling fix in the situation. Prompts and tool schemas are production behavior artifacts and need review comparable to ordinary code. Here the targeted response is: Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults. Situation: A backend deploy moves from Sonnet to another tier through a floating alias without running regression tests.

B:

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: Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults. Situation: A backend deploy moves from Sonnet to another tier through a floating alias without running regression tests.

C:

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: Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults. Situation: A backend deploy moves from Sonnet to another tier through a floating alias without running regression tests.

Question 34

A pre-tool hook rejects writes outside the repository but an unrelated preview command should still execute. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Build an Agent SDK workflow using explicitly authorized tools, controlled session state and inspected execution events rather than treating the SDK as automatic policy enforcement.
  2. A completed task ends after a verified result; repeated failed calls terminate with an actionable diagnosis instead of looping.
  3. Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates.
  4. Use deterministic lifecycle hooks for mandatory logging, validation and policy checks instead of relying on a prompt asking the model to remember them.
  5. Inspect hook event type, exit codes, execution order, failure handling and independent policy enforcement.

Explanation

Correct Answers

D:

Use deterministic lifecycle hooks for mandatory logging, validation and policy checks instead of relying on a prompt asking the model to remember them. Deterministic hooks are reliable for guardrails only when placed on the relevant execution path with fail-closed semantics. Verify the prerequisites with: Inspect hook event type, exit codes, execution order, failure handling and independent policy enforcement. Situation: A pre-tool hook rejects writes outside the repository but an unrelated preview command should still execute.

E:

Inspect hook event type, exit codes, execution order, failure handling and independent policy enforcement. Deterministic hooks are reliable for guardrails only when placed on the relevant execution path with fail-closed semantics. The appropriate response is: Use deterministic lifecycle hooks for mandatory logging, validation and policy checks instead of relying on a prompt asking the model to remember them. Situation: A pre-tool hook rejects writes outside the repository but an unrelated preview command should still execute.

Incorrect Answers

A:

Build an Agent SDK workflow using explicitly authorized tools, controlled session state and inspected execution events rather than treating the SDK as automatic policy enforcement. This step may apply to Claude Agent SDK session and tool boundaries but is not one of the two required complementary decisions. The relevant pair is: Use deterministic lifecycle hooks for mandatory logging, validation and policy checks instead of relying on a prompt asking the model to remember them. and Inspect hook event type, exit codes, execution order, failure handling and independent policy enforcement. Situation: A pre-tool hook rejects writes outside the repository but an unrelated preview command should still execute.

B:

A completed task ends after a verified result; repeated failed calls terminate with an actionable diagnosis instead of looping. This step may apply to Agent state and stopping criteria but is not one of the two required complementary decisions. The relevant pair is: Use deterministic lifecycle hooks for mandatory logging, validation and policy checks instead of relying on a prompt asking the model to remember them. and Inspect hook event type, exit codes, execution order, failure handling and independent policy enforcement. Situation: A pre-tool hook rejects writes outside the repository but an unrelated preview command should still execute.

C:

Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates. This step may apply to Deterministic workflow versus autonomous agent but is not one of the two required complementary decisions. The relevant pair is: Use deterministic lifecycle hooks for mandatory logging, validation and policy checks instead of relying on a prompt asking the model to remember them. and Inspect hook event type, exit codes, execution order, failure handling and independent policy enforcement. Situation: A pre-tool hook rejects writes outside the repository but an unrelated preview command should still execute.

Question 35

A report-writing agent queries CRM and support tickets but should not be able to modify customer billing accounts. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution.
  2. Inspect requested verb, scope, authorized user, resource ownership and approval status.
  3. Inspect skill manifest, invocation criteria, included files, expected outputs and versioning.
  4. Inspect tool names, descriptions, required fields, types, enum values, and example misuse.

Explanation

Correct Answer

A:

Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution. Orchestration may select tools dynamically but service-side authorization and result verification remain nondelegable. The appropriate response is: Give an agent only the MCP capabilities needed for each task, distinguish retrieval from changes and verify all external outcomes. Situation: A report-writing agent queries CRM and support tickets but should not be able to modify customer billing accounts.

Incorrect Answers

B:

Inspect requested verb, scope, authorized user, resource ownership and approval status. This evidence is useful for Tool approval and side-effect gating but would not isolate the primary failure in this scenario. The decisive check is: Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution. Situation: A report-writing agent queries CRM and support tickets but should not be able to modify customer billing accounts.

C:

Inspect skill manifest, invocation criteria, included files, expected outputs and versioning. This evidence is useful for Skills as reusable operational procedures but would not isolate the primary failure in this scenario. The decisive check is: Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution. Situation: A report-writing agent queries CRM and support tickets but should not be able to modify customer billing accounts.

D:

Inspect tool names, descriptions, required fields, types, enum values, and example misuse. This evidence is useful for Tool description and schema clarity but would not isolate the primary failure in this scenario. The decisive check is: Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution. Situation: A report-writing agent queries CRM and support tickets but should not be able to modify customer billing accounts.

Question 36

A support bot omits refund policy exceptions and the team adjusts style instructions rather than missing evidence. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results.
  2. Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements.
  3. Inspect summary coverage, lost identifiers, source availability and previous approved constraints.
  4. Inspect baseline metrics, evaluation inputs, observed errors and parameter changes.

Explanation

Correct Answer

D:

Inspect baseline metrics, evaluation inputs, observed errors and parameter changes. Prompt iteration without controlled comparisons can overfit one anecdote and hide regressions. The appropriate response is: Use specific failed examples and evaluation metrics to refine prompts one change at a time, distinguishing prompt defects from software defects. Situation: A support bot omits refund policy exceptions and the team adjusts style instructions rather than missing evidence.

Incorrect Answers

A:

Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results. This evidence is useful for Subagent context partitioning and evidence handoff but would not isolate the primary failure in this scenario. The decisive check is: Inspect baseline metrics, evaluation inputs, observed errors and parameter changes. Situation: A support bot omits refund policy exceptions and the team adjusts style instructions rather than missing evidence.

B:

Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements. This evidence is useful for Context-window prioritization and tool-output pruning but would not isolate the primary failure in this scenario. The decisive check is: Inspect baseline metrics, evaluation inputs, observed errors and parameter changes. Situation: A support bot omits refund policy exceptions and the team adjusts style instructions rather than missing evidence.

C:

Inspect summary coverage, lost identifiers, source availability and previous approved constraints. This evidence is useful for Compaction with source-linked summaries but would not isolate the primary failure in this scenario. The decisive check is: Inspect baseline metrics, evaluation inputs, observed errors and parameter changes. Situation: A support bot omits refund policy exceptions and the team adjusts style instructions rather than missing evidence.

Question 37

A dashboard gives up after five seconds but the backend continues processing and charges for unused output. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect timing traces, connection phase, server responses, client cancellation and retry idempotency.
  2. Inspect SDK changelog, provider adapter, model capability flags, API version and feature-gate failures.
  3. Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs.
  4. Inspect error cases, example coverage, instruction conflicts and token overhead.

Explanation

Correct Answer

A:

Inspect timing traces, connection phase, server responses, client cancellation and retry idempotency. Network reliability must be engineered around the API; a slow response is not proof that the model is ignoring instructions. The appropriate response is: Configure connection and read timeouts, retry budgets and cancellation so slow models and broken connections do not occupy server workers forever. Situation: A dashboard gives up after five seconds but the backend continues processing and charges for unused output.

Incorrect Answers

B:

Inspect SDK changelog, provider adapter, model capability flags, API version and feature-gate failures. This evidence is useful for Client library and provider compatibility but would not isolate the primary failure in this scenario. The decisive check is: Inspect timing traces, connection phase, server responses, client cancellation and retry idempotency. Situation: A dashboard gives up after five seconds but the backend continues processing and charges for unused output.

C:

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 timing traces, connection phase, server responses, client cancellation and retry idempotency. Situation: A dashboard gives up after five seconds but the backend continues processing and charges for unused output.

D:

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 timing traces, connection phase, server responses, client cancellation and retry idempotency. Situation: A dashboard gives up after five seconds but the backend continues processing and charges for unused output.

Question 38

A browser-only demo ships a live Anthropic API key as a JavaScript constant. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Only authorized minimum details reach the endpoint and returned text avoids sensitive fields not needed for the task.
  2. Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs.
  3. Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles.
  4. Inspect credential location, granted scope, rotation status, access logs and accidental leakage.
  5. Apply authenticated tenant identity and fine-grained resource permissions to every retrieval and tool action, including agent memory and MCP backends.

Explanation

Correct Answers

C:

Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles. A model cannot keep credentials safe if the application includes them in untrusted context or public client code. Verify the prerequisites with: Inspect credential location, granted scope, rotation status, access logs and accidental leakage. Situation: A browser-only demo ships a live Anthropic API key as a JavaScript constant.

D:

Inspect credential location, granted scope, rotation status, access logs and accidental leakage. A model cannot keep credentials safe if the application includes them in untrusted context or public client code. The appropriate response is: Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles. Situation: A browser-only demo ships a live Anthropic API key as a JavaScript constant.

Incorrect Answers

A:

Only authorized minimum details reach the endpoint and returned text avoids sensitive fields not needed for the task. This step may apply to PII minimization and output privacy but is not one of the two required complementary decisions. The relevant pair is: Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles. and Inspect credential location, granted scope, rotation status, access logs and accidental leakage. Situation: A browser-only demo ships a live Anthropic API key as a JavaScript constant.

B:

Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. 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: Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles. and Inspect credential location, granted scope, rotation status, access logs and accidental leakage. Situation: A browser-only demo ships a live Anthropic API key as a JavaScript constant.

E:

Apply authenticated tenant identity and fine-grained resource permissions to every retrieval and tool action, including agent memory and MCP backends. This step may apply to Tenant identity and delegated resource authorization but is not one of the two required complementary decisions. The relevant pair is: Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles. and Inspect credential location, granted scope, rotation status, access logs and accidental leakage. Situation: A browser-only demo ships a live Anthropic API key as a JavaScript constant.

Question 39

A document analyst carries obsolete draft paragraphs that conflict with the final approved contract version. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Inspect summary coverage, lost identifiers, source availability and previous approved constraints.
  2. Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements.
  3. Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current.
  4. The answer identifies what evidence supports each conclusion and labels remaining uncertainties without inventing missing facts.
  5. Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts.

Explanation

Correct Answers

B:

Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements. Context engineering is active selection, not dumping all source material; losing key constraints during pruning can be as harmful as overflow. The appropriate response is: Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts. Situation: A document analyst carries obsolete draft paragraphs that conflict with the final approved contract version.

E:

Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts. Context engineering is active selection, not dumping all source material; losing key constraints during pruning can be as harmful as overflow. Verify the prerequisites with: Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements. Situation: A document analyst carries obsolete draft paragraphs that conflict with the final approved contract version.

Incorrect Answers

A:

Inspect summary coverage, lost identifiers, source availability and previous approved constraints. This step may apply to Compaction with source-linked summaries but is not one of the two required complementary decisions. The relevant pair is: Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts. and Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements. Situation: A document analyst carries obsolete draft paragraphs that conflict with the final approved contract version.

C:

Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current. This step may apply to Retrieval and source freshness discipline but is not one of the two required complementary decisions. The relevant pair is: Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts. and Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements. Situation: A document analyst carries obsolete draft paragraphs that conflict with the final approved contract version.

D:

The answer identifies what evidence supports each conclusion and labels remaining uncertainties without inventing missing facts. This step may apply to Evidence skepticism and uncertainty handling but is not one of the two required complementary decisions. The relevant pair is: Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts. and Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements. Situation: A document analyst carries obsolete draft paragraphs that conflict with the final approved contract version.

Question 40

An agent uses one shared service credential and unintentionally sends another tenant's analytics report. Which observed result BEST demonstrates the requirement has been satisfied?

  1. Refused unsafe operations remain blocked even when the prompt contains fake authority or threat-based persuasion.
  2. Cross-tenant access fails regardless of prompt wording or model-generated resource identifiers.
  3. Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed.
  4. Revoked secrets stop working while authorized services continue under rotated credentials without revealing them to users.

Explanation

Correct Answer

B:

Cross-tenant access fails regardless of prompt wording or model-generated resource identifiers. Identity boundary enforcement belongs to the system of record; a model's assertion of access is insufficient. Situation: An agent uses one shared service credential and unintentionally sends another tenant's analytics report.

Incorrect Answers

A:

Refused unsafe operations remain blocked even when the prompt contains fake authority or threat-based persuasion. This result tests Jailbreak and untrusted user instruction handling, not the requirement demonstrated by this case. The relevant acceptance condition is: Cross-tenant access fails regardless of prompt wording or model-generated resource identifiers. Situation: An agent uses one shared service credential and unintentionally sends another tenant's analytics report.

C:

Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed. This result tests Pre-tool hooks for destructive command interception, not the requirement demonstrated by this case. The relevant acceptance condition is: Cross-tenant access fails regardless of prompt wording or model-generated resource identifiers. Situation: An agent uses one shared service credential and unintentionally sends another tenant's analytics report.

D:

Revoked secrets stop working while authorized services continue under rotated credentials without revealing them to users. This result tests Secret storage and API-key rotation, not the requirement demonstrated by this case. The relevant acceptance condition is: Cross-tenant access fails regardless of prompt wording or model-generated resource identifiers. Situation: An agent uses one shared service credential and unintentionally sends another tenant's analytics report.

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