Anthropic CCDV-F Practice Test 44
Question 430
A developer changes a user-level setting and is surprised it affects every unrelated repository. Which development or architectural response BEST addresses the primary requirement?
- Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default.
- Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results.
- Pin model identifiers and version prompts in configuration with controlled rollout and evaluation rather than relying on mutable defaults.
- Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries.
Explanation
Correct Answer
A:Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default. Configuration settings control behavior but should not be confused with external service authorization. Verify the prerequisites with: Inspect effective settings.json, permission rules, inherited policies, allowed tools and environment overrides. Situation: A developer changes a user-level setting and is surprised it affects every unrelated repository.
Incorrect Answers
B:Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results. This response is designed for Iterative delivery and change management; it is not the controlling fix in the situation. Prompts and tool schemas are production behavior artifacts and need review comparable to ordinary code. Here the targeted response is: Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default. Situation: A developer changes a user-level setting and is surprised it affects every unrelated repository.
C: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: Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default. Situation: A developer changes a user-level setting and is surprised it affects every unrelated repository.
D:Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. This response is designed for Input validation and adversarial boundary testing; it is not the controlling fix in the situation. External text belongs to a lower trust tier than application instructions even when placed in the same model context. Here the targeted response is: Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default. Situation: A developer changes a user-level setting and is surprised it affects every unrelated repository.
Question 431
A malicious uploaded document repeats instructions to bypass approval checks across hundreds of lines. Which development or architectural response BEST addresses the primary requirement?
- Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output.
- Apply authenticated tenant identity and fine-grained resource permissions to every retrieval and tool action, including agent memory and MCP backends.
- Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles.
- Register a deterministic pre-tool hook that denies forbidden commands and logs the attempted operation even if an agent requests it.
Explanation
Correct Answer
A:Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. Adversarial instructions can exploit prompt interpretation; critical side effects must still be checked by code. Verify the prerequisites with: Inspect lower-priority input, user identity, sensitive tool requests and enforcement logs. Situation: A malicious uploaded document repeats instructions to bypass approval checks across hundreds of lines.
Incorrect Answers
B:Apply authenticated tenant identity and fine-grained resource permissions to every retrieval and tool action, including agent memory and MCP backends. This response is designed for Tenant identity and delegated resource authorization; it is not the controlling fix in the situation. Identity boundary enforcement belongs to the system of record; a model's assertion of access is insufficient. Here the targeted response is: Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. Situation: A malicious uploaded document repeats instructions to bypass approval checks across hundreds of lines.
C:Use scoped server-side credentials, approved secret stores and rotation with audit logging, never place production keys inside prompts or browser bundles. This response is designed for Secret storage and API-key rotation; it is not the controlling fix in the situation. A model cannot keep credentials safe if the application includes them in untrusted context or public client code. Here the targeted response is: Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. Situation: A malicious uploaded document repeats instructions to bypass approval checks across hundreds of lines.
D:Register a deterministic pre-tool hook that denies forbidden commands and logs the attempted operation even if an agent requests it. This response is designed for Pre-tool hooks for destructive command interception; it is not the controlling fix in the situation. A hook must sit on the actual execution path and fail safely; a prompt saying do not delete is not equivalent. Here the targeted response is: Keep core constraints stable across adversarial roleplay or quoted instructions, and validate allowed tool actions regardless of persuasive model output. Situation: A malicious uploaded document repeats instructions to bypass approval checks across hundreds of lines.
Question 432
An SSE consumer confuses content_block_delta with message_stop and drops the final assistant output. Which observed result BEST demonstrates the requirement has been satisfied?
- Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable.
- A completed stream reconstructs the same logical response as a nonstreamed call, and interruptions do not produce phantom tool calls.
- The incident is mapped to a reproducible cause and a verified targeted fix is deployed with a regression test.
- The chosen deployment meets documented region, security, capacity and availability requirements under representative load.
Explanation
Correct Answer
B:A completed stream reconstructs the same logical response as a nonstreamed call, and interruptions do not produce phantom tool calls. SSE chunks are not independent complete objects; partial tool input and text must be buffered until their blocks finish. Situation: An SSE consumer confuses content_block_delta with message_stop and drops the final assistant output.
Incorrect Answers
A: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: A completed stream reconstructs the same logical response as a nonstreamed call, and interruptions do not produce phantom tool calls. Situation: An SSE consumer confuses content_block_delta with message_stop and drops the final assistant output.
C: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: A completed stream reconstructs the same logical response as a nonstreamed call, and interruptions do not produce phantom tool calls. Situation: An SSE consumer confuses content_block_delta with message_stop and drops the final assistant output.
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: A completed stream reconstructs the same logical response as a nonstreamed call, and interruptions do not produce phantom tool calls. Situation: An SSE consumer confuses content_block_delta with message_stop and drops the final assistant output.
Question 433
A coding agent retrieves a build status through MCP, then claims deployment succeeded without checking the pipeline result. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect server capability advertisement, tool descriptions, resource identifiers and prompt argument handling.
- Inspect connection lifecycle, stdio process ownership, network origin, authorization headers and server logs.
- Inspect tool_use blocks, execution host, permission context, tool_result pairing and response continuation.
- Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution.
Explanation
Correct Answer
D:Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution. Orchestration may select tools dynamically but service-side authorization and result verification remain nondelegable. The appropriate response is: Give an agent only the MCP capabilities needed for each task, distinguish retrieval from changes and verify all external outcomes. Situation: A coding agent retrieves a build status through MCP, then claims deployment succeeded without checking the pipeline result.
Incorrect Answers
A:Inspect server capability advertisement, tool descriptions, resource identifiers and prompt argument handling. This evidence is useful for MCP server tools resources and prompts but would not isolate the primary failure in this scenario. The decisive check is: Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution. Situation: A coding agent retrieves a build status through MCP, then claims deployment succeeded without checking the pipeline result.
B:Inspect connection lifecycle, stdio process ownership, network origin, authorization headers and server logs. This evidence is useful for MCP stdio versus network transport and authentication but would not isolate the primary failure in this scenario. The decisive check is: Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution. Situation: A coding agent retrieves a build status through MCP, then claims deployment succeeded without checking the pipeline result.
C:Inspect tool_use blocks, execution host, permission context, tool_result pairing and response continuation. This evidence is useful for Client-side and server-side tool execution but would not isolate the primary failure in this scenario. The decisive check is: Inspect MCP catalog, active connection scopes, user permissions, tool results and source attribution. Situation: A coding agent retrieves a build status through MCP, then claims deployment succeeded without checking the pipeline result.
Question 434
A test runner attributes a shell command to the wrong session after two concurrent agent invocations. Which observed result BEST demonstrates the requirement has been satisfied?
- High-impact actions remain pending until a named approver confirms the exact effect, while harmless analysis completes automatically.
- A completed task ends after a verified result; repeated failed calls terminate with an actionable diagnosis instead of looping.
- Resumed work retains user-approved constraints and resolved decisions without leaking unrelated prior-session information.
- A controlled agent run reaches the intended goal with attributable tools and no access beyond its allowed environment.
Explanation
Correct Answer
D:A controlled agent run reaches the intended goal with attributable tools and no access beyond its allowed environment. An Agent SDK manages orchestration plumbing but developers still own tool authorization, state scope, and failure handling. Situation: A test runner attributes a shell command to the wrong session after two concurrent agent invocations.
Incorrect Answers
A: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: A controlled agent run reaches the intended goal with attributable tools and no access beyond its allowed environment. Situation: A test runner attributes a shell command to the wrong session after two concurrent agent invocations.
B:A completed task ends after a verified result; repeated failed calls terminate with an actionable diagnosis instead of looping. This result tests Agent state and stopping criteria, not the requirement demonstrated by this case. The relevant acceptance condition is: A controlled agent run reaches the intended goal with attributable tools and no access beyond its allowed environment. Situation: A test runner attributes a shell command to the wrong session after two concurrent agent invocations.
C:Resumed work retains user-approved constraints and resolved decisions without leaking unrelated prior-session information. This result tests Agent long-term memory and compaction, not the requirement demonstrated by this case. The relevant acceptance condition is: A controlled agent run reaches the intended goal with attributable tools and no access beyond its allowed environment. Situation: A test runner attributes a shell command to the wrong session after two concurrent agent invocations.
Question 435
An app retries a tool that created a support ticket after a read timeout and opens five identical cases. Which observed result BEST demonstrates the requirement has been satisfied?
- The delivered prototype passes representative stakeholder acceptance cases without assuming a polished chatbot satisfies business needs.
- Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable.
- Claude Code applies the intended project conventions for the relevant subtree without cross-project spillover.
- A test can reproduce an integration failure without calling production APIs, and a changed prompt does not break unrelated billing logic.
Explanation
Correct Answer
B:Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable. A timeout after a write does not prove the write failed, so blind replays can cause duplicate effects. Situation: An app retries a tool that created a support ticket after a read timeout and opens five identical cases.
Incorrect Answers
A:The delivered prototype passes representative stakeholder acceptance cases without assuming a polished chatbot satisfies business needs. This result tests Business requirement to acceptance specification, not the requirement demonstrated by this case. The relevant acceptance condition is: Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable. Situation: An app retries a tool that created a support ticket after a read timeout and opens five identical cases.
C: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: Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable. Situation: An app retries a tool that created a support ticket after a read timeout and opens five identical cases.
D:A test can reproduce an integration failure without calling production APIs, and a changed prompt does not break unrelated billing logic. This result tests Refactoring and separation of concerns, not the requirement demonstrated by this case. The relevant acceptance condition is: Transient failures recover without duplicating stateful writes; permanent errors remain visible and actionable. Situation: An app retries a tool that created a support ticket after a read timeout and opens five identical cases.
Question 436
A Claude API client retries a malformed 400 request repeatedly and never surfaces the offending field. Which development or architectural response BEST addresses the primary requirement?
- Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default.
- Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler.
- Construct Messages API requests with the system parameter, correctly typed user/assistant messages and ordered content blocks instead of assuming a generic chat log format.
- Interpret API response codes and retry only transient failures using bounded exponential backoff, idempotency safeguards and observable attempts.
Explanation
Correct Answer
D:Interpret API response codes and retry only transient failures using bounded exponential backoff, idempotency safeguards and observable attempts. A timeout after a write does not prove the write failed, so blind replays can cause duplicate effects. Verify the prerequisites with: Inspect HTTP code, rate-limit headers, timeout phase, request identity, backoff schedule and side effects. Situation: A Claude API client retries a malformed 400 request repeatedly and never surfaces the offending field.
Incorrect Answers
A:Use scoped settings and environment-specific permission policies instead of granting all shell and file operations by default. This response is designed for Environment and permission settings.json controls; it is not the controlling fix in the situation. Configuration settings control behavior but should not be confused with external service authorization. Here the targeted response is: Interpret API response codes and retry only transient failures using bounded exponential backoff, idempotency safeguards and observable attempts. Situation: A Claude API client retries a malformed 400 request repeatedly and never surfaces the offending field.
B:Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler. This response is designed for Refactoring and separation of concerns; it is not the controlling fix in the situation. Modular boundaries make behavioral tests reliable and limit unintended effects from model-oriented code. Here the targeted response is: Interpret API response codes and retry only transient failures using bounded exponential backoff, idempotency safeguards and observable attempts. Situation: A Claude API client retries a malformed 400 request repeatedly and never surfaces the offending field.
C:Construct Messages API requests with the system parameter, correctly typed user/assistant messages and ordered content blocks instead of assuming a generic chat log format. This response is designed for Messages API role and content structure; it is not the controlling fix in the situation. The Claude Messages API has explicit message/content schema; inventing roles or losing block order can alter behavior or cause errors. Here the targeted response is: Interpret API response codes and retry only transient failures using bounded exponential backoff, idempotency safeguards and observable attempts. Situation: A Claude API client retries a malformed 400 request repeatedly and never surfaces the offending field.
Question 437
A team debugs a tool call by inspecting serialized REST payloads behind its SDK helper. Which development or architectural response BEST addresses the primary requirement?
- 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.
- Select supported thinking or effort settings according to task complexity, latency and available token budgets; do not assume all models accept identical options.
- Configure connection and read timeouts, retry budgets and cancellation so slow models and broken connections do not occupy server workers forever.
- Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call.
Explanation
Correct Answer
A:Use an official supported SDK when it reduces integration boilerplate, or direct REST when low-level request control is required, while retaining observable HTTP errors. SDKs wrap the underlying API; they do not eliminate rate limits, authentication or data-validation responsibilities. Verify the prerequisites with: Inspect language runtime, SDK version, endpoint behavior, network middleware and response serialization. Situation: A team debugs a tool call by inspecting serialized REST payloads behind its SDK helper.
Incorrect Answers
B: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: 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. Situation: A team debugs a tool call by inspecting serialized REST payloads behind its SDK helper.
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: 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. Situation: A team debugs a tool call by inspecting serialized REST payloads behind its SDK helper.
D:Select Claude model tier based on measured quality, latency, throughput and per-request cost rather than using the most expensive model for every call. This response is designed for Opus Sonnet and Haiku tradeoffs; it is not the controlling fix in the situation. Model tiers offer different capability/cost/latency profiles; names alone do not prove performance on a customer's tasks. Here the targeted response is: 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. Situation: A team debugs a tool call by inspecting serialized REST payloads behind its SDK helper.
Question 438
A team builds its own file search endpoint even though the existing trusted search tool supports the needed retrieval. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.
- Local or remote MCP sessions exchange valid messages without exposing privileged tools beyond their authorized boundary.
- Inspect skill manifest, invocation criteria, included files, expected outputs and versioning.
- Select plugins, Skills, subagents and MCP servers according to the required lifecycle and document dependencies, permissions and upgrade behavior.
- Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization.
- Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes.
Explanation
Correct Answers
D:Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization. Each custom integration adds maintenance and trust boundaries; novelty is not an architectural benefit. Verify the prerequisites with: Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes. Situation: A team builds its own file search endpoint even though the existing trusted search tool supports the needed retrieval.
E:Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes. Each custom integration adds maintenance and trust boundaries; novelty is not an architectural benefit. The appropriate response is: Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization. Situation: A team builds its own file search endpoint even though the existing trusted search tool supports the needed retrieval.
Incorrect Answers
A:Local or remote MCP sessions exchange valid messages without exposing privileged tools beyond their authorized boundary. This step may apply to MCP stdio versus network transport and authentication but is not one of the two required complementary decisions. The relevant pair is: Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization. and Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes. Situation: A team builds its own file search endpoint even though the existing trusted search tool supports the needed retrieval.
B: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: Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization. and Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes. Situation: A team builds its own file search endpoint even though the existing trusted search tool supports the needed retrieval.
C:Select plugins, Skills, subagents and MCP servers according to the required lifecycle and document dependencies, permissions and upgrade behavior. 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: Prefer a supported built-in capability when it satisfies requirements, and create a custom tool only for specific missing data or operations with clear authorization. and Inspect required feature set, maintenance burden, tool scope, integration permissions and failure modes. Situation: A team builds its own file search endpoint even though the existing trusted search tool supports the needed retrieval.
Question 439
A booking agent cannot contact the payment gateway and needs to preserve the unpaid state instead of claiming completion. Which observed result BEST demonstrates the requirement has been satisfied?
- Ambiguous or unsupported cases produce traceable escalation instead of unapproved automated decisions.
- Claude Code applies the intended project conventions for the relevant subtree without cross-project spillover.
- The application preserves intended behavior across supported providers or reports an unsupported feature explicitly.
- The chosen deployment meets documented region, security, capacity and availability requirements under representative load.
Explanation
Correct Answer
A: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 booking agent cannot contact the payment gateway and needs to preserve the unpaid state instead of claiming completion.
Incorrect Answers
B: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: Ambiguous or unsupported cases produce traceable escalation instead of unapproved automated decisions. Situation: A booking agent cannot contact the payment gateway and needs to preserve the unpaid state instead of claiming completion.
C: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: Ambiguous or unsupported cases produce traceable escalation instead of unapproved automated decisions. Situation: A booking agent cannot contact the payment gateway and needs to preserve the unpaid state instead of claiming completion.
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 booking agent cannot contact the payment gateway and needs to preserve the unpaid state instead of claiming completion.
Question 440
An agent proposes deleting unused cloud storage but no human has confirmed the objects are unneeded. What evidence or diagnostic detail should the engineer inspect FIRST?
- Inspect data classification, redaction process, consent, allowed retention and output scanning.
- Inspect change diff, affected resources, approval identity, reversibility and fallback plans.
- 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.
Explanation
Correct Answer
B:Inspect change diff, affected resources, approval identity, reversibility and fallback plans. Tool execution is an external action whose authorization cannot be inferred from a model's textual approval. The appropriate response is: Require explicit review for irreversible or high-impact tool effects and plan rollbacks for permitted changes that may fail. Situation: An agent proposes deleting unused cloud storage but no human has confirmed the objects are unneeded.
Incorrect Answers
A:Inspect data classification, redaction process, consent, allowed retention and output scanning. This evidence is useful for PII minimization and output privacy but would not isolate the primary failure in this scenario. The decisive check is: Inspect change diff, affected resources, approval identity, reversibility and fallback plans. Situation: An agent proposes deleting unused cloud storage but no human has confirmed the objects are unneeded.
C:Inspect 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 change diff, affected resources, approval identity, reversibility and fallback plans. Situation: An agent proposes deleting unused cloud storage but no human has confirmed the objects are unneeded.
D:Inspect role grants, action allowlist, dangerous effects, approval records and network egress. This evidence is useful for Defense-in-depth guardrails around agent tools but would not isolate the primary failure in this scenario. The decisive check is: Inspect change diff, affected resources, approval identity, reversibility and fallback plans. Situation: An agent proposes deleting unused cloud storage but no human has confirmed the objects are unneeded.