Anthropic CCDV-F (Claude Certified Developer - Foundations) Practice Test 20

Question 190

During a language-model integration rollout, two different failure paths need remediation. The first component must serve a mixed coding and support assistant at moderate latency and cost; separately, the second must classify many short messages where low latency and unit cost dominate. Which changes should be adopted?

  1. First component: Prefer a Sonnet-class model for balanced workloads. Second component: Pin model versions during a migration.
  2. First component: Prefer a Sonnet-class model for balanced workloads. Second component: Prefer a Haiku-class model for lightweight routing.
  3. First component: Pin model versions during a migration. Second component: Prefer a high-capability Opus-class model.
  4. First component: Prefer a high-capability Opus-class model. Second component: Prefer a Haiku-class model for lightweight routing.

Explanation

Correct Answer

B:

The first proposal fits its assigned role because the balanced tier often offers a practical quality-throughput compromise, subject to task-level testing, while the second proposal fits its assigned role because the lighter tier suits inexpensive, high-throughput tasks with modest reasoning demand; their respective acceptance criteria are to serve a mixed coding and support assistant at moderate latency and cost and to classify many short messages where low latency and unit cost dominate.

Incorrect Answers

A:

The first proposal fits its assigned role because the balanced tier often offers a practical quality-throughput compromise, subject to task-level testing, while the second proposal serves the different purpose to detect behavior changes before a newly released model reaches customers instead of the assigned second role because explicit IDs and a staged rollout make differences attributable and reversible; their respective acceptance criteria are to serve a mixed coding and support assistant at moderate latency and cost and to classify many short messages where low latency and unit cost dominate.

C:

The first proposal serves the different purpose to detect behavior changes before a newly released model reaches customers instead of the assigned first role because explicit IDs and a staged rollout make differences attributable and reversible, while the second proposal serves the different purpose to handle a rare complex architecture review where reasoning accuracy outweighs cost and latency instead of the assigned second role because the capability-oriented tier is suited to the hardest tasks after evaluation confirms an advantage; their respective acceptance criteria are to serve a mixed coding and support assistant at moderate latency and cost and to classify many short messages where low latency and unit cost dominate.

D:

The first proposal serves the different purpose to handle a rare complex architecture review where reasoning accuracy outweighs cost and latency instead of the assigned first role because the capability-oriented tier is suited to the hardest tasks after evaluation confirms an advantage, while the second proposal fits its assigned role because the lighter tier suits inexpensive, high-throughput tasks with modest reasoning demand; their respective acceptance criteria are to serve a mixed coding and support assistant at moderate latency and cost and to classify many short messages where low latency and unit cost dominate.

Question 191

A data pipeline team is evaluating two disjoint use cases. For one use case, it must actually retrieve a customer's order status requested by Claude; for the other, it must continue the agent loop when Claude is waiting for external observations. Which paired choices are justified?

  1. First component: Process tool_use responses in the application. Second component: Reconcile batch responses by custom_id.
  2. First component: Reconcile batch responses by custom_id. Second component: Use SSE streaming for partial response delivery.
  3. First component: Use SSE streaming for partial response delivery. Second component: Handle the tool_use stop_reason.
  4. First component: Process tool_use responses in the application. Second component: Handle the tool_use stop_reason.

Explanation

Correct Answer

D:

The first proposal fits its assigned role because client tools execute in application code; the model emits structured requests but does not invoke external functions itself, while the second proposal fits its assigned role because this stop reason means tool calls need to be executed and their results returned before synthesis; their respective acceptance criteria are to actually retrieve a customer's order status requested by Claude and to continue the agent loop when Claude is waiting for external observations.

Incorrect Answers

A:

The first proposal fits its assigned role because client tools execute in application code; the model emits structured requests but does not invoke external functions itself, while the second proposal serves the different purpose to match returned batch results to the right source documents despite varying completion order instead of the assigned second role because a caller-assigned identifier links each result to the original request independently of result ordering; their respective acceptance criteria are to actually retrieve a customer's order status requested by Claude and to continue the agent loop when Claude is waiting for external observations.

B:

The first proposal serves the different purpose to match returned batch results to the right source documents despite varying completion order instead of the assigned first role because a caller-assigned identifier links each result to the original request independently of result ordering, while the second proposal serves the different purpose to display a long report as it is generated rather than waiting for the full completion instead of the assigned second role because streaming yields ordered events and content deltas that the client assembles into the final response; their respective acceptance criteria are to actually retrieve a customer's order status requested by Claude and to continue the agent loop when Claude is waiting for external observations.

C:

The first proposal serves the different purpose to display a long report as it is generated rather than waiting for the full completion instead of the assigned first role because streaming yields ordered events and content deltas that the client assembles into the final response, while the second proposal fits its assigned role because this stop reason means tool calls need to be executed and their results returned before synthesis; their respective acceptance criteria are to actually retrieve a customer's order status requested by Claude and to continue the agent loop when Claude is waiting for external observations.

Question 192

A production-readiness check for an MCP interoperability component requires the service to give a coding agent a consistent review playbook and supporting assets. Which approach passes this check?

  1. Publish an MCP server for reusable integrations
  2. Combine tool access with human confirmation
  3. Use hooks for enforceable safety checks
  4. Package a Skill for reusable guidance

Explanation

Correct Answer

D:

A Skill provides task procedures and resources that the agent can load when applicable; this behavior directly supports the need to give a coding agent a consistent review playbook and supporting assets. It is not an authorization mechanism for reaching enterprise systems.

Incorrect Answers

A:

This approach serves the separate need to make one internal ticketing connector available to several agent clients because MCP standardizes tool and resource discovery across compatible applications; it does not establish the outcome to give a coding agent a consistent review playbook and supporting assets, and duplicated per-client wrappers increase maintenance across a growing ecosystem.

B:

Tools supply actionable capabilities while a separate approval step governs sensitive execution; despite being useful when a service must enable a customer service agent to prepare but not autonomously approve account closures, it is not a solution to give a coding agent a consistent review playbook and supporting assets; access to a function does not imply authority to invoke it without review.

C:

For the alternate objective to deny destructive filesystem operations before a coding agent executes them, runtime interception can apply deterministic policies to proposed actions; the feature here must give a coding agent a consistent review playbook and supporting assets, and a skill that asks for caution does not guarantee prevention.

Question 193

An agent platform team is evaluating two disjoint use cases. For one use case, it must maintain a valid transcript when the model requests multiple tools; for the other, it must recover from a failed search while preserving the agent's chance to choose another path. Which paired choices are justified?

  1. First component: Use a durable session store. Second component: Return a structured tool error to the model.
  2. First component: Keep user-specific state out of a shared agent process. Second component: Use a durable session store.
  3. First component: Preserve assistant tool-use content in conversation history. Second component: Return a structured tool error to the model.
  4. First component: Preserve assistant tool-use content in conversation history. Second component: Keep user-specific state out of a shared agent process.

Explanation

Correct Answer

C:

The first proposal fits its assigned role because the next request retains the assistant message containing tool_use blocks before providing their user-role tool_result blocks, while the second proposal fits its assigned role because tool-result errors surface the failure without impersonating a successful action; their respective acceptance criteria are to maintain a valid transcript when the model requests multiple tools and to recover from a failed search while preserving the agent's chance to choose another path.

Incorrect Answers

A:

The first proposal serves the different purpose to recover agent state when a container restarts during a lengthy customer case instead of the assigned first role because external persistence holds the conversation and workflow metadata needed to resume safely, while the second proposal fits its assigned role because tool-result errors surface the failure without impersonating a successful action; their respective acceptance criteria are to maintain a valid transcript when the model requests multiple tools and to recover from a failed search while preserving the agent's chance to choose another path.

B:

The first proposal serves the different purpose to serve many tenants without mixing their tool outputs or prior messages instead of the assigned first role because per-request identity and session boundaries prevent cross-tenant context leakage, while the second proposal serves the different purpose to recover agent state when a container restarts during a lengthy customer case instead of the assigned second role because external persistence holds the conversation and workflow metadata needed to resume safely; their respective acceptance criteria are to maintain a valid transcript when the model requests multiple tools and to recover from a failed search while preserving the agent's chance to choose another path.

D:

The first proposal fits its assigned role because the next request retains the assistant message containing tool_use blocks before providing their user-role tool_result blocks, while the second proposal serves the different purpose to serve many tenants without mixing their tool outputs or prior messages instead of the assigned second role because per-request identity and session boundaries prevent cross-tenant context leakage; their respective acceptance criteria are to maintain a valid transcript when the model requests multiple tools and to recover from a failed search while preserving the agent's chance to choose another path.

Question 194

A backend integration solution has parallel requirements with separate owners. Workstream one must uncover prompt-injection paths through retrieved webpages and connected tools; workstream two must deploy a prompt change without exposing every customer to an untested regression. Which combination meets both?

  1. First component: Perform a threat review before go-live. Second component: Define a staged release with rollback.
  2. First component: Use a proof of concept before production commitment. Second component: Define a staged release with rollback.
  3. First component: Assign an owner to every integration. Second component: Use a proof of concept before production commitment.
  4. First component: Perform a threat review before go-live. Second component: Assign an owner to every integration.

Explanation

Correct Answer

A:

The first proposal fits its assigned role because reviewing trust boundaries and permissions before deployment reveals attack routes unit tests may miss, while the second proposal fits its assigned role because gradual rollout and versioned rollback allow metrics to be compared while limiting impact; their respective acceptance criteria are to uncover prompt-injection paths through retrieved webpages and connected tools and to deploy a prompt change without exposing every customer to an untested regression.

Incorrect Answers

B:

The first proposal serves the different purpose to test whether document classification quality is viable on representative files instead of the assigned first role because a small pilot reduces feasibility risk before funding a complete integration, while the second proposal fits its assigned role because gradual rollout and versioned rollback allow metrics to be compared while limiting impact; their respective acceptance criteria are to uncover prompt-injection paths through retrieved webpages and connected tools and to deploy a prompt change without exposing every customer to an untested regression.

C:

The first proposal serves the different purpose to prevent abandoned connectors from retaining access after an application is transferred instead of the assigned first role because ownership enables rotation, monitoring, change approval, and retirement decisions, while the second proposal serves the different purpose to test whether document classification quality is viable on representative files instead of the assigned second role because a small pilot reduces feasibility risk before funding a complete integration; their respective acceptance criteria are to uncover prompt-injection paths through retrieved webpages and connected tools and to deploy a prompt change without exposing every customer to an untested regression.

D:

The first proposal fits its assigned role because reviewing trust boundaries and permissions before deployment reveals attack routes unit tests may miss, while the second proposal serves the different purpose to prevent abandoned connectors from retaining access after an application is transferred instead of the assigned second role because ownership enables rotation, monitoring, change approval, and retirement decisions; their respective acceptance criteria are to uncover prompt-injection paths through retrieved webpages and connected tools and to deploy a prompt change without exposing every customer to an untested regression.

Question 195

An application security group is preparing a production change intended to prevent unreviewed bulk downloads triggered by an agent's tool plan. Which technique matches that intent?

  1. Apply retention limits to diagnostic logs
  2. Scope database credentials by tenant and operation
  3. Treat tool and retrieval text as untrusted
  4. Add an explicit export approval check
  5. Minimize personally identifiable information

Explanation

Correct Answer

D:

A separate authorization or human approval step can gate high-impact operations; this behavior directly supports the need to prevent unreviewed bulk downloads triggered by an agent's tool plan. The model's confidence in its own plan does not grant export permission.

Incorrect Answers

A:

Data minimization and controlled retention reduce the duration and audience of sensitive log content; the supported outcome is to reduce exposure of customer documents copied into application telemetry, whereas this scenario requires the ability to prevent unreviewed bulk downloads triggered by an agent's tool plan; an internal log is still a data store requiring access controls.

B:

This approach serves the separate need to prevent a read-only support tool from modifying billing tables because least-privilege identity limits the damage from a manipulated tool call; it does not establish the outcome to prevent unreviewed bulk downloads triggered by an agent's tool plan, and a broad administrator token bypasses application intent.

C:

Lower-trust content is evidence only; control decisions remain with authenticated policy and tool gates; despite being useful when a service must stop an injected wiki page from asking an assistant to export credentials, it is not a solution to prevent unreviewed bulk downloads triggered by an agent's tool plan; a model can be persuaded by source text unless boundaries are enforced.

E:

Redaction and selective fields reduce exposure before data enters model or logging paths; this applies to the different goal to avoid transmitting unnecessary customer identifiers with a summarization request, not the requirement to prevent unreviewed bulk downloads triggered by an agent's tool plan; logging every full prompt can defeat otherwise careful minimization.

Question 196

During a latency optimization rollout, two different failure paths need remediation. The first component must estimate model-token input demand before launching a large processing job; separately, the second must avoid unauthenticated model requests from a backend worker. Which changes should be adopted?

  1. First component: Use the Messages count_tokens capability. Second component: Use direct HTTP REST integration for unsupported runtimes.
  2. First component: Use the Messages count_tokens capability. Second component: Send the correct API authentication header.
  3. First component: Send an API version header where required. Second component: Send the correct API authentication header.
  4. First component: Use direct HTTP REST integration for unsupported runtimes. Second component: Send an API version header where required.

Explanation

Correct Answer

B:

The first proposal fits its assigned role because token counting helps check input budgets before generation and cost planning, while the second proposal fits its assigned role because the API validates the provided credential before accepting a request; their respective acceptance criteria are to estimate model-token input demand before launching a large processing job and to avoid unauthenticated model requests from a backend worker.

Incorrect Answers

A:

The first proposal fits its assigned role because token counting helps check input budgets before generation and cost planning, while the second proposal serves the different purpose to call the Messages endpoint from a language without a mature provider SDK instead of the assigned second role because a standards-based HTTP client can send JSON requests with the correct headers and decode responses; their respective acceptance criteria are to estimate model-token input demand before launching a large processing job and to avoid unauthenticated model requests from a backend worker.

C:

The first proposal serves the different purpose to keep integration behavior aligned with a supported request contract instead of the assigned first role because explicit protocol versioning makes the caller's expected API semantics unambiguous, while the second proposal fits its assigned role because the API validates the provided credential before accepting a request; their respective acceptance criteria are to estimate model-token input demand before launching a large processing job and to avoid unauthenticated model requests from a backend worker.

D:

The first proposal serves the different purpose to call the Messages endpoint from a language without a mature provider SDK instead of the assigned first role because a standards-based HTTP client can send JSON requests with the correct headers and decode responses, while the second proposal serves the different purpose to keep integration behavior aligned with a supported request contract instead of the assigned second role because explicit protocol versioning makes the caller's expected API semantics unambiguous; their respective acceptance criteria are to estimate model-token input demand before launching a large processing job and to avoid unauthenticated model requests from a backend worker.

Question 197

A technical specification for a data pipeline application assigns two jobs to separate modules: module A must constrain a repository coding assistant's allowed tools and execution behavior, and module B must allow broad exploratory tools in a sandbox but only approved reads in production. Which two-part solution is appropriate?

  1. First component: Use settings.json for Claude Code permissions. Second component: Store API keys in managed secret storage.
  2. First component: Store API keys in managed secret storage. Second component: Put repository guidance in CLAUDE.md.
  3. First component: Put repository guidance in CLAUDE.md. Second component: Use separate permission profiles by environment.
  4. First component: Use settings.json for Claude Code permissions. Second component: Use separate permission profiles by environment.

Explanation

Correct Answer

D:

The first proposal fits its assigned role because permission settings define configurable controls for Claude Code rather than merely describing preferences, while the second proposal fits its assigned role because environment-scoped policy avoids inheriting development privileges in a live setting; their respective acceptance criteria are to constrain a repository coding assistant's allowed tools and execution behavior and to allow broad exploratory tools in a sandbox but only approved reads in production.

Incorrect Answers

A:

The first proposal fits its assigned role because permission settings define configurable controls for Claude Code rather than merely describing preferences, while the second proposal serves the different purpose to rotate production credentials without committing new source code instead of the assigned second role because central secret management supports scoped access, auditing, and key rotation; their respective acceptance criteria are to constrain a repository coding assistant's allowed tools and execution behavior and to allow broad exploratory tools in a sandbox but only approved reads in production.

B:

The first proposal serves the different purpose to rotate production credentials without committing new source code instead of the assigned first role because central secret management supports scoped access, auditing, and key rotation, while the second proposal serves the different purpose to give Claude Code the project's build, test, and architecture conventions instead of the assigned second role because repository memory files provide persistent instructional context to coding sessions; their respective acceptance criteria are to constrain a repository coding assistant's allowed tools and execution behavior and to allow broad exploratory tools in a sandbox but only approved reads in production.

C:

The first proposal serves the different purpose to give Claude Code the project's build, test, and architecture conventions instead of the assigned first role because repository memory files provide persistent instructional context to coding sessions, while the second proposal fits its assigned role because environment-scoped policy avoids inheriting development privileges in a live setting; their respective acceptance criteria are to constrain a repository coding assistant's allowed tools and execution behavior and to allow broad exploratory tools in a sandbox but only approved reads in production.

Question 198

After pilot feedback, a document processing group needs two independent improvements. The first is to display a long report as it is generated rather than waiting for the full completion; the second is to analyze a photographed shipping label with the supported multimodal Messages input. Which engineering proposal handles both?

  1. First component: Use SSE streaming for partial response delivery. Second component: Include an image content block.
  2. First component: Handle the tool_use stop_reason. Second component: Call the Messages API with explicit model and max_tokens.
  3. First component: Use SSE streaming for partial response delivery. Second component: Handle the tool_use stop_reason.
  4. First component: Call the Messages API with explicit model and max_tokens. Second component: Include an image content block.

Explanation

Correct Answer

A:

The first proposal fits its assigned role because streaming yields ordered events and content deltas that the client assembles into the final response, while the second proposal fits its assigned role because image inputs are supplied as typed content with appropriate source data or references; their respective acceptance criteria are to display a long report as it is generated rather than waiting for the full completion and to analyze a photographed shipping label with the supported multimodal Messages input.

Incorrect Answers

B:

The first proposal serves the different purpose to continue the agent loop when Claude is waiting for external observations instead of the assigned first role because this stop reason means tool calls need to be executed and their results returned before synthesis, while the second proposal serves the different purpose to return an answer to a short user request through a backend service instead of the assigned second role because a message request identifies the target model, a message list, and an output-token ceiling; their respective acceptance criteria are to display a long report as it is generated rather than waiting for the full completion and to analyze a photographed shipping label with the supported multimodal Messages input.

C:

The first proposal fits its assigned role because streaming yields ordered events and content deltas that the client assembles into the final response, while the second proposal serves the different purpose to continue the agent loop when Claude is waiting for external observations instead of the assigned second role because this stop reason means tool calls need to be executed and their results returned before synthesis; their respective acceptance criteria are to display a long report as it is generated rather than waiting for the full completion and to analyze a photographed shipping label with the supported multimodal Messages input.

D:

The first proposal serves the different purpose to return an answer to a short user request through a backend service instead of the assigned first role because a message request identifies the target model, a message list, and an output-token ceiling, while the second proposal fits its assigned role because image inputs are supplied as typed content with appropriate source data or references; their respective acceptance criteria are to display a long report as it is generated rather than waiting for the full completion and to analyze a photographed shipping label with the supported multimodal Messages input.

Question 199

A customer platform solution has parallel requirements with separate owners. Workstream one must let an operator approve a proposed customer-address change before submission; workstream two must ensure an API assistant consistently uses a defined support role across requests. Which combination meets both?

  1. First component: Expose a review screen before tool-based writes. Second component: Place durable behavior instructions in the system parameter.
  2. First component: Expose a review screen before tool-based writes. Second component: Add explicit provenance to retrieved evidence.
  3. First component: Treat retrieval results as untrusted data. Second component: Place durable behavior instructions in the system parameter.
  4. First component: Add explicit provenance to retrieved evidence. Second component: Treat retrieval results as untrusted data.

Explanation

Correct Answer

A:

The first proposal fits its assigned role because a confirmation UI converts a model suggestion into a separately authorized human action, while the second proposal fits its assigned role because system-level guidance supplies application-wide instruction context, separate from each user's task content; their respective acceptance criteria are to let an operator approve a proposed customer-address change before submission and to ensure an API assistant consistently uses a defined support role across requests.

Incorrect Answers

B:

The first proposal fits its assigned role because a confirmation UI converts a model suggestion into a separately authorized human action, while the second proposal serves the different purpose to let reviewers trace each summary claim to its authoritative document version instead of the assigned second role because source identifiers, timestamps, and passage boundaries make citations and later audits possible; their respective acceptance criteria are to let an operator approve a proposed customer-address change before submission and to ensure an API assistant consistently uses a defined support role across requests.

C:

The first proposal serves the different purpose to prevent a malicious help article from ordering the model to reveal secrets instead of the assigned first role because retrieved content should be framed as evidence, never upgraded to new tool or system authority, while the second proposal fits its assigned role because system-level guidance supplies application-wide instruction context, separate from each user's task content; their respective acceptance criteria are to let an operator approve a proposed customer-address change before submission and to ensure an API assistant consistently uses a defined support role across requests.

D:

The first proposal serves the different purpose to let reviewers trace each summary claim to its authoritative document version instead of the assigned first role because source identifiers, timestamps, and passage boundaries make citations and later audits possible, while the second proposal serves the different purpose to prevent a malicious help article from ordering the model to reveal secrets instead of the assigned second role because retrieved content should be framed as evidence, never upgraded to new tool or system authority; their respective acceptance criteria are to let an operator approve a proposed customer-address change before submission and to ensure an API assistant consistently uses a defined support role across requests.

Question 200

In a conversation design project, acceptance test A checks whether a component can reduce unsupported claims in answers about internal procedures. Acceptance test B checks whether a different component can distinguish near-duplicate support intents that a broad rule routinely confuses. Which plan satisfies both tests?

  1. First component: Request evidence before conclusions. Second component: Use few-shot boundary cases.
  2. First component: Request evidence before conclusions. Second component: Use a stepwise decomposition.
  3. First component: Use a stepwise decomposition. Second component: Separate system policy from user content.
  4. First component: Separate system policy from user content. Second component: Use few-shot boundary cases.

Explanation

Correct Answer

A:

The first proposal fits its assigned role because asking for citations to provided excerpts promotes inspectable grounding and makes verification possible, while the second proposal fits its assigned role because examples illustrating each side of a decision boundary communicate nuanced classification criteria; their respective acceptance criteria are to reduce unsupported claims in answers about internal procedures and to distinguish near-duplicate support intents that a broad rule routinely confuses.

Incorrect Answers

B:

The first proposal fits its assigned role because asking for citations to provided excerpts promotes inspectable grounding and makes verification possible, while the second proposal serves the different purpose to solve a complex migration comparison that requires several distinct checks instead of the assigned second role because breaking the work into verifiable stages lets the application check intermediate artifacts; their respective acceptance criteria are to reduce unsupported claims in answers about internal procedures and to distinguish near-duplicate support intents that a broad rule routinely confuses.

C:

The first proposal serves the different purpose to solve a complex migration comparison that requires several distinct checks instead of the assigned first role because breaking the work into verifiable stages lets the application check intermediate artifacts, while the second proposal serves the different purpose to prevent a customer message from overriding the application's escalation rules instead of the assigned second role because stable higher-priority instructions should be represented in the designated instruction channel; their respective acceptance criteria are to reduce unsupported claims in answers about internal procedures and to distinguish near-duplicate support intents that a broad rule routinely confuses.

D:

The first proposal serves the different purpose to prevent a customer message from overriding the application's escalation rules instead of the assigned first role because stable higher-priority instructions should be represented in the designated instruction channel, while the second proposal fits its assigned role because examples illustrating each side of a decision boundary communicate nuanced classification criteria; their respective acceptance criteria are to reduce unsupported claims in answers about internal procedures and to distinguish near-duplicate support intents that a broad rule routinely confuses.

Claude Certified Developer - Foundations (CCDV-F) Practice Tests