Anthropic CCDV-F Practice Test 96
Question 950
A support bot retrieves a highly similar troubleshooting document for a different customer's environment. Which development or architectural response BEST addresses the primary requirement?
- Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current.
- 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.
- Distinguish source-supported statements from unsupported model inference, and avoid treating fluent confident prose as proof of correctness.
Explanation
Correct Answer
A:Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current. RAG retrieval quality and authority are separate: a high similarity score cannot validate permission or recency. Verify the prerequisites with: Inspect document version, access rights, retrieval scores, timestamps and underlying source span. Situation: A support bot retrieves a highly similar troubleshooting document for a different customer's environment.
Incorrect Answers
B:Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt. This response is designed for Few-shot demonstrations and edge case coverage; it is not the controlling fix in the situation. Few-shot examples teach patterns but are not substitutes for explicit rules and validation. Here the targeted response is: Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current. Situation: A support bot retrieves a highly similar troubleshooting document for a different customer's environment.
C:Prioritize instructions and current evidence, remove redundant tool output and summarize low-value history before it crowds out task-critical facts. This response is designed for Context-window prioritization and tool-output pruning; it is not the controlling fix in the situation. Context engineering is active selection, not dumping all source material; losing key constraints during pruning can be as harmful as overflow. Here the targeted response is: Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current. Situation: A support bot retrieves a highly similar troubleshooting document for a different customer's environment.
D:Distinguish source-supported statements from unsupported model inference, and avoid treating fluent confident prose as proof of correctness. This response is designed for Evidence skepticism and uncertainty handling; it is not the controlling fix in the situation. Model confidence is not a calibrated guarantee; high-stakes conclusions require independent checking. Here the targeted response is: Retrieve only authorized relevant context for the current question and verify revisions before trusting stored snippets as current. Situation: A support bot retrieves a highly similar troubleshooting document for a different customer's environment.
Question 951
A generated bug report includes bearer tokens and personal contact data from the original stack trace. Which observed result BEST demonstrates the requirement has been satisfied?
- Legitimate tasks continue while unauthorized file deletion or privilege escalation is rejected independently of model intent.
- Only authorized minimum details reach the endpoint and returned text avoids sensitive fields not needed for the task.
- Revoked secrets stop working while authorized services continue under rotated credentials without revealing them to users.
- Cross-tenant access fails regardless of prompt wording or model-generated resource identifiers.
Explanation
Correct Answer
B:Only authorized minimum details reach the endpoint and returned text avoids sensitive fields not needed for the task. Privacy protections require data-flow controls and policy, not merely instructing the model to be discreet. Situation: A generated bug report includes bearer tokens and personal contact data from the original stack trace.
Incorrect Answers
A:Legitimate tasks continue while unauthorized file deletion or privilege escalation is rejected independently of model intent. This result tests Defense-in-depth guardrails around agent tools, not the requirement demonstrated by this case. The relevant acceptance condition is: Only authorized minimum details reach the endpoint and returned text avoids sensitive fields not needed for the task. Situation: A generated bug report includes bearer tokens and personal contact data from the original stack trace.
C:Revoked secrets stop working while authorized services continue under rotated credentials without revealing them to users. This result tests Secret storage and API-key rotation, not the requirement demonstrated by this case. The relevant acceptance condition is: Only authorized minimum details reach the endpoint and returned text avoids sensitive fields not needed for the task. Situation: A generated bug report includes bearer tokens and personal contact data from the original stack trace.
D: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: Only authorized minimum details reach the endpoint and returned text avoids sensitive fields not needed for the task. Situation: A generated bug report includes bearer tokens and personal contact data from the original stack trace.
Question 952
A regulated group wants every tool invocation and stored execution artifact retained in an approved private region. Which observed result BEST demonstrates the requirement has been satisfied?
- Each tool request receives one matching result and the model either produces a final answer or raises a bounded terminal error.
- The process takes reproducible paths for predictable cases and invokes model-directed planning only for approved ambiguous cases.
- High-impact actions remain pending until a named approver confirms the exact effect, while harmless analysis completes automatically.
- The deployed runtime respects the required environment and can operate, trace and recover all permitted tasks.
Explanation
Correct Answer
D: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 regulated group wants every tool invocation and stored execution artifact retained in an approved private region.
Incorrect Answers
A: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 regulated group wants every tool invocation and stored execution artifact retained in an approved private region.
B: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 regulated group wants every tool invocation and stored execution artifact retained in an approved private region.
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: The deployed runtime respects the required environment and can operate, trace and recover all permitted tasks. Situation: A regulated group wants every tool invocation and stored execution artifact retained in an approved private region.
Question 953
A response must contain exactly a title and severity field, yet the model adds narrative before the object. Which observed result BEST demonstrates the requirement has been satisfied?
- Answers rely on the appropriate current authorized document and explicitly flag stale or missing evidence.
- Data remains data, and the response conforms to the required format without hidden instructions escaping their boundary.
- Parent responses cite the correct evidence from each subtask without leaking unrelated data across assignments.
- Downstream code consumes only validated objects and preserves a clear record of unrecoverable failures.
Explanation
Correct Answer
B:Data remains data, and the response conforms to the required format without hidden instructions escaping their boundary. Well-delimited input reduces ambiguity but the application still must enforce permissions and sanitize tool effects. Situation: A response must contain exactly a title and severity field, yet the model adds narrative before the object.
Incorrect Answers
A: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: Data remains data, and the response conforms to the required format without hidden instructions escaping their boundary. Situation: A response must contain exactly a title and severity field, yet the model adds narrative before the object.
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: Data remains data, and the response conforms to the required format without hidden instructions escaping their boundary. Situation: A response must contain exactly a title and severity field, yet the model adds narrative before the object.
D:Downstream code consumes only validated objects and preserves a clear record of unrecoverable failures. This result tests Structured output validation and repair path, not the requirement demonstrated by this case. The relevant acceptance condition is: Data remains data, and the response conforms to the required format without hidden instructions escaping their boundary. Situation: A response must contain exactly a title and severity field, yet the model adds narrative before the object.
Question 954
A customer service product needs low latency for routine routing but more careful analysis for rare regulatory disputes. Which development or architectural response BEST addresses the primary requirement?
- Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call.
- Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy.
- Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport.
- Route low-risk common work to an efficient model while escalating ambiguous or high-stakes cases using validated criteria and preserving context boundaries.
Explanation
Correct Answer
A: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: A customer service product needs low latency for routine routing but more careful analysis for rare regulatory disputes.
Incorrect Answers
B:Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy. This response is designed for Usage guardrails and spend alerts; it is not the controlling fix in the situation. The model's context and reasoning can drive cost rapidly; budgets must be enforced in application logic. Here the targeted 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: A customer service product needs low latency for routine routing but more careful analysis for rare regulatory disputes.
C:Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. This response is designed for Websocket versus request-response interaction; it is not the controlling fix in the situation. WebSocket is a general networking mechanism, not a guarantee that a specific model endpoint offers native WebSocket semantics. Here the targeted 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: A customer service product needs low latency for routine routing but more careful analysis for rare regulatory disputes.
D:Route low-risk common work to an efficient model while escalating ambiguous or high-stakes cases using validated criteria and preserving context boundaries. This response is designed for Tiered routing and escalation policies; it is not the controlling fix in the situation. Routing policies need outcome evidence and loop guards; a low-confidence heuristic alone can trigger wasteful model churn. Here the targeted 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: A customer service product needs low latency for routine routing but more careful analysis for rare regulatory disputes.
Question 955
A streaming connection drops after receiving a partial block and the UI displays a complete answer. Which development or architectural response BEST addresses the primary requirement?
- Configure connection and read timeouts, retry budgets and cancellation so slow models and broken connections do not occupy server workers forever.
- Budget input, output, tool results and cached material as tokens rather than characters, and enforce context and output limits for the selected model.
- Route low-risk common work to an efficient model while escalating ambiguous or high-stakes cases using validated criteria and preserving context boundaries.
- 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.
Explanation
Correct Answer
A:Configure connection and read timeouts, retry budgets and cancellation so slow models and broken connections do not occupy server workers forever. Network reliability must be engineered around the API; a slow response is not proof that the model is ignoring instructions. Verify the prerequisites with: 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.
Incorrect Answers
B:Budget input, output, tool results and cached material as tokens rather than characters, and enforce context and output limits for the selected model. This response is designed for Token accounting and context capacity; it is not the controlling fix in the situation. Context windows and output budgets are finite and tokenization differs from character length; increasing text does not guarantee a better answer. Here the targeted 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.
C:Route low-risk common work to an efficient model while escalating ambiguous or high-stakes cases using validated criteria and preserving context boundaries. This response is designed for Tiered routing and escalation policies; it is not the controlling fix in the situation. Routing policies need outcome evidence and loop guards; a low-confidence heuristic alone can trigger wasteful model churn. Here the targeted 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.
D: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: 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.
Question 956
A shared operations agent recalls another customer's private incident timeline because its memory lacked tenant scoping. Which observed result BEST demonstrates the requirement has been satisfied?
- Each tool request receives one matching result and the model either produces a final answer or raises a bounded terminal error.
- The implementation chooses only necessary tools for each case and avoids needless repeated calls.
- Resumed work retains user-approved constraints and resolved decisions without leaking unrelated prior-session information.
- A prohibited operation is blocked even when the model asks to proceed, and the hook emits an auditable explanation.
Explanation
Correct Answer
C:Resumed work retains user-approved constraints and resolved decisions without leaking unrelated prior-session information. A context window is a limited working buffer, not an unlimited permanent memory store; compact summaries require fidelity checks. Situation: A shared operations agent recalls another customer's private incident timeline because its memory lacked tenant scoping.
Incorrect Answers
A: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: Resumed work retains user-approved constraints and resolved decisions without leaking unrelated prior-session information. Situation: A shared operations agent recalls another customer's private incident timeline because its memory lacked tenant scoping.
B: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: Resumed work retains user-approved constraints and resolved decisions without leaking unrelated prior-session information. Situation: A shared operations agent recalls another customer's private incident timeline because its memory lacked tenant scoping.
D:A prohibited operation is blocked even when the model asks to proceed, and the hook emits an auditable explanation. This result tests Hooks for non-model lifecycle actions, not the requirement demonstrated by this case. The relevant acceptance condition is: Resumed work retains user-approved constraints and resolved decisions without leaking unrelated prior-session information. Situation: A shared operations agent recalls another customer's private incident timeline because its memory lacked tenant scoping.
Question 957
An agent uses a stale MCP server resource after a connector permission was revoked. Which development or architectural response BEST addresses the primary requirement?
- Write concise tool descriptions and strict input JSON schemas with explicit parameter semantics so the model chooses the appropriate operation reliably.
- Package a repeatable procedure with clear triggers, inputs, supporting resources and verification steps rather than pasting the same long instructions into every chat.
- Give an agent only the MCP capabilities needed for each task, distinguish retrieval from changes and verify all external outcomes.
- Separate read-only analysis tools from state-changing actions and require explicit user or policy approval when tool effects are sensitive.
Explanation
Correct Answer
C:Give an agent only the MCP capabilities needed for each task, distinguish retrieval from changes and verify all external outcomes. Orchestration may select tools dynamically but service-side authorization and result verification remain nondelegable. Verify the prerequisites with: Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution. Situation: An agent uses a stale MCP server resource after a connector permission was revoked.
Incorrect Answers
A:Write concise tool descriptions and strict input JSON schemas with explicit parameter semantics so the model chooses the appropriate operation reliably. This response is designed for Tool description and schema clarity; it is not the controlling fix in the situation. An unclear schema invites misuse, and correct-looking JSON is not necessarily a valid operation. Here the targeted response is: Give an agent only the MCP capabilities needed for each task, distinguish retrieval from changes and verify all external outcomes. Situation: An agent uses a stale MCP server resource after a connector permission was revoked.
B:Package a repeatable procedure with clear triggers, inputs, supporting resources and verification steps rather than pasting the same long instructions into every chat. This response is designed for Skills as reusable operational procedures; it is not the controlling fix in the situation. Skills encode process knowledge; they do not themselves grant runtime permission for privileged actions. Here the targeted response is: Give an agent only the MCP capabilities needed for each task, distinguish retrieval from changes and verify all external outcomes. Situation: An agent uses a stale MCP server resource after a connector permission was revoked.
D:Separate read-only analysis tools from state-changing actions and require explicit user or policy approval when tool effects are sensitive. This response is designed for Tool approval and side-effect gating; it is not the controlling fix in the situation. A tool's mere availability does not prove every call is authorized or safe. Here the targeted response is: Give an agent only the MCP capabilities needed for each task, distinguish retrieval from changes and verify all external outcomes. Situation: An agent uses a stale MCP server resource after a connector permission was revoked.
Question 958
A code review session contains old environment assumptions after the repo changes its test runner. Which observed result BEST demonstrates the requirement has been satisfied?
- Claude Code edits only the intended project and uses its expected build/test procedure with attributable context.
- Requests remain within supported limits and critical instructions survive long sessions without silent truncation.
- A valid request returns interpretable structured blocks without misplaced system instructions or malformed history.
- Development commands work within the expected scope while dangerous writes remain blocked until approved.
Explanation
Correct Answer
A:Claude Code edits only the intended project and uses its expected build/test procedure with attributable context. Local project guidance improves continuity but is not proof a generated patch is correct or authorized for deployment. Situation: A code review session contains old environment assumptions after the repo changes its test runner.
Incorrect Answers
B:Requests remain within supported limits and critical instructions survive long sessions without silent truncation. This result tests Token accounting and context capacity, not the requirement demonstrated by this case. The relevant acceptance condition is: Claude Code edits only the intended project and uses its expected build/test procedure with attributable context. Situation: A code review session contains old environment assumptions after the repo changes its test runner.
C:A valid request returns interpretable structured blocks without misplaced system instructions or malformed history. This result tests Messages API role and content structure, not the requirement demonstrated by this case. The relevant acceptance condition is: Claude Code edits only the intended project and uses its expected build/test procedure with attributable context. Situation: A code review session contains old environment assumptions after the repo changes its test runner.
D:Development commands work within the expected scope while dangerous writes remain blocked until approved. This result tests Environment and permission settings.json controls, not the requirement demonstrated by this case. The relevant acceptance condition is: Claude Code edits only the intended project and uses its expected build/test procedure with attributable context. Situation: A code review session contains old environment assumptions after the repo changes its test runner.
Question 959
A developer opens two similarly named monorepos and an agent starts modifying the wrong package. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.
- Data remains data, and the response conforms to the required format without hidden instructions escaping their boundary.
- Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results.
- Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity.
- Inspect working directory, root/subtree CLAUDE.md files, current git branch, selected repository and effective instructions.
- Use the CLAUDE.md hierarchy, repository context and explicit task scope so Claude Code follows the correct local development conventions.
Explanation
Correct Answers
D:Inspect working directory, root/subtree CLAUDE.md files, current git branch, selected repository and effective instructions. Local project guidance improves continuity but is not proof a generated patch is correct or authorized for deployment. The appropriate response is: Use the CLAUDE.md hierarchy, repository context and explicit task scope so Claude Code follows the correct local development conventions. Situation: A developer opens two similarly named monorepos and an agent starts modifying the wrong package.
E:Use the CLAUDE.md hierarchy, repository context and explicit task scope so Claude Code follows the correct local development conventions. Local project guidance improves continuity but is not proof a generated patch is correct or authorized for deployment. Verify the prerequisites with: Inspect working directory, root/subtree CLAUDE.md files, current git branch, selected repository and effective instructions. Situation: A developer opens two similarly named monorepos and an agent starts modifying the wrong package.
Incorrect Answers
A:Data remains data, and the response conforms to the required format without hidden instructions escaping their boundary. This step may apply to Structured constraints and XML-style delimiting but is not one of the two required complementary decisions. The relevant pair is: Use the CLAUDE.md hierarchy, repository context and explicit task scope so Claude Code follows the correct local development conventions. and Inspect working directory, root/subtree CLAUDE.md files, current git branch, selected repository and effective instructions. Situation: A developer opens two similarly named monorepos and an agent starts modifying the wrong package.
B:Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results. This step may apply to Headless Claude Code and automation result verification but is not one of the two required complementary decisions. The relevant pair is: Use the CLAUDE.md hierarchy, repository context and explicit task scope so Claude Code follows the correct local development conventions. and Inspect working directory, root/subtree CLAUDE.md files, current git branch, selected repository and effective instructions. Situation: A developer opens two similarly named monorepos and an agent starts modifying the wrong package.
C:Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity. This step may apply to Opus Sonnet and Haiku tradeoffs but is not one of the two required complementary decisions. The relevant pair is: Use the CLAUDE.md hierarchy, repository context and explicit task scope so Claude Code follows the correct local development conventions. and Inspect working directory, root/subtree CLAUDE.md files, current git branch, selected repository and effective instructions. Situation: A developer opens two similarly named monorepos and an agent starts modifying the wrong package.
Question 960
A nightly translation of twenty thousand independent descriptions is sent as sequential synchronous API calls. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect tool input schema, required fields, enum constraints, authenticated user and side-effect classification.
- Inspect repository state, acceptance suite, environment configuration, rollback steps and service owners.
- Inspect root and nested instruction files, working directory, effective context, and conflicting directives.
- Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints.
Explanation
Correct Answer
D:Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints. Batch processing is asynchronous and optimized for throughput rather than individual turn latency; results may arrive out of order. The appropriate response is: Use Message Batches for independent latency-tolerant requests and ordinary synchronous requests for interactive low-latency conversation. Situation: A nightly translation of twenty thousand independent descriptions is sent as sequential synchronous API calls.
Incorrect Answers
A:Inspect tool input schema, required fields, enum constraints, authenticated user and side-effect classification. This evidence is useful for Tool definitions and strict argument validation but would not isolate the primary failure in this scenario. The decisive check is: Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints. Situation: A nightly translation of twenty thousand independent descriptions is sent as sequential synchronous API calls.
B:Inspect repository state, acceptance suite, environment configuration, rollback steps and service owners. This evidence is useful for Discovery prototype to production readiness gates but would not isolate the primary failure in this scenario. The decisive check is: Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints. Situation: A nightly translation of twenty thousand independent descriptions is sent as sequential synchronous API calls.
C:Inspect root and nested instruction files, working directory, effective context, and conflicting directives. This evidence is useful for CLAUDE.md scope and project instruction hierarchy but would not isolate the primary failure in this scenario. The decisive check is: Inspect dependency relationships, acceptable completion delay, request volume, result retrieval and cost constraints. Situation: A nightly translation of twenty thousand independent descriptions is sent as sequential synchronous API calls.