Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Anthropic Claude Certified Developer - Foundations CCDV-F Exam Questions

Last updated: · 14 practice questions with answers and explanations

Page: 1 / 10 Total 95 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Agents and Workflows

Skill tested: Selects workflow orchestration or agent autonomy based on task predictability and tool decisions.

A claims operations team processes a fixed sequence: extract fields from a submitted form, verify required fields, look up a policy number, and place records that fail validation in a review queue. The sequence and decision rules are stable, and every external write must be auditable. Claude may be used to interpret ambiguous free-text descriptions, but it should not decide which business steps to execute. The team wants to reduce unexpected actions while retaining language understanding where needed. Which architecture is most appropriate?

Correct Answer: D. Use a fixed workflow that invokes Claude for the ambiguous text interpretation and applies deterministic validation and routing in application code.
Explanation:

The processing order and routing rules are known in advance, so deterministic workflow orchestration provides predictable execution and auditable writes. Claude can still handle the genuinely language-dependent interpretation step, while application code enforces validation and routing. An autonomous agent or supervisor introduces discretionary planning that the business does not require. An open-ended loop also makes completion and control less deterministic than the stated process needs.

Question 2

New Multiple answers

Topic: Agents and Workflows

Skill tested: Designs bounded tool-use loops with subagents and context isolation for multi-step research.

A research assistant must compare several suppliers using public webpages and internal product specifications. It should choose which sources to consult, synthesize conflicting evidence, and cite the source records it used. Webpage content is untrusted, the main conversation must remain concise, and the assistant must not purchase products or modify supplier records. Select TWO design choices that best satisfy these requirements. Select two answers.

Correct Answer: A. Delegate independent supplier investigations to subagents, returning concise findings with source identifiers to the coordinator.; D. Use a bounded tool-use loop in which the application dispatches approved read-only search and retrieval tools and checks for completion or a stop condition.
Explanation:

A bounded tool-use loop lets the application control dispatch, enforce read-only permissions, and stop execution under defined conditions. Independent investigations can be isolated in subagents, with only concise findings and source identifiers returned to the coordinator; this also limits context growth. Write access is unnecessary and violates least privilege. Webpage instructions are untrusted data, not authority over the agent. Retaining every page in the main conversation increases context bloat rather than ensuring useful evidence is preserved.

Question 3

New Single answer

Topic: Applications and Integration

Skill tested: Implements Claude tool-use turns by dispatching requested tools and returning results in the conversation.

A support application sends a user message to Claude with a search tool available. The response contains a tool-use content block requesting a search, rather than a final answer. The application currently displays that block directly to the customer, so no search occurs and the response is incomplete. The search service is internal and must remain under application control; Claude cannot call it directly. What should the integration do next?

Correct Answer: A. Execute the named tool with its input, append the tool result using the tool-result protocol, and continue the conversation with Claude.
Explanation:

A tool-use response is a request for the client application to invoke the named tool, not a completed customer-facing answer. The integration should validate and dispatch the request to its internal search service, then send the result back in the corresponding tool-result message and let Claude continue. Re-prompting does not perform the requested operation. Rendering the input exposes an implementation detail and leaves the task unfinished, while asking the user to run an internal search changes the intended workflow.

Question 4

New Multiple answers

Topic: Applications and Integration

Skill tested: Distinguishes streaming response handling from complete-message parsing in asynchronous integrations.

A product team streams Claude responses to a web client to reduce perceived latency. The service also records the final assistant response as JSON for a downstream system. In production, partial text is sometimes shown correctly, but the JSON parser intermittently rejects records because it is invoked before the response is complete. The team must preserve streaming for the user interface and avoid treating partial content as a complete structured result. Select TWO changes that best address the issue. Select two answers.

Correct Answer: A. Use the stream's completion event or equivalent terminal signal to trigger final-message handling.; B. Continue rendering text deltas as they arrive, but assemble the completed message before validating or parsing its final structure.
Explanation:

Streaming delivers incremental events, so an intermediate fragment is not necessarily a complete JSON document. The interface can render deltas progressively while the server accumulates the message and performs final validation only after the terminal completion signal. Parsing fragments independently is not a reliable way to reconstruct a single structured response, and a valid prefix cannot establish that the remainder will conform. Disabling streaming everywhere would solve neither the design need nor the specific parsing lifecycle problem.

Question 5

New Single answer

Topic: Applications and Integration

Skill tested: Chooses application interfaces and session boundaries to meet privacy and integration requirements.

A hospital is prototyping an internal assistant that must retrieve patient-specific records only after the employee authenticates through the hospital identity system. The application needs server-side authorization checks, audit records tied to the employee, and integration with internal APIs. It must not rely on a consumer-facing session to enforce access to patient data. Which interface is the best fit for this application?

Correct Answer: D. A custom application using the Claude API, with the hospital enforcing identity, authorization, and auditing around tool access.
Explanation:

A custom API integration lets the hospital authenticate users, authorize each record lookup, constrain tool access, and create auditable links between actions and employees. Claude supplies model capabilities, but the application remains responsible for access control and data handling. A shared desktop or hosted chat workspace does not replace the required patient-specific authorization design. Claude Code is a development tool, not an appropriate production interface for serving authenticated clinical workflows.

Question 6

New Single answer

Topic: Applications and Integration

Skill tested: Uses pinned model identifiers and versioned prompts to control application changes across releases.

A financial services team has a production Claude application whose approved behavior depends on a tested model snapshot and a reviewed system prompt. A deployment pipeline currently selects the latest model alias automatically and stores prompt text only in a developer's local configuration. A provider release changes responses, and the team cannot reconstruct which prompt/model combination handled a transaction. They need reproducible releases and a controlled upgrade process, without preventing future model evaluation. What is the best change?

Correct Answer: C. Pin a supported model version and manage the prompt as a reviewed, versioned deployment artifact; upgrade through evaluation and release controls.
Explanation:

Pinning a supported model identifier and versioning the prompt make the deployed configuration reconstructable. The team can still evaluate newer releases and promote them through controlled testing rather than accepting behavior changes automatically. Asking the model to report its version is not a configuration control. Duplicating mutable instructions in user messages weakens governance, while recording outputs alone does not identify the configuration that produced them.

Question 7

New Single answer

Topic: Claude Code

Skill tested: Applies repository and user configuration precedence when maintaining Claude Code project instructions.

A development organization uses Claude Code in several repositories. One repository requires project-specific build and review instructions that all contributors should receive; individual engineers also have personal preferences that must not alter the repository's shared guidance. The repository has no existing Claude Code instruction file, and the team wants the guidance tracked with the code. What should the team do?

Correct Answer: B. Add the shared project guidance to the repository's CLAUDE.md and keep individual preferences in user-level configuration.
Explanation:

A repository CLAUDE.md is the appropriate place for shared project instructions that should be version-controlled and available to contributors working in that project. User-level guidance can hold personal preferences without making them repository policy. Settings files are primarily for configuration, not a substitute for natural-language project guidance. Requiring developers to invoke a collection of slash commands does not provide the same automatic project context and creates an avoidable compliance burden.

Question 8

New Single answer

Topic: Eval, Testing, and Debugging

Skill tested: Separates integration-layer failures from model-output failures using request and response traces.

An analytics assistant occasionally returns an empty dashboard summary. The trace for a failed request shows that the model produced a complete response containing a tool-use request with valid arguments. The application log has no corresponding tool invocation, and the dashboard renderer received an empty result. Similar requests succeed when a developer manually runs the requested tool. What is the most appropriate first diagnostic action?

Correct Answer: B. Inspect the tool-dispatch path and correlate the model's tool-use request with application invocation and tool-result logs.
Explanation:

The trace establishes that the model successfully requested a tool, while the application log lacks the expected dispatch. That points first to the integration layer: inspect routing, validation, error handling, and correlation identifiers between model output, tool execution, and returned tool results. Prompt changes or higher thinking effort do not repair a missing application invocation. Replacing the model is unsupported by the evidence, especially since the model produced a valid tool request and manual tool execution succeeds.

Question 9

New Multiple answers

Topic: Model Selection and Optimization

Skill tested: Balances model quality, latency, and cost by routing subtasks to suitable model tiers.

A customer-service platform handles large volumes of requests. Most are simple intent classification and short policy lookups, while a small fraction involve conflicting policies and require careful synthesis. The company has latency and cost targets for routine traffic, but quality matters more for the complex cases. It can evaluate its own representative workload and route requests in application code. Select TWO design choices that best meet the requirements. Select two answers.

Correct Answer: B. Use a faster, lower-cost suitable model for routine work and route cases requiring stronger reasoning to a more capable model.; C. Evaluate candidate models on representative tasks and monitor quality, latency, and usage cost before finalizing routing thresholds.
Explanation:

Model selection is a workload trade-off, not a single-model rule. Routing routine classification to a suitable faster and less expensive model can meet service targets, while reserving a more capable model for genuinely difficult synthesis protects quality where it matters. Representative evaluations and ongoing measurement are needed to validate the routing decision against actual requests. Using the largest model everywhere ignores cost and latency; context capacity alone is irrelevant to short inputs, and prompt length cannot reliably compensate for inadequate capability.

Question 10

New Multiple answers

Topic: Model Selection and Optimization

Skill tested: Identifies stable prompt prefixes and cache breakpoints to improve prompt-cache reuse.

A document-analysis service repeatedly sends the same long policy manual and extraction instructions for many independent requests. Only the final section, containing the current case facts, changes. The service tracks input-token cost and latency, but currently reconstructs the prompt so that case facts appear before the manual. The team wants to improve prompt-cache reuse without sharing case-specific information across users or changing the model's required task. Select TWO actions that best support this goal. Select two answers.

Correct Answer: A. Track cache-read and cache-write usage alongside total token usage to verify the expected savings.; B. Place stable shared instructions and the policy manual before the variable case-specific content, and use supported prompt-caching controls at an appropriate breakpoint.
Explanation:

Prompt caching can benefit from a stable prefix, so shared instructions and repeated manual content should precede request-specific facts, with supported cache controls and breakpoints used as appropriate. Usage records should be examined to confirm cache reads and writes and determine whether the change improves cost or latency. Putting unique content first reduces prefix reuse. Caching behavior and billing should not be assumed without measurement, and combining users' case facts would violate the requirement to keep sensitive data isolated.

Question 11

New Multiple answers

Topic: Prompt and Context Engineering

Skill tested: Constrains prompts and validates structured model output before downstream processing.

An inventory service asks Claude to extract a product identifier, quantity, and evidence excerpt from supplier messages. Downstream code currently trusts any response that appears to contain JSON. Supplier messages may include instructions such as "ignore the extraction task," and malformed or unsupported values must not update inventory. The service needs a robust boundary between untrusted source text, model output, and business actions. Select TWO measures that best meet this requirement. Select two answers.

Correct Answer: B. Clearly delimit supplier text as untrusted input and instruct Claude to extract only the requested fields, not follow embedded instructions.; D. Validate the response against an expected schema and business rules, rejecting or escalating invalid or unsupported values.
Explanation:

Delimiting supplier content and treating it as untrusted data reduces the chance that embedded instructions override the extraction task. Output validation is still required: schema checks catch structural problems, while business rules and evidence checks guard against unsupported values before inventory changes occur. JSON syntax alone does not establish correctness or authorization. Giving supplier text system-level placement reverses the trust boundary, and structured output constrains format rather than guaranteeing that extracted facts are true.

Question 12

New Single answer

Topic: Security and Safety

Skill tested: Enforces least privilege and approval controls for agent tools that can cause destructive changes.

An engineering assistant can inspect deployment logs and propose fixes. A requested feature would also let it delete production resources, but deployments require an authorized human approval and accidental deletion has high impact. The assistant runs in an environment with access to several cloud accounts. The team needs useful diagnostics while preventing an unapproved model action from becoming a destructive operation. Which design is most appropriate?

Correct Answer: B. Keep diagnostic access read-only, expose destructive operations only through a narrowly scoped tool with enforced authorization and human approval, and block unsafe actions deterministically.
Explanation:

The design should apply least privilege at the infrastructure and tool layers, not depend on the model to obey a prompt. Read-only diagnostics meet the assistant's normal need, while narrowly scoped destructive operations require application-enforced authorization and the stated human approval. A deterministic guard or hook can block prohibited actions before execution. Broad credentials, persuasive explanations, and a shared administrator key do not provide reliable authorization or adequate containment.

Question 13

New Single answer

Topic: Tools and MCPs

Skill tested: Selects MCP resources, tools, and prompts according to their distinct integration roles.

A documentation platform wants to expose three capabilities to Claude clients: stable reference documents that clients can read, an operation that searches current documentation based on query arguments, and reusable prompt templates for common documentation tasks. The platform wants a standardized interface that can be integrated by multiple MCP-compatible clients. Which design best matches these needs?

Correct Answer: A. Expose reference documents as MCP resources, dynamic search as an MCP tool, and reusable task templates as MCP prompts.
Explanation:

MCP distinguishes resources, tools, and prompts by role: resources provide data for clients to retrieve, tools perform operations such as a parameterized search, and prompts provide reusable prompt templates. This separation makes the server's capabilities clearer to MCP-compatible clients. Making static documents and templates tool calls obscures their intended use. Swapping the roles confuses data retrieval with action and prompt construction, while MCP is specifically intended to support standardized client-server integration.

Question 14

New Multiple answers

Topic: Tools and MCPs

Skill tested: Chooses between Skills, custom tools, and MCP servers based on reuse and integration needs.

A software organization wants Claude Code to follow a repeatable internal release-check procedure, call a deployment-status API through a governed interface, and let multiple MCP-compatible clients use that same API integration. The release procedure is guidance and should not itself grant deployment authority. The API must enforce authentication and return current status; deployment actions still require a separate approval process. Select TWO implementation choices that best fit the requirements. Select two answers.

Correct Answer: A. Implement the governed status lookup as an MCP server tool that clients can invoke through the standardized protocol.; B. Represent the reusable release-check procedure as a Skill, keeping its guidance separate from execution authority.
Explanation:

A Skill is suited to reusable procedural guidance, while an MCP server tool can provide a governed, callable status operation to multiple compatible clients. The server or its integration layer can enforce authentication and limit the operation to read-only status, leaving deployments subject to separate approval. Embedding credentials and authority in guidance is unsafe and conflates instructions with capabilities. A static prompt cannot provide current status, and a slash command does not by itself create a shared MCP service.