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 89

Question 880

A production connector rotates its token but the fallback configuration still holds the revoked secret. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt.
  2. Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles.
  3. Refused unsafe operations remain blocked even when the prompt contains fake authority or threat-based persuasion.
  4. Inspect role grants, action allowlist, dangerous effects, approval records and network egress.
  5. Inspect credential location, granted scope, rotation status, access logs and accidental leakage.

Explanation

Correct Answers

B:

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 production connector rotates its token but the fallback configuration still holds the revoked secret.

E:

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 production connector rotates its token but the fallback configuration still holds the revoked secret.

Incorrect Answers

A:

Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt. This step may apply to Prompt injection defense in retrieved content 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 production connector rotates its token but the fallback configuration still holds the revoked secret.

C:

Refused unsafe operations remain blocked even when the prompt contains fake authority or threat-based persuasion. 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 production connector rotates its token but the fallback configuration still holds the revoked secret.

D:

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: 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 production connector rotates its token but the fallback configuration still holds the revoked secret.

Question 881

An existing Strands prototype cannot resume after a network interruption and the team must compare state-handling approaches. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. A controlled agent run reaches the intended goal with attributable tools and no access beyond its allowed environment.
  2. Review task boundaries, specialist access permissions, handoff records, output contracts, and escalation logic.
  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 durable state, node transitions, error propagation, testability and runtime coupling.
  5. Evaluate Strands, LangGraph or PydanticAI based on state semantics, async execution, graph control and deployment needs, rather than picking a framework by popularity.

Explanation

Correct Answers

D:

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.

E:

Evaluate Strands, LangGraph or PydanticAI based on state semantics, async execution, graph control and deployment needs, rather than picking a framework by popularity. Framework selection should follow control-flow and lifecycle requirements; a named framework does not inherently ensure safety or correctness. Verify the prerequisites with: 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.

Incorrect Answers

A:

A controlled agent run reaches the intended goal with attributable tools and no access beyond its allowed environment. 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: Evaluate Strands, LangGraph or PydanticAI based on state semantics, async execution, graph control and deployment needs, rather than picking a framework by popularity. and 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.

B:

Review task boundaries, specialist access permissions, handoff records, output contracts, and escalation logic. This step may apply to Manager and specialist subagent task routing but is not one of the two required complementary decisions. The relevant pair is: Evaluate Strands, LangGraph or PydanticAI based on state semantics, async execution, graph control and deployment needs, rather than picking a framework by popularity. and 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:

Use deterministic lifecycle hooks for mandatory logging, validation and policy checks instead of relying on a prompt asking the model to remember them. This step may apply to Hooks for non-model lifecycle actions but is not one of the two required complementary decisions. The relevant pair is: Evaluate Strands, LangGraph or PydanticAI based on state semantics, async execution, graph control and deployment needs, rather than picking a framework by popularity. and 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 882

A support bot retrieves a highly similar troubleshooting document for a different customer's environment. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements.
  2. Inspect document version, access rights, retrieval scores, timestamps and underlying source span.
  3. Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results.
  4. Inspect baseline metrics, evaluation inputs, observed errors and parameter changes.

Explanation

Correct Answer

B:

Inspect document version, access rights, retrieval scores, timestamps and underlying source span. RAG retrieval quality and authority are separate: a high similarity score cannot validate permission or recency. The appropriate response is: Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current. Situation: A support bot retrieves a highly similar troubleshooting document for a different customer's environment.

Incorrect Answers

A:

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 document version, access rights, retrieval scores, timestamps and underlying source span. Situation: A support bot retrieves a highly similar troubleshooting document for a different customer's environment.

C:

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 document version, access rights, retrieval scores, timestamps and underlying source span. Situation: A support bot retrieves a highly similar troubleshooting document for a different customer's environment.

D:

Inspect baseline metrics, evaluation inputs, observed errors and parameter changes. This evidence is useful for Prompt iteration against reproducible failures but would not isolate the primary failure in this scenario. The decisive check is: Inspect document version, access rights, retrieval scores, timestamps and underlying source span. Situation: A support bot retrieves a highly similar troubleshooting document for a different customer's environment.

Question 883

A developer adds a shell tool for simple arithmetic instead of using a deterministic calculation library. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Return structured tool errors with enough context to recover safely while bounding retries and avoiding replay of irreversible actions.
  2. Inspect tool names, descriptions, required fields, types, enum values, and example misuse.
  3. The external operation runs exactly once under the correct user identity and its verified result feeds the next model turn.
  4. Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes.
  5. Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization.

Explanation

Correct Answers

D:

Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes. Each custom integration adds maintenance and trust boundaries; novelty is not an architectural benefit. The appropriate response is: Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization. Situation: A developer adds a shell tool for simple arithmetic instead of using a deterministic calculation library.

E:

Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization. Each custom integration adds maintenance and trust boundaries; novelty is not an architectural benefit. Verify the prerequisites with: Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes. Situation: A developer adds a shell tool for simple arithmetic instead of using a deterministic calculation library.

Incorrect Answers

A:

Return structured tool errors with enough context to recover safely while bounding retries and avoiding replay of irreversible actions. This step may apply to Tool timeout, exception and retry design but is not one of the two required complementary decisions. The relevant pair is: Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization. and Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes. Situation: A developer adds a shell tool for simple arithmetic instead of using a deterministic calculation library.

B:

Inspect tool names, descriptions, required fields, types, enum values, and example misuse. This step may apply to Tool description and schema clarity but is not one of the two required complementary decisions. The relevant pair is: Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization. and Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes. Situation: A developer adds a shell tool for simple arithmetic instead of using a deterministic calculation library.

C:

The external operation runs exactly once under the correct user identity and its verified result feeds the next model turn. This step may apply to Client-side and server-side tool execution but is not one of the two required complementary decisions. The relevant pair is: Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization. and Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes. Situation: A developer adds a shell tool for simple arithmetic instead of using a deterministic calculation library.

Question 884

An SSE consumer confuses content_block_delta with message_stop and drops the final assistant output. What evidence or diagnostic detail should the engineer inspect FIRST?

  1. Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides.
  2. Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs.
  3. Inspect change scope, test coverage, baseline outputs, dependencies and release approvals.
  4. Inspect event order, content_block indices, network interrupts, partial JSON fragments and retry decisions.

Explanation

Correct Answer

D:

Inspect event order, content_block indices, network interrupts, partial JSON fragments and retry decisions. SSE chunks are not independent complete objects; partial tool input and text must be buffered until their blocks finish. The appropriate response is: Consume Claude streaming events in order and reconstruct complete content including tool-use deltas, final stop status and usage metadata before committing actions. Situation: An SSE consumer confuses content_block_delta with message_stop and drops the final assistant output.

Incorrect Answers

A:

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 event order, content_block indices, network interrupts, partial JSON fragments and retry decisions. Situation: An SSE consumer confuses content_block_delta with message_stop and drops the final assistant output.

B:

Inspect in-flight job count, await semantics, cancellation propagation, timeout handling and response correlation IDs. This evidence is useful for Async Python and TypeScript concurrency but would not isolate the primary failure in this scenario. The decisive check is: Inspect event order, content_block indices, network interrupts, partial JSON fragments and retry decisions. Situation: An SSE consumer confuses content_block_delta with message_stop and drops the final assistant output.

C:

Inspect change scope, test coverage, baseline outputs, dependencies and release approvals. This evidence is useful for Iterative delivery and change management but would not isolate the primary failure in this scenario. The decisive check is: Inspect event order, content_block indices, network interrupts, partial JSON fragments and retry decisions. Situation: An SSE consumer confuses content_block_delta with message_stop and drops the final assistant output.

Question 885

A streaming connection drops after receiving a partial block and the UI displays a complete answer. Which observed result BEST demonstrates the requirement has been satisfied?

  1. Complex reasoning receives sufficient resources while simple classification remains responsive within supported model contracts.
  2. Failed calls terminate predictably or recover through bounded retries while external side effects remain consistent.
  3. A cost report reconciles observed token usage and explains when caching provides a net benefit.
  4. A runaway session stops before exceeding its authorized budget and sends an actionable alert.

Explanation

Correct Answer

B:

Failed calls terminate predictably or recover through bounded retries while external side effects remain consistent. Network reliability must be engineered around the API; a slow response is not proof that the model is ignoring instructions. Situation: A streaming connection drops after receiving a partial block and the UI displays a complete answer.

Incorrect Answers

A:

Complex reasoning receives sufficient resources while simple classification remains responsive within supported model contracts. This result tests Extended and adaptive thinking tradeoffs, not the requirement demonstrated by this case. The relevant acceptance condition is: Failed calls terminate predictably or recover through bounded retries while external side effects remain consistent. Situation: A streaming connection drops after receiving a partial block and the UI displays a complete answer.

C:

A cost report reconciles observed token usage and explains when caching provides a net benefit. This result tests Prompt caching cost attribution, not the requirement demonstrated by this case. The relevant acceptance condition is: Failed calls terminate predictably or recover through bounded retries while external side effects remain consistent. Situation: A streaming connection drops after receiving a partial block and the UI displays a complete answer.

D:

A runaway session stops before exceeding its authorized budget and sends an actionable alert. This result tests Usage guardrails and spend alerts, not the requirement demonstrated by this case. The relevant acceptance condition is: Failed calls terminate predictably or recover through bounded retries while external side effects remain consistent. Situation: A streaming connection drops after receiving a partial block and the UI displays a complete answer.

Question 886

A long deployment chat is compressed without recording which rollback commit is approved. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts.
  2. The model follows the application contract while treating user-provided documents as data rather than privileged instructions.
  3. Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions.
  4. Inspect summary coverage, lost identifiers, source availability and previous approved constraints.
  5. Inspect baseline metrics, evaluation inputs, observed errors and parameter changes.

Explanation

Correct Answers

C:

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: A long deployment chat is compressed without recording which rollback commit is approved.

D:

Inspect summary coverage, lost identifiers, source availability and previous approved constraints. A concise summary must preserve operational identity and decision history; compacting away constraints can cause expensive redo. The appropriate response is: Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions. Situation: A long deployment chat is compressed without recording which rollback commit is approved.

Incorrect Answers

A:

Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts. This step may apply to Context-window prioritization and tool-output pruning but is not one of the two required complementary decisions. The relevant pair is: Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions. and Inspect summary coverage, lost identifiers, source availability and previous approved constraints. Situation: A long deployment chat is compressed without recording which rollback commit is approved.

B:

The model follows the application contract while treating user-provided documents as data rather than privileged instructions. This step may apply to Clear instruction priority and role separation but is not one of the two required complementary decisions. The relevant pair is: Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions. and Inspect summary coverage, lost identifiers, source availability and previous approved constraints. Situation: A long deployment chat is compressed without recording which rollback commit is approved.

E:

Inspect baseline metrics, evaluation inputs, observed errors and parameter changes. This step may apply to Prompt iteration against reproducible failures but is not one of the two required complementary decisions. The relevant pair is: Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions. and Inspect summary coverage, lost identifiers, source availability and previous approved constraints. Situation: A long deployment chat is compressed without recording which rollback commit is approved.

Question 887

A platform team upgrades one runtime while leaving another service on an older SDK with incompatible tool schemas. Which development or architectural response BEST addresses the primary requirement?

  1. Use an official supported SDK when it reduces integration boilerplate, or direct REST when low-level request control is required, while retaining observable HTTP errors.
  2. Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call.
  3. Test language SDK features against supported model versions and provider deployments rather than assuming every helper is available everywhere.
  4. Pin model revisions and run behavior, schema and latency regression tests before replacing a model used by production tools.

Explanation

Correct Answer

C:

Test language SDK features against supported model versions and provider deployments rather than assuming every helper is available everywhere. SDK convenience methods may lag or lead backend support, and provider-specific options can alter behavior. Verify the prerequisites with: Inspect SDK changelog, provider adapter, model capability flags, API version and feature-gate failures. Situation: A platform team upgrades one runtime while leaving another service on an older SDK with incompatible tool schemas.

Incorrect Answers

A:

Use an official supported SDK when it reduces integration boilerplate, or direct REST when low-level request control is required, while retaining observable HTTP errors. This response is designed for SDK versus raw REST transport; it is not the controlling fix in the situation. SDKs wrap the underlying API; they do not eliminate rate limits, authentication or data-validation responsibilities. Here the targeted response is: Test language SDK features against supported model versions and provider deployments rather than assuming every helper is available everywhere. Situation: A platform team upgrades one runtime while leaving another service on an older SDK with incompatible tool schemas.

B:

Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call. This response is designed for Opus Sonnet and Haiku tradeoffs; it is not the controlling fix in the situation. Model tiers offer different capability/cost/latency profiles; names alone do not prove performance on a customer's tasks. Here the targeted response is: Test language SDK features against supported model versions and provider deployments rather than assuming every helper is available everywhere. Situation: A platform team upgrades one runtime while leaving another service on an older SDK with incompatible tool schemas.

D:

Pin model revisions and run behavior, schema and latency regression tests before replacing a model used by production tools. This response is designed for Version migration and breaking-behavior tests; it is not the controlling fix in the situation. Model improvements do not guarantee unchanged tool choices, formatting or threshold decisions; changes need explicit tests. Here the targeted response is: Test language SDK features against supported model versions and provider deployments rather than assuming every helper is available everywhere. Situation: A platform team upgrades one runtime while leaving another service on an older SDK with incompatible tool schemas.

Question 888

A prompt contains a dozen redundant examples and leaves too little context for the actual customer request. Which observed result BEST demonstrates the requirement has been satisfied?

  1. Routine work stays efficient and escalated cases improve measured correctness without unbounded repeated calls.
  2. The application selects only supported features and gracefully rejects incompatible combinations.
  3. Complex reasoning receives sufficient resources while simple classification remains responsive within supported model contracts.
  4. The selected prompt reaches accuracy thresholds without letting examples override policy constraints.

Explanation

Correct Answer

D:

The selected prompt reaches accuracy thresholds without letting examples override policy constraints. Examples steer output behavior but can also overfit and consume context; they must match real task variance. Situation: A prompt contains a dozen redundant examples and leaves too little context for the actual customer request.

Incorrect Answers

A:

Routine work stays efficient and escalated cases improve measured correctness without unbounded repeated calls. This result tests Tiered routing and escalation policies, not the requirement demonstrated by this case. The relevant acceptance condition is: The selected prompt reaches accuracy thresholds without letting examples override policy constraints. Situation: A prompt contains a dozen redundant examples and leaves too little context for the actual customer request.

B:

The application selects only supported features and gracefully rejects incompatible combinations. This result tests Client library and provider compatibility, not the requirement demonstrated by this case. The relevant acceptance condition is: The selected prompt reaches accuracy thresholds without letting examples override policy constraints. Situation: A prompt contains a dozen redundant examples and leaves too little context for the actual customer request.

C:

Complex reasoning receives sufficient resources while simple classification remains responsive within supported model contracts. This result tests Extended and adaptive thinking tradeoffs, not the requirement demonstrated by this case. The relevant acceptance condition is: The selected prompt reaches accuracy thresholds without letting examples override policy constraints. Situation: A prompt contains a dozen redundant examples and leaves too little context for the actual customer request.

Question 889

A retrieved customer wiki page tells the assistant to export private contract files to a public URL. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.

  1. Inspect source provenance, attempted instruction overrides, requested actions, tool grants and policy audit outcomes.
  2. Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output.
  3. Treat documents, search snippets and tool results as lower-trust content and enforce tool permissions outside the model prompt.
  4. Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed.
  5. Inspect change diff, affected resources, approval identity, reversibility and fallback plans.

Explanation

Correct Answers

A:

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 retrieved customer wiki page tells the assistant to export private contract files to a public URL.

C:

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 retrieved customer wiki page tells the assistant to export private contract files to a public URL.

Incorrect Answers

B:

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 retrieved customer wiki page tells the assistant to export private contract files to a public URL.

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: 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 retrieved customer wiki page tells the assistant to export private contract files to a public URL.

E:

Inspect change diff, affected resources, approval identity, reversibility and fallback plans. 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 retrieved customer wiki page tells the assistant to export private contract files to a public URL.

Question 890

A ticket classifier always translates then categorizes text but a new requirement adds occasional external account lookup. Which development or architectural response BEST addresses the primary requirement?

  1. Use deterministic lifecycle hooks for mandatory logging, validation and policy checks instead of relying on a prompt asking the model to remember them.
  2. Select an agent tool-use loop for branching information needs while retaining a fixed chain for stable transformation sequences and explicit checkpoints.
  3. 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.
  4. Delegate large independent investigations to subagents with scoped input, then pass concise reviewed results back to the parent instead of merging every raw transcript into one context.

Explanation

Correct Answer

B:

Select an agent tool-use loop for branching information needs while retaining a fixed chain for stable transformation sequences and explicit checkpoints. Framework abstractions are not a replacement for understanding where control flow, tool execution and state reside. Verify the prerequisites with: Inspect step variability, dependency graph, tool side effects, missing-information branches and evaluation outcomes. Situation: A ticket classifier always translates then categorizes text but a new requirement adds occasional external account lookup.

Incorrect Answers

A:

Use deterministic lifecycle hooks for mandatory logging, validation and policy checks instead of relying on a prompt asking the model to remember them. This response is designed for Hooks for non-model lifecycle actions; it is not the controlling fix in the situation. Deterministic hooks are reliable for guardrails only when placed on the relevant execution path with fail-closed semantics. Here the targeted response is: Select an agent tool-use loop for branching information needs while retaining a fixed chain for stable transformation sequences and explicit checkpoints. Situation: A ticket classifier always translates then categorizes text but a new requirement adds occasional external account lookup.

C:

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 response is designed for Custom agent loop and stop reason handling; it is not the controlling fix in the situation. A tool-use response is not a completed user answer; forgetting to return tool results causes stalled or malformed continuations. Here the targeted response is: Select an agent tool-use loop for branching information needs while retaining a fixed chain for stable transformation sequences and explicit checkpoints. Situation: A ticket classifier always translates then categorizes text but a new requirement adds occasional external account lookup.

D:

Delegate large independent investigations to subagents with scoped input, then pass concise reviewed results back to the parent instead of merging every raw transcript into one context. This response is designed for Subagent context isolation; it is not the controlling fix in the situation. Subagents reduce context pollution but their reports are untrusted outputs that still require verification at the parent boundary. Here the targeted response is: Select an agent tool-use loop for branching information needs while retaining a fixed chain for stable transformation sequences and explicit checkpoints. Situation: A ticket classifier always translates then categorizes text but a new requirement adds occasional external account lookup.

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