Anthropic CCDV-F Practice Test 14
Question 130
A document analyst carries obsolete draft paragraphs that conflict with the final approved contract version. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements.
- Inspect sample diversity, conflicting demonstrations, token cost and evaluation changes.
- Inspect summary coverage, lost identifiers, source availability and previous approved constraints.
- Inspect message roles, conflicting text, injected commands and tool authority boundaries.
Explanation
Correct Answer
A: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.
Incorrect Answers
B:Inspect sample diversity, conflicting demonstrations, token cost and evaluation changes. This evidence is useful for Few-shot demonstrations and edge case coverage but would not isolate the primary failure in this scenario. The decisive check is: 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: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 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:Inspect message roles, conflicting text, injected commands and tool authority boundaries. This evidence is useful for Clear instruction priority and role separation but would not isolate the primary failure in this scenario. The decisive check is: 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 131
A research manager asks three specialist agents to analyze independent contracts and then needs one reconciled recommendation. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect remaining budget, repeated action signatures, tool outcomes, success predicates, and escalation events.
- Review task boundaries, specialist access permissions, handoff records, output contracts, and escalation logic.
- Inspect hook event type, exit codes, execution order, failure handling and independent policy enforcement.
- Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates.
Explanation
Correct Answer
B:Review task boundaries, specialist access permissions, handoff records, output contracts, and escalation logic. Multi-agent designs help when specialization is useful, but they introduce coordination cost and risk of contradictory state. The appropriate response is: Give a supervising agent explicit delegation boundaries and specialist agents narrowly scoped tasks, outputs, and tool permissions instead of allowing duplicate uncoordinated work. Situation: A research manager asks three specialist agents to analyze independent contracts and then needs one reconciled recommendation.
Incorrect Answers
A:Inspect remaining budget, repeated action signatures, tool outcomes, success predicates, and escalation events. This evidence is useful for Agent state and stopping criteria but would not isolate the primary failure in this scenario. The decisive check is: Review task boundaries, specialist access permissions, handoff records, output contracts, and escalation logic. Situation: A research manager asks three specialist agents to analyze independent contracts and then needs one reconciled recommendation.
C:Inspect hook event type, exit codes, execution order, failure handling and independent policy enforcement. This evidence is useful for Hooks for non-model lifecycle actions but would not isolate the primary failure in this scenario. The decisive check is: Review task boundaries, specialist access permissions, handoff records, output contracts, and escalation logic. Situation: A research manager asks three specialist agents to analyze independent contracts and then needs one reconciled recommendation.
D:Inspect task variability, allowed actions, branch conditions, review obligations, and historical exception rates. This evidence is useful for Deterministic workflow versus autonomous agent but would not isolate the primary failure in this scenario. The decisive check is: Review task boundaries, specialist access permissions, handoff records, output contracts, and escalation logic. Situation: A research manager asks three specialist agents to analyze independent contracts and then needs one reconciled recommendation.
Question 132
A streaming connection drops after receiving a partial block and the UI displays a complete answer. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect model generation settings, task constraints, repeated responses, and deterministic downstream validators.
- Inspect language runtime, SDK version, endpoint behavior, network middleware and response serialization.
- Inspect API key scope, authorization headers, expiry/revocation, secret storage and server logs.
- Inspect timing traces, connection phase, server responses, client cancellation and retry idempotency.
Explanation
Correct Answer
D: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 streaming connection drops after receiving a partial block and the UI displays a complete answer.
Incorrect Answers
A:Inspect model generation settings, task constraints, repeated responses, and deterministic downstream validators. This evidence is useful for Sampling and nondeterministic output testing 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 streaming connection drops after receiving a partial block and the UI displays a complete answer.
B:Inspect language runtime, SDK version, endpoint behavior, network middleware and response serialization. This evidence is useful for SDK versus raw REST transport but would not isolate the primary failure in this scenario. The decisive check is: Inspect timing traces, connection phase, server responses, client cancellation and retry idempotency. Situation: A streaming connection drops after receiving a partial block and the UI displays a complete answer.
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 streaming connection drops after receiving a partial block and the UI displays a complete answer.
Question 133
A model emits a JSON field as a string where a billing service expects an integer amount. Which development or architectural response BEST addresses the primary requirement?
- Interpret API response codes and retry only transient failures using bounded exponential backoff, idempotency safeguards and observable attempts.
- Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use.
- Document exceptional states, incomplete inputs, ambiguous requests and manual escalation before implementing a production LLM workflow.
- Track application and prompt changes through reviewed commits, reproducible dependency locks and focused pull requests with passing tests.
Explanation
Correct Answer
B:Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. Syntactically valid JSON may still violate business constraints; validation must extend beyond parsing. Verify the prerequisites with: Inspect parser exceptions, structural schema, optional fields, encoding and validation error handling. Situation: A model emits a JSON field as a string where a billing service expects an integer amount.
Incorrect Answers
A:Interpret API response codes and retry only transient failures using bounded exponential backoff, idempotency safeguards and observable attempts. This response is designed for REST status and idempotent retries; it is not the controlling fix in the situation. A timeout after a write does not prove the write failed, so blind replays can cause duplicate effects. Here the targeted response is: Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. Situation: A model emits a JSON field as a string where a billing service expects an integer amount.
C:Document exceptional states, incomplete inputs, ambiguous requests and manual escalation before implementing a production LLM workflow. This response is designed for Workflow exception mapping and escalation design; it is not the controlling fix in the situation. Most failures happen outside the happy path; explicitly modeled exceptions are part of the product requirements. Here the targeted response is: Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. Situation: A model emits a JSON field as a string where a billing service expects an integer amount.
D:Track application and prompt changes through reviewed commits, reproducible dependency locks and focused pull requests with passing tests. This response is designed for Version control and pull-request review; it is not the controlling fix in the situation. Unreviewed changes to model prompts or tool permissions are software changes even if no compiled code is modified. Here the targeted response is: Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. Situation: A model emits a JSON field as a string where a billing service expects an integer amount.
Question 134
A date normalization prompt mixes European and US formats without saying how ambiguous dates are resolved. Which development or architectural response BEST addresses the primary requirement?
- Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt.
- Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts.
- Use specific failed examples and evaluation metrics to refine prompts one change at a time, distinguishing prompt defects from software defects.
- Mark data boundaries explicitly and instruct the model to produce constrained fields while escaping untrusted content and validating the final result.
Explanation
Correct Answer
A:Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt. Few-shot examples teach patterns but are not substitutes for explicit rules and validation. Verify the prerequisites with: Inspect sample diversity, conflicting demonstrations, token cost and evaluation changes. Situation: A date normalization prompt mixes European and US formats without saying how ambiguous dates are resolved.
Incorrect Answers
B:Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts. This response is designed for Context-window prioritization and tool-output pruning; it is not the controlling fix in the situation. Context engineering is active selection, not dumping all source material; losing key constraints during pruning can be as harmful as overflow. Here the targeted response is: Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt. Situation: A date normalization prompt mixes European and US formats without saying how ambiguous dates are resolved.
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: Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt. Situation: A date normalization prompt mixes European and US formats without saying how ambiguous dates are resolved.
D:Mark data boundaries explicitly and instruct the model to produce constrained fields while escaping untrusted content and validating the final result. This response is designed for Structured constraints and XML-style delimiting; it is not the controlling fix in the situation. Well-delimited input reduces ambiguity but the application still must enforce permissions and sanitize tool effects. Here the targeted response is: Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt. Situation: A date normalization prompt mixes European and US formats without saying how ambiguous dates are resolved.
Question 135
A small customer wants to avoid maintaining orchestration servers for an isolated low-risk support process. Which observed result BEST demonstrates the requirement has been satisfied?
- The process takes reproducible paths for predictable cases and invokes model-directed planning only for approved ambiguous cases.
- The deployed runtime respects the required environment and can operate, trace and recover all permitted tasks.
- The implementation chooses only necessary tools for each case and avoids needless repeated calls.
- Each tool request receives one matching result and the model either produces a final answer or raises a bounded terminal error.
Explanation
Correct Answer
B:The deployed runtime respects the required environment and can operate, trace and recover all permitted tasks. Managed runtime convenience does not eliminate architecture constraints; self-hosting adds infrastructure and security responsibilities. Situation: A small customer wants to avoid maintaining orchestration servers for an isolated low-risk support process.
Incorrect Answers
A:The process takes reproducible paths for predictable cases and invokes model-directed planning only for approved ambiguous cases. This result tests Deterministic workflow versus autonomous agent, not the requirement demonstrated by this case. The relevant acceptance condition is: The deployed runtime respects the required environment and can operate, trace and recover all permitted tasks. Situation: A small customer wants to avoid maintaining orchestration servers for an isolated low-risk support process.
C:The implementation chooses only necessary tools for each case and avoids needless repeated calls. This result tests Tool-use pattern versus fixed chain, not the requirement demonstrated by this case. The relevant acceptance condition is: The deployed runtime respects the required environment and can operate, trace and recover all permitted tasks. Situation: A small customer wants to avoid maintaining orchestration servers for an isolated low-risk support process.
D:Each tool request receives one matching result and the model either produces a final answer or raises a bounded terminal error. This result tests Custom agent loop and stop reason handling, not the requirement demonstrated by this case. The relevant acceptance condition is: The deployed runtime respects the required environment and can operate, trace and recover all permitted tasks. Situation: A small customer wants to avoid maintaining orchestration servers for an isolated low-risk support process.
Question 136
A prompt change improves fluency while silently reducing correct field extraction on multilingual documents. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect source provenance, attempted instruction overrides, requested actions, tool grants and policy audit outcomes.
- Inspect manifest versions, dependency availability, plugin scopes, installation logs and upgrade notes.
- Inspect test coverage by failure type, stable fixtures, scoring rubric, sample outputs and reviewer disagreements.
- Inspect request IDs, status codes, input/output blocks, tool logs, reproduction conditions and control runs.
Explanation
Correct Answer
C:Inspect test coverage by failure type, stable fixtures, scoring rubric, sample outputs and reviewer disagreements. Anecdotal successful demos do not quantify regression; model graders need calibration and human review. The appropriate response is: Construct representative datasets with expected properties, deterministic checks and carefully reviewed model-based scoring when exact-string matching is inadequate. Situation: A prompt change improves fluency while silently reducing correct field extraction on multilingual documents.
Incorrect Answers
A:Inspect source provenance, attempted instruction overrides, requested actions, tool grants and policy audit outcomes. This evidence is useful for Prompt injection defense in retrieved content but would not isolate the primary failure in this scenario. The decisive check is: Inspect test coverage by failure type, stable fixtures, scoring rubric, sample outputs and reviewer disagreements. Situation: A prompt change improves fluency while silently reducing correct field extraction on multilingual documents.
B:Inspect manifest versions, dependency availability, plugin scopes, installation logs and upgrade notes. This evidence is useful for Reusable plugin and skill dependency packaging but would not isolate the primary failure in this scenario. The decisive check is: Inspect test coverage by failure type, stable fixtures, scoring rubric, sample outputs and reviewer disagreements. Situation: A prompt change improves fluency while silently reducing correct field extraction on multilingual documents.
D:Inspect request IDs, status codes, input/output blocks, tool logs, reproduction conditions and control runs. This evidence is useful for Failure-layer isolation for model applications but would not isolate the primary failure in this scenario. The decisive check is: Inspect test coverage by failure type, stable fixtures, scoring rubric, sample outputs and reviewer disagreements. Situation: A prompt change improves fluency while silently reducing correct field extraction on multilingual documents.
Question 137
A medical intake summarizer asserts a lab measurement never present in the uploaded record. Which observed result BEST demonstrates the requirement has been satisfied?
- The model follows the application contract while treating user-provided documents as data rather than privileged instructions.
- The answer identifies what evidence supports each conclusion and labels remaining uncertainties without inventing missing facts.
- Parent responses cite the correct evidence from each subtask without leaking unrelated data across assignments.
- Data remains data, and the response conforms to the required format without hidden instructions escaping their boundary.
Explanation
Correct Answer
B:The answer identifies what evidence supports each conclusion and labels remaining uncertainties without inventing missing facts. Model confidence is not a calibrated guarantee; high-stakes conclusions require independent checking. Situation: A medical intake summarizer asserts a lab measurement never present in the uploaded record.
Incorrect Answers
A:The model follows the application contract while treating user-provided documents as data rather than privileged instructions. This result tests Clear instruction priority and role separation, not the requirement demonstrated by this case. The relevant acceptance condition is: The answer identifies what evidence supports each conclusion and labels remaining uncertainties without inventing missing facts. Situation: A medical intake summarizer asserts a lab measurement never present in the uploaded record.
C:Parent responses cite the correct evidence from each subtask without leaking unrelated data across assignments. This result tests Subagent context partitioning and evidence handoff, not the requirement demonstrated by this case. The relevant acceptance condition is: The answer identifies what evidence supports each conclusion and labels remaining uncertainties without inventing missing facts. Situation: A medical intake summarizer asserts a lab measurement never present in the uploaded record.
D:Data remains data, and the response conforms to the required format without hidden instructions escaping their boundary. This result tests Structured constraints and XML-style delimiting, not the requirement demonstrated by this case. The relevant acceptance condition is: The answer identifies what evidence supports each conclusion and labels remaining uncertainties without inventing missing facts. Situation: A medical intake summarizer asserts a lab measurement never present in the uploaded record.
Question 138
An extraction system fixes one invoice format but breaks another because no regression fixtures exist. Which observed result BEST demonstrates the requirement has been satisfied?
- The model follows the application contract while treating user-provided documents as data rather than privileged instructions.
- Answers rely on the appropriate current authorized document and explicitly flag stale or missing evidence.
- New examples improve targeted correctness without encouraging copying or excluding legitimate rare values.
- A revised prompt improves the stated failure category without damaging unrelated cases on the held-out suite.
Explanation
Correct Answer
D:A revised prompt improves the stated failure category without damaging unrelated cases on the held-out suite. Prompt iteration without controlled comparisons can overfit one anecdote and hide regressions. Situation: An extraction system fixes one invoice format but breaks another because no regression fixtures exist.
Incorrect Answers
A:The model follows the application contract while treating user-provided documents as data rather than privileged instructions. This result tests Clear instruction priority and role separation, not the requirement demonstrated by this case. The relevant acceptance condition is: A revised prompt improves the stated failure category without damaging unrelated cases on the held-out suite. Situation: An extraction system fixes one invoice format but breaks another because no regression fixtures exist.
B:Answers rely on the appropriate current authorized document and explicitly flag stale or missing evidence. This result tests Retrieval and source freshness discipline, not the requirement demonstrated by this case. The relevant acceptance condition is: A revised prompt improves the stated failure category without damaging unrelated cases on the held-out suite. Situation: An extraction system fixes one invoice format but breaks another because no regression fixtures exist.
C:New examples improve targeted correctness without encouraging copying or excluding legitimate rare values. This result tests Few-shot demonstrations and edge case coverage, not the requirement demonstrated by this case. The relevant acceptance condition is: A revised prompt improves the stated failure category without damaging unrelated cases on the held-out suite. Situation: An extraction system fixes one invoice format but breaks another because no regression fixtures exist.
Question 139
An agent proposes deleting unused cloud storage but no human has confirmed the objects are unneeded. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.
- Combine model-level safety instructions with strict server-side authorization, network restrictions, auditing and narrowly scoped action policies.
- Inspect change diff, affected resources, approval identity, reversibility and fallback plans.
- Inspect source provenance, attempted instruction overrides, requested actions, tool grants and policy audit outcomes.
- Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail.
- Prohibited destructive commands are stopped before execution and allowed harmless tests still proceed.
Explanation
Correct Answers
B:Inspect change diff, affected resources, approval identity, reversibility and fallback plans. Tool execution is an external action whose authorization cannot be inferred from a model's textual approval. The appropriate response is: Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail. Situation: An agent proposes deleting unused cloud storage but no human has confirmed the objects are unneeded.
D: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: An agent proposes deleting unused cloud storage but no human has confirmed the objects are unneeded.
Incorrect Answers
A:Combine model-level safety instructions with strict server-side authorization, network restrictions, auditing and narrowly scoped action policies. 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: Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail. and Inspect change diff, affected resources, approval identity, reversibility and fallback plans. Situation: An agent proposes deleting unused cloud storage but no human has confirmed the objects are unneeded.
C:Inspect source provenance, attempted instruction overrides, requested actions, tool grants and policy audit outcomes. 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: Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail. and Inspect change diff, affected resources, approval identity, reversibility and fallback plans. Situation: An agent proposes deleting unused cloud storage but no human has confirmed the objects are unneeded.
E: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: Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail. and Inspect change diff, affected resources, approval identity, reversibility and fallback plans. Situation: An agent proposes deleting unused cloud storage but no human has confirmed the objects are unneeded.
Question 140
A server processes two tool calls concurrently and swaps the returned IDs when sending results to Claude. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect tool_use blocks, execution host, permission context, tool_result pairing and response continuation.
- Inspect installed versions, scope conflicts, deprecation notices, failover behavior and regression tests.
- Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes.
- Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution.
Explanation
Correct Answer
A:Inspect tool_use blocks, execution host, permission context, tool_result pairing and response continuation. Claude can request a tool but an application must implement and authorize its actual side effects. The appropriate response is: Run application-controlled tools in the appropriate trusted service and send their results back into the Claude tool-use loop rather than assuming the model executes them directly. Situation: A server processes two tool calls concurrently and swaps the returned IDs when sending results to Claude.
Incorrect Answers
B:Inspect installed versions, scope conflicts, deprecation notices, failover behavior and regression tests. This evidence is useful for Custom agent capabilities and lifecycle maintenance but would not isolate the primary failure in this scenario. The decisive check is: Inspect tool_use blocks, execution host, permission context, tool_result pairing and response continuation. Situation: A server processes two tool calls concurrently and swaps the returned IDs when sending results to Claude.
C:Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes. This evidence is useful for Built-in versus custom tool selection but would not isolate the primary failure in this scenario. The decisive check is: Inspect tool_use blocks, execution host, permission context, tool_result pairing and response continuation. Situation: A server processes two tool calls concurrently and swaps the returned IDs when sending results to Claude.
D:Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution. This evidence is useful for Combining MCP integrations with agent orchestration but would not isolate the primary failure in this scenario. The decisive check is: Inspect tool_use blocks, execution host, permission context, tool_result pairing and response continuation. Situation: A server processes two tool calls concurrently and swaps the returned IDs when sending results to Claude.