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 37

Question 360

A tool call targets a document ID from another organization after a search returns similarly named files. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Apply authenticated tenant identity and fine-grained resource permissions to every retrieval and tool action, including agent memory and MCP backends.
  2. Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles.
  3. Inspect user claims, tenant-bound resource IDs, delegated scopes, session context and enforcement failures.
  4. Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed.
  5. Inspect role grants, action allowlist, dangerous effects, approval records and network egress.

Explanation

Correct Answers

A:

Apply authenticated tenant identity and fine-grained resource permissions to every retrieval and tool action, including agent memory and MCP backends. Identity boundary enforcement belongs to the system of record; a model's assertion of access is insufficient. Verify the prerequisites with: Inspect user claims, tenant-bound resource IDs, delegated scopes, session context and enforcement failures. Situation: A tool call targets a document ID from another organization after a search returns similarly named files.

C:

Inspect user claims, tenant-bound resource IDs, delegated scopes, session context and enforcement failures. Identity boundary enforcement belongs to the system of record; a model's assertion of access is insufficient. The appropriate response is: Apply authenticated tenant identity and fine-grained resource permissions to every retrieval and tool action, including agent memory and MCP backends. Situation: A tool call targets a document ID from another organization after a search returns similarly named files.

Incorrect Answers

B:

Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles. This step may apply to Secret storage and API-key rotation but is not one of the two required complementary decisions. The relevant pair is: Apply authenticated tenant identity and fine-grained resource permissions to every retrieval and tool action, including agent memory and MCP backends. and Inspect user claims, tenant-bound resource IDs, delegated scopes, session context and enforcement failures. Situation: A tool call targets a document ID from another organization after a search returns similarly named files.

D:

Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed. This step may apply to Pre-tool hooks for destructive command interception but is not one of the two required complementary decisions. The relevant pair is: Apply authenticated tenant identity and fine-grained resource permissions to every retrieval and tool action, including agent memory and MCP backends. and Inspect user claims, tenant-bound resource IDs, delegated scopes, session context and enforcement failures. Situation: A tool call targets a document ID from another organization after a search returns similarly named files.

E:

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: Apply authenticated tenant identity and fine-grained resource permissions to every retrieval and tool action, including agent memory and MCP backends. and Inspect user claims, tenant-bound resource IDs, delegated scopes, session context and enforcement failures. Situation: A tool call targets a document ID from another organization after a search returns similarly named files.

Question 361

A headless coding assistant requests permission interactively and stalls an unattended workflow. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect CI secret scans, environment injection, package provenance, dependency vulnerabilities and access role assignments.
  2. Review outbound network rules, data location commitments, available runtimes, lifecycle ownership and observability needs.
  3. Inspect CLI invocation flags, machine-readable output, command exit status, changeset and test artifacts.
  4. Inspect image MIME types, resolution, source references, parser results and payload size limits.

Explanation

Correct Answer

C:

Inspect CLI invocation flags, machine-readable output, command exit status, changeset and test artifacts. A successful assistant narrative does not substitute for CI exit codes, repository diff inspection or actual tests. The appropriate 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.

Incorrect Answers

A:

Inspect CI secret scans, environment injection, package provenance, dependency vulnerabilities and access role assignments. This evidence is useful for Secret and dependency hygiene in development but would not isolate the primary failure in this scenario. The decisive check is: 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.

B:

Review outbound network rules, data location commitments, available runtimes, lifecycle ownership and observability needs. This evidence is useful for Self-hosted versus managed agent execution but would not isolate the primary failure in this scenario. The decisive check is: 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.

D:

Inspect image MIME types, resolution, source references, parser results and payload size limits. This evidence is useful for Vision and document input handling but would not isolate the primary failure in this scenario. The decisive check is: 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.

Question 362

An agent summarizes completed database migrations but forgets the one table explicitly excluded from transfer. 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. Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions.
  3. Use specific failed examples and evaluation metrics to refine prompts one change at a time, distinguishing prompt defects from software defects.
  4. Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts.

Explanation

Correct Answer

B:

Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions. A concise summary must preserve operational identity and decision history; compacting away constraints can cause expensive redo. Verify the prerequisites with: Inspect summary coverage, lost identifiers, source availability and previous approved constraints. Situation: An agent summarizes completed database migrations but forgets the one table explicitly excluded from transfer.

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: Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions. Situation: An agent summarizes completed database migrations but forgets the one table explicitly excluded from transfer.

C:

Use specific failed examples and evaluation metrics to refine prompts one change at a time, distinguishing prompt defects from software defects. This response is designed for Prompt iteration against reproducible failures; it is not the controlling fix in the situation. Prompt iteration without controlled comparisons can overfit one anecdote and hide regressions. Here the targeted response is: Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions. Situation: An agent summarizes completed database migrations but forgets the one table explicitly excluded from transfer.

D:

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: Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions. Situation: An agent summarizes completed database migrations but forgets the one table explicitly excluded from transfer.

Question 363

An incident assistant calls the same unavailable log tool thirty times and never reports an error. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect remaining budget, repeated action signatures, tool outcomes, success predicates, and escalation events.
  2. Inspect memory writes, expiration policy, sensitive fields, retrieval accuracy, and loss of decision-critical state during compaction.
  3. Inspect context token use, cross-task leakage, summary source pointers, and parent/subagent responsibilities.
  4. Review task boundaries, specialist access permissions, handoff records, output contracts, and escalation logic.

Explanation

Correct Answer

A:

Inspect remaining budget, repeated action signatures, tool outcomes, success predicates, and escalation events. Open-ended loops require observable termination conditions; an assistant saying done is not proof of the external state. The appropriate response is: Define explicit success checks, maximum tool iterations, spending limits, and stop/escalation reasons before running a goal-directed loop. Situation: An incident assistant calls the same unavailable log tool thirty times and never reports an error.

Incorrect Answers

B:

Inspect memory writes, expiration policy, sensitive fields, retrieval accuracy, and loss of decision-critical state during compaction. This evidence is useful for Agent long-term memory and compaction but would not isolate the primary failure in this scenario. The decisive check is: Inspect remaining budget, repeated action signatures, tool outcomes, success predicates, and escalation events. Situation: An incident assistant calls the same unavailable log tool thirty times and never reports an error.

C:

Inspect context token use, cross-task leakage, summary source pointers, and parent/subagent responsibilities. This evidence is useful for Subagent context isolation but would not isolate the primary failure in this scenario. The decisive check is: Inspect remaining budget, repeated action signatures, tool outcomes, success predicates, and escalation events. Situation: An incident assistant calls the same unavailable log tool thirty times and never reports an error.

D:

Review task boundaries, specialist access permissions, handoff records, output contracts, and escalation logic. This evidence is useful for Manager and specialist subagent task routing but would not isolate the primary failure in this scenario. The decisive check is: Inspect remaining budget, repeated action signatures, tool outcomes, success predicates, and escalation events. Situation: An incident assistant calls the same unavailable log tool thirty times and never reports an error.

Question 364

An internal taxonomy classifier calls a high-cost reasoning tier for every trivially labeled request. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. The selected prompt reaches accuracy thresholds without letting examples override policy constraints.
  2. Route low-risk common work to an efficient model while escalating ambiguous or high-stakes cases using validated criteria and preserving context boundaries.
  3. Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity.
  4. Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call.
  5. Inspect language runtime, SDK version, endpoint behavior, network middleware and response serialization.

Explanation

Correct Answers

C:

Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity. Model tiers offer different capability/cost/latency profiles; names alone do not prove performance on a customer's tasks. The appropriate response is: Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call. Situation: An internal taxonomy classifier calls a high-cost reasoning tier for every trivially labeled request.

D:

Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call. Model tiers offer different capability/cost/latency profiles; names alone do not prove performance on a customer's tasks. Verify the prerequisites with: Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity. Situation: An internal taxonomy classifier calls a high-cost reasoning tier for every trivially labeled request.

Incorrect Answers

A:

The selected prompt reaches accuracy thresholds without letting examples override policy constraints. This step may apply to Zero-shot versus few-shot task instructions but is not one of the two required complementary decisions. The relevant pair is: Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call. and Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity. Situation: An internal taxonomy classifier calls a high-cost reasoning tier for every trivially labeled request.

B:

Route low-risk common work to an efficient model while escalating ambiguous or high-stakes cases using validated criteria and preserving context boundaries. This step may apply to Tiered routing and escalation policies but is not one of the two required complementary decisions. The relevant pair is: Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call. and Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity. Situation: An internal taxonomy classifier calls a high-cost reasoning tier for every trivially labeled request.

E:

Inspect language runtime, SDK version, endpoint behavior, network middleware and response serialization. This step may apply to SDK versus raw REST transport but is not one of the two required complementary decisions. The relevant pair is: Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call. and Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity. Situation: An internal taxonomy classifier calls a high-cost reasoning tier for every trivially labeled request.

Question 365

A custom agent sends tool_result without the matching tool_use ID and the next API call is rejected. Which observed result BEST demonstrates the requirement has been satisfied?

  1. The parent reaches a grounded decision with source-linked summaries while irrelevant intermediate tool logs remain isolated.
  2. Specialists deliver bounded evidence to the manager, which integrates results and preserves a complete decision trail.
  3. High-impact actions remain pending until a named approver confirms the exact effect, while harmless analysis completes automatically.
  4. Each tool request receives one matching result and the model either produces a final answer or raises a bounded terminal error.

Explanation

Correct Answer

D:

Each tool request receives one matching result and the model either produces a final answer or raises a bounded terminal error. A tool-use response is not a completed user answer; forgetting to return tool results causes stalled or malformed continuations. Situation: A custom agent sends tool_result without the matching tool_use ID and the next API call is rejected.

Incorrect Answers

A:

The parent reaches a grounded decision with source-linked summaries while irrelevant intermediate tool logs remain isolated. This result tests Subagent context isolation, not the requirement demonstrated by this case. The relevant acceptance condition is: Each tool request receives one matching result and the model either produces a final answer or raises a bounded terminal error. Situation: A custom agent sends tool_result without the matching tool_use ID and the next API call is rejected.

B:

Specialists deliver bounded evidence to the manager, which integrates results and preserves a complete decision trail. This result tests Manager and specialist subagent task routing, not the requirement demonstrated by this case. The relevant acceptance condition is: Each tool request receives one matching result and the model either produces a final answer or raises a bounded terminal error. Situation: A custom agent sends tool_result without the matching tool_use ID and the next API call is rejected.

C:

High-impact actions remain pending until a named approver confirms the exact effect, while harmless analysis completes automatically. This result tests Agent autonomy and human approval boundary, not the requirement demonstrated by this case. The relevant acceptance condition is: Each tool request receives one matching result and the model either produces a final answer or raises a bounded terminal error. Situation: A custom agent sends tool_result without the matching tool_use ID and the next API call is rejected.

Question 366

A third-party tool returns unexpected shell arguments and a workflow runs them without validation. Which development or architectural response BEST addresses the primary requirement?

  1. Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt.
  2. Minimize personal data sent to a model, redact unnecessary identifiers and verify outputs do not expose restricted user information.
  3. Register a deterministic pre-tool hook that denies forbidden commands and logs the attempted operation even if an agent requests it.
  4. Combine model-level safety instructions with strict server-side authorization, network restrictions, auditing and narrowly scoped action policies.

Explanation

Correct Answer

D:

Combine model-level safety instructions with strict server-side authorization, network restrictions, auditing and narrowly scoped action policies. One guardrail cannot cover all failure modes; permission checks must remain effective even after prompt compromise. Verify the prerequisites with: Inspect role grants, action allowlist, dangerous effects, approval records and network egress. Situation: A third-party tool returns unexpected shell arguments and a workflow runs them without validation.

Incorrect Answers

A:

Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt. This response is designed for Prompt injection defense in retrieved content; it is not the controlling fix in the situation. Prompt injection is a trust-boundary failure when untrusted material is promoted into controlling instructions. Here the targeted response is: Combine model-level safety instructions with strict server-side authorization, network restrictions, auditing and narrowly scoped action policies. Situation: A third-party tool returns unexpected shell arguments and a workflow runs them without validation.

B:

Minimize personal data sent to a model, redact unnecessary identifiers and verify outputs do not expose restricted user information. This response is designed for PII minimization and output privacy; it is not the controlling fix in the situation. Privacy protections require data-flow controls and policy, not merely instructing the model to be discreet. Here the targeted response is: Combine model-level safety instructions with strict server-side authorization, network restrictions, auditing and narrowly scoped action policies. Situation: A third-party tool returns unexpected shell arguments and a workflow runs them without validation.

C:

Register a deterministic pre-tool hook that denies forbidden commands and logs the attempted operation even if an agent requests it. This response is designed for Pre-tool hooks for destructive command interception; it is not the controlling fix in the situation. A hook must sit on the actual execution path and fail safely; a prompt saying do not delete is not equivalent. Here the targeted response is: Combine model-level safety instructions with strict server-side authorization, network restrictions, auditing and narrowly scoped action policies. Situation: A third-party tool returns unexpected shell arguments and a workflow runs them without validation.

Question 367

An internal assistant can view a folder but a prompt injection asks it to delete the folder and its backups. 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. Legitimate tasks continue while unauthorized file deletion or privilege escalation is rejected independently of model intent.
  3. Cross-tenant access fails regardless of prompt wording or model-generated resource identifiers.
  4. An adversarial document may be summarized but cannot trigger unauthorized external calls or disclose secrets.

Explanation

Correct Answer

B:

Legitimate tasks continue while unauthorized file deletion or privilege escalation is rejected independently of model intent. One guardrail cannot cover all failure modes; permission checks must remain effective even after prompt compromise. Situation: An internal assistant can view a folder but a prompt injection asks it to delete the folder and its backups.

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: Legitimate tasks continue while unauthorized file deletion or privilege escalation is rejected independently of model intent. Situation: An internal assistant can view a folder but a prompt injection asks it to delete the folder and its backups.

C:

Cross-tenant access fails regardless of prompt wording or model-generated resource identifiers. This result tests Tenant identity and delegated resource authorization, not the requirement demonstrated by this case. The relevant acceptance condition is: Legitimate tasks continue while unauthorized file deletion or privilege escalation is rejected independently of model intent. Situation: An internal assistant can view a folder but a prompt injection asks it to delete the folder and its backups.

D:

An adversarial document may be summarized but cannot trigger unauthorized external calls or disclose secrets. This result tests Prompt injection defense in retrieved content, not the requirement demonstrated by this case. The relevant acceptance condition is: Legitimate tasks continue while unauthorized file deletion or privilege escalation is rejected independently of model intent. Situation: An internal assistant can view a folder but a prompt injection asks it to delete the folder and its backups.

Question 368

A coding assistant sees tool_use but the controller stops before delivering tool_result blocks. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. The selected surface provides required integrations without assuming chat UI capabilities are identical to API behavior.
  2. Inspect module boundaries, unit-test seams, shared mutable state, transport mocks and error translation.
  3. Use Message Batches for independent latency-tolerant requests and ordinary synchronous requests for interactive low-latency conversation.
  4. Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy.
  5. Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content.

Explanation

Correct Answers

D:

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 coding assistant sees tool_use but the controller stops before delivering tool_result blocks.

E:

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 coding assistant sees tool_use but the controller stops before delivering tool_result blocks.

Incorrect Answers

A:

The selected surface provides required integrations without assuming chat UI capabilities are identical to API behavior. This step may apply to Deployment surface selection and capabilities but is not one of the two required complementary decisions. The relevant pair is: Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content. and Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy. Situation: A coding assistant sees tool_use but the controller stops before delivering tool_result blocks.

B:

Inspect module boundaries, unit-test seams, shared mutable state, transport mocks and error translation. This step may apply to Refactoring and separation of concerns but is not one of the two required complementary decisions. The relevant pair is: Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content. and Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy. Situation: A coding assistant sees tool_use but the controller stops before delivering tool_result blocks.

C:

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: Handle end_turn, tool_use, max_tokens, and other stop conditions distinctly rather than treating every response as completed natural-language content. and Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy. Situation: A coding assistant sees tool_use but the controller stops before delivering tool_result blocks.

Question 369

A payment-approval assistant tries to refund all historical orders after one customer complaint. Which development or architectural response BEST addresses the primary requirement?

  1. Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail.
  2. Register a deterministic pre-tool hook that denies forbidden commands and logs the attempted operation even if an agent requests it.
  3. Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles.
  4. Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output.

Explanation

Correct Answer

A:

Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail. Tool execution is an external action whose authorization cannot be inferred from a model's textual approval. Verify the prerequisites with: Inspect change diff, affected resources, approval identity, reversibility and fallback plans. Situation: A payment-approval assistant tries to refund all historical orders after one customer complaint.

Incorrect Answers

B:

Register a deterministic pre-tool hook that denies forbidden commands and logs the attempted operation even if an agent requests it. This response is designed for Pre-tool hooks for destructive command interception; it is not the controlling fix in the situation. A hook must sit on the actual execution path and fail safely; a prompt saying do not delete is not equivalent. Here the targeted response is: Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail. Situation: A payment-approval assistant tries to refund all historical orders after one customer complaint.

C:

Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles. This response is designed for Secret storage and API-key rotation; it is not the controlling fix in the situation. A model cannot keep credentials safe if the application includes them in untrusted context or public client code. Here the targeted response is: Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail. Situation: A payment-approval assistant tries to refund all historical orders after one customer complaint.

D:

Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. This response is designed for Jailbreak and untrusted user instruction handling; it is not the controlling fix in the situation. Adversarial instructions can exploit prompt interpretation; critical side effects must still be checked by code. Here the targeted response is: Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail. Situation: A payment-approval assistant tries to refund all historical orders after one customer complaint.

Question 370

A development agent is told to record edits but silently skips its log entry in a multi-tool run. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Inspect step variability, dependency graph, tool side effects, missing-information branches and evaluation outcomes.
  2. 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.
  3. Use deterministic lifecycle hooks for mandatory logging, validation and policy checks instead of relying on a prompt asking the model to remember them.
  4. Inspect hook event type, exit codes, execution order, failure handling and independent policy enforcement.
  5. The process takes reproducible paths for predictable cases and invokes model-directed planning only for approved ambiguous cases.

Explanation

Correct Answers

C:

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 development agent is told to record edits but silently skips its log entry in a multi-tool run.

D:

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 development agent is told to record edits but silently skips its log entry in a multi-tool run.

Incorrect Answers

A:

Inspect step variability, dependency graph, tool side effects, missing-information branches and evaluation outcomes. This step may apply to Tool-use pattern versus fixed chain 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 development agent is told to record edits but silently skips its log entry in a multi-tool run.

B:

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 development agent is told to record edits but silently skips its log entry in a multi-tool run.

E:

The process takes reproducible paths for predictable cases and invokes model-directed planning only for approved ambiguous cases. 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 development agent is told to record edits but silently skips its log entry in a multi-tool run.

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