Anthropic CCDV-F Practice Test 24
Question 230
A dashboard asks for token streaming and engineers add a custom WebSocket proxy without checking whether SSE is simpler. Which development or architectural response BEST addresses the primary requirement?
- Model costs using input, output and cache-read/cache-write token accounting with the provider's documented pricing and observed usage.
- Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures.
- Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport.
- Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy.
Explanation
Correct Answer
C:Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. WebSocket is a general networking mechanism, not a guarantee that a specific model endpoint offers native WebSocket semantics. Verify the prerequisites with: Inspect desired interaction cadence, connection ownership, backpressure, gateway support and client error recovery. Situation: A dashboard asks for token streaming and engineers add a custom WebSocket proxy without checking whether SSE is simpler.
Incorrect Answers
A:Model costs using input, output and cache-read/cache-write token accounting with the provider's documented pricing and observed usage. This response is designed for Prompt caching cost attribution; it is not the controlling fix in the situation. Cache economics depend on actual hits and token classes; multiplying all tokens by one flat price misstates spend. Here the targeted response is: Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. Situation: A dashboard asks for token streaming and engineers add a custom WebSocket proxy without checking whether SSE is simpler.
B:Send correctly scoped API credentials through protected configuration, rotate them safely and distinguish credential failures from prompt or model failures. This response is designed for Authentication headers and secret rotation; it is not the controlling fix in the situation. Authentication is an API boundary enforced by the server, not by the wording of a model system prompt. Here the targeted response is: Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. Situation: A dashboard asks for token streaming and engineers add a custom WebSocket proxy without checking whether SSE is simpler.
D: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: Choose request-response or streaming HTTP for supported Claude calls and use WebSockets only where the surrounding application genuinely needs bidirectional transport. Situation: A dashboard asks for token streaming and engineers add a custom WebSocket proxy without checking whether SSE is simpler.
Question 231
A developer reuses an old thinking parameter on an incompatible model version and receives a request validation error. Which development or architectural response BEST addresses the primary requirement?
- Set per-tenant quotas, output-token ceilings and alert thresholds, and couple them with bounded agent/tool iteration policy.
- Choose appropriate temperature and sampling configuration where supported, and evaluate variability across multiple runs rather than expecting bit-for-bit repeatability.
- Configure connection and read timeouts, retry budgets and cancellation so slow models and broken connections do not occupy server workers forever.
- Select supported thinking or effort settings according to task complexity, latency and available token budgets; do not assume all models accept identical options.
Explanation
Correct Answer
D:Select supported thinking or effort settings according to task complexity, latency and available token budgets; do not assume all models accept identical options. Reasoning effort is a resource and compatibility choice; increasing it is not a substitute for external validation. Verify the prerequisites with: Inspect model capabilities, effort options, output usage, latency budgets and request-validation errors. Situation: A developer reuses an old thinking parameter on an incompatible model version and receives a request validation error.
Incorrect Answers
A: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 supported thinking or effort settings according to task complexity, latency and available token budgets; do not assume all models accept identical options. Situation: A developer reuses an old thinking parameter on an incompatible model version and receives a request validation error.
B:Choose appropriate temperature and sampling configuration where supported, and evaluate variability across multiple runs rather than expecting bit-for-bit repeatability. This response is designed for Sampling and nondeterministic output testing; it is not the controlling fix in the situation. Sampling changes candidate generation but does not guarantee reproducibility or correctness; code-level validation remains necessary. Here the targeted response is: Select supported thinking or effort settings according to task complexity, latency and available token budgets; do not assume all models accept identical options. Situation: A developer reuses an old thinking parameter on an incompatible model version and receives a request validation error.
C:Configure connection and read timeouts, retry budgets and cancellation so slow models and broken connections do not occupy server workers forever. This response is designed for Request timeouts and network failure discipline; it is not the controlling fix in the situation. Network reliability must be engineered around the API; a slow response is not proof that the model is ignoring instructions. Here the targeted response is: Select supported thinking or effort settings according to task complexity, latency and available token budgets; do not assume all models accept identical options. Situation: A developer reuses an old thinking parameter on an incompatible model version and receives a request validation error.
Question 232
A vendor onboarding workflow finds two accounts with identical names and must avoid selecting one arbitrarily. Which observed result BEST demonstrates the requirement has been satisfied?
- Only a version with passing integration and security tests enters production under a recorded release decision.
- Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable.
- Ambiguous or unsupported cases produce traceable escalation instead of unapproved automated decisions.
- The chosen deployment meets documented region, security, capacity and availability requirements under representative load.
Explanation
Correct Answer
C:Ambiguous or unsupported cases produce traceable escalation instead of unapproved automated decisions. Most failures happen outside the happy path; explicitly modeled exceptions are part of the product requirements. Situation: A vendor onboarding workflow finds two accounts with identical names and must avoid selecting one arbitrarily.
Incorrect Answers
A:Only a version with passing integration and security tests enters production under a recorded release decision. This result tests Discovery prototype to production readiness gates, not the requirement demonstrated by this case. The relevant acceptance condition is: Ambiguous or unsupported cases produce traceable escalation instead of unapproved automated decisions. Situation: A vendor onboarding workflow finds two accounts with identical names and must avoid selecting one arbitrarily.
B:Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable. This result tests REST status and idempotent retries, not the requirement demonstrated by this case. The relevant acceptance condition is: Ambiguous or unsupported cases produce traceable escalation instead of unapproved automated decisions. Situation: A vendor onboarding workflow finds two accounts with identical names and must avoid selecting one arbitrarily.
D:The chosen deployment meets documented region, security, capacity and availability requirements under representative load. This result tests Infrastructure and data residency discovery, not the requirement demonstrated by this case. The relevant acceptance condition is: Ambiguous or unsupported cases produce traceable escalation instead of unapproved automated decisions. Situation: A vendor onboarding workflow finds two accounts with identical names and must avoid selecting one arbitrarily.
Question 233
A connector plugin upgrade changes a tool parameter but the workflow's manifest remains on the old schema. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides.
- Inspect manifest versions, dependency availability, plugin scopes, installation logs and upgrade notes.
- Inspect root and nested instruction files, working directory, effective context, and conflicting directives.
- Inspect roles, content block types, API schema versions, authentication headers and message ordering.
Explanation
Correct Answer
B:Inspect manifest versions, dependency availability, plugin scopes, installation logs and upgrade notes. Reusable agent workflows depend on both instruction assets and executable/plugin dependencies; copying one prompt file is insufficient. The appropriate response is: Package repeatable instructions and external tools with pinned dependencies, documented install steps and permission reviews for consumers. Situation: A connector plugin upgrade changes a tool parameter but the workflow's manifest remains on the old schema.
Incorrect Answers
A:Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides. This evidence is useful for Environment and permission settings.json controls but would not isolate the primary failure in this scenario. The decisive check is: Inspect manifest versions, dependency availability, plugin scopes, installation logs and upgrade notes. Situation: A connector plugin upgrade changes a tool parameter but the workflow's manifest remains on the old schema.
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 manifest versions, dependency availability, plugin scopes, installation logs and upgrade notes. Situation: A connector plugin upgrade changes a tool parameter but the workflow's manifest remains on the old schema.
D:Inspect roles, content block types, API schema versions, authentication headers and message ordering. This evidence is useful for Messages API role and content structure but would not isolate the primary failure in this scenario. The decisive check is: Inspect manifest versions, dependency availability, plugin scopes, installation logs and upgrade notes. Situation: A connector plugin upgrade changes a tool parameter but the workflow's manifest remains on the old schema.
Question 234
A structured extractor gains fluency but introduces extra keys and breaks downstream strict JSON parsing. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect item independence, batch identifiers, completion deadlines, failed records and total cost.
- Inspect routing signal quality, fallback loops, task risk, escalation cost and evaluation outcomes.
- Inspect old/new model IDs, deprecation notices, baseline prompts and tool-call diffs.
- Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity.
Explanation
Correct Answer
C:Inspect old/new model IDs, deprecation notices, baseline prompts and tool-call diffs. Model improvements do not guarantee unchanged tool choices, formatting or threshold decisions; changes need explicit tests. The appropriate 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.
Incorrect Answers
A:Inspect item independence, batch identifiers, completion deadlines, failed records and total cost. This evidence is useful for Batch scheduling and unit economics but would not isolate the primary failure in this scenario. The decisive check is: 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.
B:Inspect routing signal quality, fallback loops, task risk, escalation cost and evaluation outcomes. This evidence is useful for Tiered routing and escalation policies but would not isolate the primary failure in this scenario. The decisive check is: 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.
D:Inspect benchmark outputs, latency histograms, model release identifiers and expected workload complexity. This evidence is useful for Opus Sonnet and Haiku tradeoffs but would not isolate the primary failure in this scenario. The decisive check is: 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.
Question 235
A developer reuses an old thinking parameter on an incompatible model version and receives a request validation error. Which observed result BEST demonstrates the requirement has been satisfied?
- Outputs meet task rules across repeated trials, and strict fields are validated despite generation variability.
- Complex reasoning receives sufficient resources while simple classification remains responsive within supported model contracts.
- A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state.
- The chosen tier meets quality targets at an acceptable cost and escalates only cases that justify additional capability.
Explanation
Correct Answer
B:Complex reasoning receives sufficient resources while simple classification remains responsive within supported model contracts. Reasoning effort is a resource and compatibility choice; increasing it is not a substitute for external validation. Situation: A developer reuses an old thinking parameter on an incompatible model version and receives a request validation error.
Incorrect Answers
A:Outputs meet task rules across repeated trials, and strict fields are validated despite generation variability. This result tests Sampling and nondeterministic output testing, not the requirement demonstrated by this case. The relevant acceptance condition is: Complex reasoning receives sufficient resources while simple classification remains responsive within supported model contracts. Situation: A developer reuses an old thinking parameter on an incompatible model version and receives a request validation error.
C:A version migration reaches required behavior gates or rolls back with known cause and traceable deployment state. This result tests Version migration and breaking-behavior tests, not the requirement demonstrated by this case. The relevant acceptance condition is: Complex reasoning receives sufficient resources while simple classification remains responsive within supported model contracts. Situation: A developer reuses an old thinking parameter on an incompatible model version and receives a request validation error.
D:The chosen tier meets quality targets at an acceptable cost and escalates only cases that justify additional capability. This result tests Opus Sonnet and Haiku tradeoffs, not the requirement demonstrated by this case. The relevant acceptance condition is: Complex reasoning receives sufficient resources while simple classification remains responsive within supported model contracts. Situation: A developer reuses an old thinking parameter on an incompatible model version and receives a request validation error.
Question 236
A claims processor expects a category and a numeric amount but receives a Markdown list of recommendations. Which development or architectural response BEST addresses the primary requirement?
- Choose Claude API, Claude Code, Desktop or claude.ai surfaces based on whether a workload needs programmatic calls, interactive authoring, local repository tools or user-facing chat.
- Define a provider adapter and verify what features are supported when routing Claude through another hosting platform rather than assuming endpoint and token behavior match.
- Package repeatable instructions and external tools with pinned dependencies, documented install steps and permission reviews for consumers.
- Design application-level typed output envelopes, validate required values and handle refusal or incomplete states without letting free-form prose corrupt downstream systems.
Explanation
Correct Answer
D:Design application-level typed output envelopes, validate required values and handle refusal or incomplete states without letting free-form prose corrupt downstream systems. A prompt requesting JSON does not by itself make every response safe to parse or commit. Verify the prerequisites with: Inspect output schema fields, stop status, refusal indicators, validator errors and consumer expectations. Situation: A claims processor expects a category and a numeric amount but receives a Markdown list of recommendations.
Incorrect Answers
A:Choose Claude API, Claude Code, Desktop or claude.ai surfaces based on whether a workload needs programmatic calls, interactive authoring, local repository tools or user-facing chat. This response is designed for Deployment surface selection and capabilities; it is not the controlling fix in the situation. Different Claude products have different execution contracts; a workflow developed in a chat window cannot be copied unchanged into a server SDK. Here the targeted response is: Design application-level typed output envelopes, validate required values and handle refusal or incomplete states without letting free-form prose corrupt downstream systems. Situation: A claims processor expects a category and a numeric amount but receives a Markdown list of recommendations.
B:Define a provider adapter and verify what features are supported when routing Claude through another hosting platform rather than assuming endpoint and token behavior match. This response is designed for Multi-provider boundary and API compatibility; it is not the controlling fix in the situation. Third-party hosts may expose Claude with provider-specific configuration; transport compatibility is not feature parity. Here the targeted response is: Design application-level typed output envelopes, validate required values and handle refusal or incomplete states without letting free-form prose corrupt downstream systems. Situation: A claims processor expects a category and a numeric amount but receives a Markdown list of recommendations.
C: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: Design application-level typed output envelopes, validate required values and handle refusal or incomplete states without letting free-form prose corrupt downstream systems. Situation: A claims processor expects a category and a numeric amount but receives a Markdown list of recommendations.
Question 237
A third-party tool returns unexpected shell arguments and a workflow runs them without validation. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect hook trigger names, command arguments, event payload, exit status and rule coverage.
- Inspect role grants, action allowlist, dangerous effects, approval records and network egress.
- Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs.
- Inspect change diff, affected resources, approval identity, reversibility and fallback plans.
Explanation
Correct Answer
B:Inspect role grants, action allowlist, dangerous effects, approval records and network egress. One guardrail cannot cover all failure modes; permission checks must remain effective even after prompt compromise. The appropriate response is: Combine model-level safety instructions with strict server-side authorization, network restrictions, auditing and narrowly scoped action policies. Situation: A third-party tool returns unexpected shell arguments and a workflow runs them without validation.
Incorrect Answers
A:Inspect hook trigger names, command arguments, event payload, exit status and rule coverage. This evidence is useful for Pre-tool hooks for destructive command interception but would not isolate the primary failure in this scenario. The decisive check is: Inspect role grants, action allowlist, dangerous effects, approval records and network egress. Situation: A third-party tool returns unexpected shell arguments and a workflow runs them without validation.
C:Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. This evidence is useful for Jailbreak and untrusted user instruction handling but would not isolate the primary failure in this scenario. The decisive check is: Inspect role grants, action allowlist, dangerous effects, approval records and network egress. Situation: A third-party tool returns unexpected shell arguments and a workflow runs them without validation.
D:Inspect change diff, affected resources, approval identity, reversibility and fallback plans. This evidence is useful for Human-in-the-loop release controls and rollback but would not isolate the primary failure in this scenario. The decisive check is: Inspect role grants, action allowlist, dangerous effects, approval records and network egress. Situation: A third-party tool returns unexpected shell arguments and a workflow runs them without validation.
Question 238
Two tenants share a cached prompt prefix containing one tenant's confidential data. Which observed result BEST demonstrates the requirement has been satisfied?
- A valid request returns interpretable structured blocks without misplaced system instructions or malformed history.
- Repeated requests achieve intended cache reuse without serving a different tenant's private prefix or stale instructions.
- Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable.
- The incident is mapped to a reproducible cause and a verified targeted fix is deployed with a regression test.
Explanation
Correct Answer
B:Repeated requests achieve intended cache reuse without serving a different tenant's private prefix or stale instructions. This result checks an observable acceptance criterion instead of only confirming a model made a claim. Prompt caching optimizes matching prefixes, not semantic similarity; variable content before a breakpoint defeats reuse. Situation: Two tenants share a cached prompt prefix containing one tenant's confidential data.
Incorrect Answers
A: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: Repeated requests achieve intended cache reuse without serving a different tenant's private prefix or stale instructions. Situation: Two tenants share a cached prompt prefix containing one tenant's confidential data.
C:Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable. This result tests REST status and idempotent retries, not the requirement demonstrated by this case. The relevant acceptance condition is: Repeated requests achieve intended cache reuse without serving a different tenant's private prefix or stale instructions. Situation: Two tenants share a cached prompt prefix containing one tenant's confidential data.
D:The incident is mapped to a reproducible cause and a verified targeted fix is deployed with a regression test. This result tests Postrelease incident feedback and defect triage, not the requirement demonstrated by this case. The relevant acceptance condition is: Repeated requests achieve intended cache reuse without serving a different tenant's private prefix or stale instructions. Situation: Two tenants share a cached prompt prefix containing one tenant's confidential data.
Question 239
A customer message requests a valid answer but conflicts with the application's mandatory data-handling rule. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.
- Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results.
- Inspect message roles, conflicting text, injected commands and tool authority boundaries.
- Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions.
- Place durable application rules in the appropriate high-priority instruction layer and preserve user requests and documents as lower-trust inputs.
- Answers rely on the appropriate current authorized document and explicitly flag stale or missing evidence.
Explanation
Correct Answers
B:Inspect message roles, conflicting text, injected commands and tool authority boundaries. A malicious quotation or retrieved note cannot legitimately replace the developer's system policy. The appropriate response is: Place durable application rules in the appropriate high-priority instruction layer and preserve user requests and documents as lower-trust inputs. Situation: A customer message requests a valid answer but conflicts with the application's mandatory data-handling rule.
D:Place durable application rules in the appropriate high-priority instruction layer and preserve user requests and documents as lower-trust inputs. A malicious quotation or retrieved note cannot legitimately replace the developer's system policy. Verify the prerequisites with: Inspect message roles, conflicting text, injected commands and tool authority boundaries. Situation: A customer message requests a valid answer but conflicts with the application's mandatory data-handling rule.
Incorrect Answers
A:Inspect delegation scopes, source links, parent assumptions and contradictions in specialist results. 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: Place durable application rules in the appropriate high-priority instruction layer and preserve user requests and documents as lower-trust inputs. and Inspect message roles, conflicting text, injected commands and tool authority boundaries. Situation: A customer message requests a valid answer but conflicts with the application's mandatory data-handling rule.
C:Compact long conversations into faithful state summaries recording open decisions, source identifiers and unresolved exceptions. This step may apply to Compaction with source-linked summaries but is not one of the two required complementary decisions. The relevant pair is: Place durable application rules in the appropriate high-priority instruction layer and preserve user requests and documents as lower-trust inputs. and Inspect message roles, conflicting text, injected commands and tool authority boundaries. Situation: A customer message requests a valid answer but conflicts with the application's mandatory data-handling rule.
E:Answers rely on the appropriate current authorized document and explicitly flag stale or missing evidence. This step may apply to Retrieval and source freshness discipline but is not one of the two required complementary decisions. The relevant pair is: Place durable application rules in the appropriate high-priority instruction layer and preserve user requests and documents as lower-trust inputs. and Inspect message roles, conflicting text, injected commands and tool authority boundaries. Situation: A customer message requests a valid answer but conflicts with the application's mandatory data-handling rule.
Question 240
A backend service needs to process customer tickets automatically with a request/response API. Which observed result BEST demonstrates the requirement has been satisfied?
- Only a version with passing integration and security tests enters production under a recorded release decision.
- Concurrent workloads complete within capacity limits and preserve output-to-input mapping under varying latencies.
- The selected surface provides required integrations without assuming chat UI capabilities are identical to API behavior.
- Ambiguous or unsupported cases produce traceable escalation instead of unapproved automated decisions.
Explanation
Correct Answer
C:The selected surface provides required integrations without assuming chat UI capabilities are identical to API behavior. Different Claude products have different execution contracts; a workflow developed in a chat window cannot be copied unchanged into a server SDK. Situation: A backend service needs to process customer tickets automatically with a request/response API.
Incorrect Answers
A:Only a version with passing integration and security tests enters production under a recorded release decision. This result tests Discovery prototype to production readiness gates, not the requirement demonstrated by this case. The relevant acceptance condition is: The selected surface provides required integrations without assuming chat UI capabilities are identical to API behavior. Situation: A backend service needs to process customer tickets automatically with a request/response API.
B: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: The selected surface provides required integrations without assuming chat UI capabilities are identical to API behavior. Situation: A backend service needs to process customer tickets automatically with a request/response API.
D:Ambiguous or unsupported cases produce traceable escalation instead of unapproved automated decisions. This result tests Workflow exception mapping and escalation design, not the requirement demonstrated by this case. The relevant acceptance condition is: The selected surface provides required integrations without assuming chat UI capabilities are identical to API behavior. Situation: A backend service needs to process customer tickets automatically with a request/response API.