Anthropic CCDV-F Practice Test 69
Question 680
A developer opens two similarly named monorepos and an agent starts modifying the wrong package. Which observed result BEST demonstrates the requirement has been satisfied?
- Repeated requests achieve intended cache reuse without serving a different tenant's private prefix or stale instructions.
- Claude Code edits only the intended project and uses its expected build/test procedure with attributable context.
- The selected extension receives only relevant task context and returns a testable result to the main coding session.
- The same skill produces reproducible results across authorized projects while context remains concise.
Explanation
Correct Answer
B: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 developer opens two similarly named monorepos and an agent starts modifying the wrong package.
Incorrect Answers
A:Repeated requests achieve intended cache reuse without serving a different tenant's private prefix or stale instructions. This result tests Prompt caching placement and invalidation, 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 developer opens two similarly named monorepos and an agent starts modifying the wrong package.
C:The selected extension receives only relevant task context and returns a testable result to the main coding session. This result tests Rules, Skills and specialized agents in Claude Code, 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 developer opens two similarly named monorepos and an agent starts modifying the wrong package.
D:The same skill produces reproducible results across authorized projects while context remains concise. This result tests Skills as reusable operational procedures, 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 developer opens two similarly named monorepos and an agent starts modifying the wrong package.
Question 681
An agent in a production repo inherits a permissive local setting that allows unrestricted shell commands. Which observed result BEST demonstrates the requirement has been satisfied?
- Claude Code applies the intended project conventions for the relevant subtree without cross-project spillover.
- Development commands work within the expected scope while dangerous writes remain blocked until approved.
- Tool calls execute only when requested, final outputs are presented only at terminal states, and truncation is surfaced or continued safely.
- Concurrent workloads complete within capacity limits and preserve output-to-input mapping under varying latencies.
Explanation
Correct Answer
B:Development commands work within the expected scope while dangerous writes remain blocked until approved. Configuration settings control behavior but should not be confused with external service authorization. Situation: An agent in a production repo inherits a permissive local setting that allows unrestricted shell commands.
Incorrect Answers
A:Claude Code applies the intended project conventions for the relevant subtree without cross-project spillover. This result tests CLAUDE.md scope and project instruction hierarchy, not the requirement demonstrated by this case. The relevant acceptance condition is: Development commands work within the expected scope while dangerous writes remain blocked until approved. Situation: An agent in a production repo inherits a permissive local setting that allows unrestricted shell commands.
C:Tool calls execute only when requested, final outputs are presented only at terminal states, and truncation is surfaced or continued safely. This result tests Message stop reasons and continuation states, not the requirement demonstrated by this case. The relevant acceptance condition is: Development commands work within the expected scope while dangerous writes remain blocked until approved. Situation: An agent in a production repo inherits a permissive local setting that allows unrestricted shell commands.
D:Concurrent workloads complete within capacity limits and preserve output-to-input mapping under varying latencies. This result tests Async Python and TypeScript concurrency, not the requirement demonstrated by this case. The relevant acceptance condition is: Development commands work within the expected scope while dangerous writes remain blocked until approved. Situation: An agent in a production repo inherits a permissive local setting that allows unrestricted shell commands.
Question 682
A tool action succeeds but the UI claims failure because its acknowledgment parser rejects an optional field. Which observed result BEST demonstrates the requirement has been satisfied?
- Small changes roll out with measurable evidence, and regressions trigger rollback before broad exposure.
- Tool access reflects current consent and revocation immediately stops privileged operations.
- Bulk jobs complete with matched custom IDs and retryable failures, while interactive users receive timely responses.
- The incident is mapped to a reproducible cause and a verified targeted fix is deployed with a regression test.
Explanation
Correct Answer
D:The incident is mapped to a reproducible cause and a verified targeted fix is deployed with a regression test. Changing a prompt for every symptom can conceal faults in transport, authorization or business logic. Situation: A tool action succeeds but the UI claims failure because its acknowledgment parser rejects an optional field.
Incorrect Answers
A:Small changes roll out with measurable evidence, and regressions trigger rollback before broad exposure. This result tests Iterative delivery and change management, not the requirement demonstrated by this case. The relevant acceptance condition is: The incident is mapped to a reproducible cause and a verified targeted fix is deployed with a regression test. Situation: A tool action succeeds but the UI claims failure because its acknowledgment parser rejects an optional field.
B:Tool access reflects current consent and revocation immediately stops privileged operations. This result tests Plugin and external connector permission lifecycle, not the requirement demonstrated by this case. The relevant acceptance condition is: The incident is mapped to a reproducible cause and a verified targeted fix is deployed with a regression test. Situation: A tool action succeeds but the UI claims failure because its acknowledgment parser rejects an optional field.
C:Bulk jobs complete with matched custom IDs and retryable failures, while interactive users receive timely responses. This result tests Message Batches versus interactive API traffic, not the requirement demonstrated by this case. The relevant acceptance condition is: The incident is mapped to a reproducible cause and a verified targeted fix is deployed with a regression test. Situation: A tool action succeeds but the UI claims failure because its acknowledgment parser rejects an optional field.
Question 683
A structured extractor gains fluency but introduces extra keys and breaks downstream strict JSON parsing. Which development or architectural response BEST addresses the primary requirement?
- Select supported thinking or effort settings according to task complexity, latency and available token budgets; do not assume all models accept identical options.
- Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport.
- Pin model revisions and run behavior, schema and latency regression tests before replacing a model used by production tools.
- Group independent nonurgent work into the supported batch workflow and track job completion, throughput and retry waste.
Explanation
Correct Answer
C:Pin model revisions and run behavior, schema and latency regression tests before replacing a model used by production tools. Model improvements do not guarantee unchanged tool choices, formatting or threshold decisions; changes need explicit tests. Verify the prerequisites with: Inspect old/new model IDs, deprecation notices, baseline prompts and tool-call diffs. Situation: A structured extractor gains fluency but introduces extra keys and breaks downstream strict JSON parsing.
Incorrect Answers
A:Select supported thinking or effort settings according to task complexity, latency and available token budgets; do not assume all models accept identical options. This response is designed for Extended and adaptive thinking tradeoffs; it is not the controlling fix in the situation. Reasoning effort is a resource and compatibility choice; increasing it is not a substitute for external validation. Here the targeted response is: Pin model revisions and run behavior, schema and latency regression tests before replacing a model used by production tools. Situation: A structured extractor gains fluency but introduces extra keys and breaks downstream strict JSON parsing.
B: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: Pin model revisions and run behavior, schema and latency regression tests before replacing a model used by production tools. Situation: A structured extractor gains fluency but introduces extra keys and breaks downstream strict JSON parsing.
D:Group independent nonurgent work into the supported batch workflow and track job completion, throughput and retry waste. This response is designed for Batch scheduling and unit economics; it is not the controlling fix in the situation. Batch discounts and asynchronous processing are useful only if latency and independence requirements fit the workload. Here the targeted response is: Pin model revisions and run behavior, schema and latency regression tests before replacing a model used by production tools. Situation: A structured extractor gains fluency but introduces extra keys and breaks downstream strict JSON parsing.
Question 684
A team cannot unit-test a classifier because its constructor immediately opens a live production tool connection. What evidence or diagnostic detail should the engineer inspect FIRST?
- 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 stakeholders, sample requests, prohibited actions, service-level targets and failure examples.
- Inspect module boundaries, unit-test seams, shared mutable state, transport mocks and error translation.
Explanation
Correct Answer
D:Inspect module boundaries, unit-test seams, shared mutable state, transport mocks and error translation. Modular boundaries make behavioral tests reliable and limit unintended effects from model-oriented code. The appropriate response is: Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler. Situation: A team cannot unit-test a classifier because its constructor immediately opens a live production tool connection.
Incorrect Answers
A: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 module boundaries, unit-test seams, shared mutable state, transport mocks and error translation. Situation: A team cannot unit-test a classifier because its constructor immediately opens a live production tool connection.
B: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 module boundaries, unit-test seams, shared mutable state, transport mocks and error translation. Situation: A team cannot unit-test a classifier because its constructor immediately opens a live production tool connection.
C:Inspect stakeholders, sample requests, prohibited actions, service-level targets and failure examples. This evidence is useful for Business requirement to acceptance specification but would not isolate the primary failure in this scenario. The decisive check is: Inspect module boundaries, unit-test seams, shared mutable state, transport mocks and error translation. Situation: A team cannot unit-test a classifier because its constructor immediately opens a live production tool connection.
Question 685
An invoice extractor interprets parentheses as a negative amount inconsistently until a small example clarifies it. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect summary coverage, lost identifiers, source availability and previous approved constraints.
- Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results.
- Inspect context token distribution, repeated logs, evidence freshness, truncation points and active requirements.
- Inspect sample diversity, conflicting demonstrations, token cost and evaluation changes.
Explanation
Correct Answer
D:Inspect sample diversity, conflicting demonstrations, token cost and evaluation changes. Few-shot examples teach patterns but are not substitutes for explicit rules and validation. The appropriate response is: Write a concise task specification with representative examples for ambiguous formats, and test edge cases before expanding the prompt. Situation: An invoice extractor interprets parentheses as a negative amount inconsistently until a small example clarifies it.
Incorrect Answers
A: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 sample diversity, conflicting demonstrations, token cost and evaluation changes. Situation: An invoice extractor interprets parentheses as a negative amount inconsistently until a small example clarifies it.
B: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 sample diversity, conflicting demonstrations, token cost and evaluation changes. Situation: An invoice extractor interprets parentheses as a negative amount inconsistently until a small example clarifies it.
C: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 sample diversity, conflicting demonstrations, token cost and evaluation changes. Situation: An invoice extractor interprets parentheses as a negative amount inconsistently until a small example clarifies it.
Question 686
A developer copies an Anthropic API key into a unit test fixture committed to a public repository. Which observed result BEST demonstrates the requirement has been satisfied?
- The application preserves intended behavior across supported providers or reports an unsupported feature explicitly.
- The receiving service accepts only conforming validated objects, and failures remain explicit with trace identifiers.
- Each answer traces back to authorized input documents and unreadable sections are labeled rather than invented.
- Builds use scoped runtime credentials and can be reproduced without embedding secrets or relying on unvetted packages.
Explanation
Correct Answer
D:Builds use scoped runtime credentials and can be reproduced without embedding secrets or relying on unvetted packages. A working local prototype is not secure when its dependencies and credentials cannot be reviewed or rotated. Situation: A developer copies an Anthropic API key into a unit test fixture committed to a public repository.
Incorrect Answers
A:The application preserves intended behavior across supported providers or reports an unsupported feature explicitly. This result tests Multi-provider boundary and API compatibility, not the requirement demonstrated by this case. The relevant acceptance condition is: Builds use scoped runtime credentials and can be reproduced without embedding secrets or relying on unvetted packages. Situation: A developer copies an Anthropic API key into a unit test fixture committed to a public repository.
B:The receiving service accepts only conforming validated objects, and failures remain explicit with trace identifiers. This result tests Structured application output contract, not the requirement demonstrated by this case. The relevant acceptance condition is: Builds use scoped runtime credentials and can be reproduced without embedding secrets or relying on unvetted packages. Situation: A developer copies an Anthropic API key into a unit test fixture committed to a public repository.
C:Each answer traces back to authorized input documents and unreadable sections are labeled rather than invented. This result tests File processing pipeline with provenance, not the requirement demonstrated by this case. The relevant acceptance condition is: Builds use scoped runtime credentials and can be reproduced without embedding secrets or relying on unvetted packages. Situation: A developer copies an Anthropic API key into a unit test fixture committed to a public repository.
Question 687
A CI job interprets a helpful text summary as a passed build despite the process returning a nonzero status. Which development or architectural response BEST addresses the primary requirement?
- Use Rules for persistent constraints, Skills for repeatable task guidance and specialized agents for bounded delegated subtasks.
- Package repeatable instructions and external tools with pinned dependencies, documented install steps and permission reviews for consumers.
- 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.
- Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results.
Explanation
Correct Answer
D:Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results. A successful assistant narrative does not substitute for CI exit codes, repository diff inspection or actual tests. Verify the prerequisites with: Inspect CLI invocation flags, machine-readable output, command exit status, changeset and test artifacts. Situation: A CI job interprets a helpful text summary as a passed build despite the process returning a nonzero status.
Incorrect Answers
A:Use Rules for persistent constraints, Skills for repeatable task guidance and specialized agents for bounded delegated subtasks. This response is designed for Rules, Skills and specialized agents in Claude Code; it is not the controlling fix in the situation. Different customization primitives serve different lifecycles; adding a custom agent does not replace a straightforward skill or rule. Here the targeted response is: Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results. Situation: A CI job interprets a helpful text summary as a passed build despite the process returning a nonzero status.
B:Package repeatable instructions and external tools with pinned dependencies, documented install steps and permission reviews for consumers. This response is designed for Reusable plugin and skill dependency packaging; it is not the controlling fix in the situation. Reusable agent workflows depend on both instruction assets and executable/plugin dependencies; copying one prompt file is insufficient. Here the targeted response is: Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results. Situation: A CI job interprets a helpful text summary as a passed build despite the process returning a nonzero status.
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: Run Claude Code in noninteractive mode with explicit permission controls, structured outputs and programmatic verification before accepting CI results. Situation: A CI job interprets a helpful text summary as a passed build despite the process returning a nonzero status.
Question 688
A nested CLAUDE.md file contains an outdated deployment procedure that overrides the team's current runbook. Which development or architectural response BEST addresses the primary requirement?
- Document exceptional states, incomplete inputs, ambiguous requests and manual escalation before implementing a production LLM workflow.
- Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults.
- Keep durable repository instructions in appropriate CLAUDE.md locations and ensure local files do not unexpectedly override higher-level constraints.
- Ingest documents in supported formats, retain per-file provenance and distinguish extracted content from model-generated interpretation.
Explanation
Correct Answer
C:Keep durable repository instructions in appropriate CLAUDE.md locations and ensure local files do not unexpectedly override higher-level constraints. CLAUDE.md is persistent project context, but conflicting or misplaced files can create inconsistent instructions. Verify the prerequisites with: Inspect root and nested instruction files, working directory, effective context, and conflicting directives. Situation: A nested CLAUDE.md file contains an outdated deployment procedure that overrides the team's current runbook.
Incorrect Answers
A: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: Keep durable repository instructions in appropriate CLAUDE.md locations and ensure local files do not unexpectedly override higher-level constraints. Situation: A nested CLAUDE.md file contains an outdated deployment procedure that overrides the team's current runbook.
B:Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults. This response is designed for Versioned model and prompt configuration; it is not the controlling fix in the situation. Model version shifts can affect outputs and tool decisions; reproducibility requires recording both code and prompt state. Here the targeted response is: Keep durable repository instructions in appropriate CLAUDE.md locations and ensure local files do not unexpectedly override higher-level constraints. Situation: A nested CLAUDE.md file contains an outdated deployment procedure that overrides the team's current runbook.
D:Ingest documents in supported formats, retain per-file provenance and distinguish extracted content from model-generated interpretation. This response is designed for File processing pipeline with provenance; it is not the controlling fix in the situation. Evidence-grounded extraction requires source linkage; a confident generated summary cannot fill unseen pages. Here the targeted response is: Keep durable repository instructions in appropriate CLAUDE.md locations and ensure local files do not unexpectedly override higher-level constraints. Situation: A nested CLAUDE.md file contains an outdated deployment procedure that overrides the team's current runbook.
Question 689
A policy assistant invents a specific deadline because a referenced PDF section was unreadable. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.
- Parent responses cite the correct evidence from each subtask without leaking unrelated data across assignments.
- Parse and validate model output against a schema and use a bounded repair or user-visible failure path when it is malformed or incomplete.
- Inspect citations, retrieved source span, contradictions, data gaps and external validation results.
- Distinguish source-supported statements from unsupported model inference, and avoid treating fluent confident prose as proof of correctness.
- Inspect document version, access rights, retrieval scores, timestamps and underlying source span.
Explanation
Correct Answers
C:Inspect citations, retrieved source span, contradictions, data gaps and external validation results. Model confidence is not a calibrated guarantee; high-stakes conclusions require independent checking. The appropriate response is: Distinguish source-supported statements from unsupported model inference, and avoid treating fluent confident prose as proof of correctness. Situation: A policy assistant invents a specific deadline because a referenced PDF section was unreadable.
D:Distinguish source-supported statements from unsupported model inference, and avoid treating fluent confident prose as proof of correctness. Model confidence is not a calibrated guarantee; high-stakes conclusions require independent checking. Verify the prerequisites with: Inspect citations, retrieved source span, contradictions, data gaps and external validation results. Situation: A policy assistant invents a specific deadline because a referenced PDF section was unreadable.
Incorrect Answers
A:Parent responses cite the correct evidence from each subtask without leaking unrelated data across assignments. This step may apply to Subagent context partitioning and evidence handoff but is not one of the two required complementary decisions. The relevant pair is: Distinguish source-supported statements from unsupported model inference, and avoid treating fluent confident prose as proof of correctness. and Inspect citations, retrieved source span, contradictions, data gaps and external validation results. Situation: A policy assistant invents a specific deadline because a referenced PDF section was unreadable.
B:Parse and validate model output against a schema and use a bounded repair or user-visible failure path when it is malformed or incomplete. This step may apply to Structured output validation and repair path but is not one of the two required complementary decisions. The relevant pair is: Distinguish source-supported statements from unsupported model inference, and avoid treating fluent confident prose as proof of correctness. and Inspect citations, retrieved source span, contradictions, data gaps and external validation results. Situation: A policy assistant invents a specific deadline because a referenced PDF section was unreadable.
E:Inspect document version, access rights, retrieval scores, timestamps and underlying source span. This step may apply to Retrieval and source freshness discipline but is not one of the two required complementary decisions. The relevant pair is: Distinguish source-supported statements from unsupported model inference, and avoid treating fluent confident prose as proof of correctness. and Inspect citations, retrieved source span, contradictions, data gaps and external validation results. Situation: A policy assistant invents a specific deadline because a referenced PDF section was unreadable.
Question 690
A server processes two tool calls concurrently and swaps the returned IDs when sending results to Claude. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.
- 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.
- Inspect tool_use blocks, execution host, permission context, tool_result pairing and response continuation.
- Reusable capabilities upgrade without silently widening access or breaking the agent workflow.
- Give an agent only the MCP capabilities needed for each task, distinguish retrieval from changes and verify all external outcomes.
- Inspect skill manifest, invocation criteria, included files, expected outputs and versioning.
Explanation
Correct Answers
A: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. Claude can request a tool but an application must implement and authorize its actual side effects. Verify the prerequisites with: 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.
B: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
C:Reusable capabilities upgrade without silently widening access or breaking the agent workflow. This step may apply to Custom agent capabilities and lifecycle maintenance but is not one of the two required complementary decisions. The relevant pair 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. and 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:Give an agent only the MCP capabilities needed for each task, distinguish retrieval from changes and verify all external outcomes. This step may apply to Combining MCP integrations with agent orchestration but is not one of the two required complementary decisions. The relevant pair 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. and 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.
E:Inspect skill manifest, invocation criteria, included files, expected outputs and versioning. This step may apply to Skills as reusable operational procedures but is not one of the two required complementary decisions. The relevant pair 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. and 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.