CCDV-FAnthropicPractice QuestionsClaude APIExam Prep

20 Free CCDV-F Practice Questions With Explanations [2026]

Preporato TeamAugust 16, 202618 min readCCDV-F
20 Free CCDV-F Practice Questions With Explanations [2026]

These 20 Claude Certified Developer - Foundations (CCDV-F) practice questions follow the shape of the real exam: a production scenario with a decision to make, four options, and about a quarter marked Select TWO. They are spread across all eight domains in proportion to the published weights, so Applications and Integration gets seven items and each of the two 3% domains gets one. Every question ends with the answer and an explanation of why the winning option wins and why each distractor loses, because CCDV-F distractors are real techniques applied in the wrong situation. Work through the set timed (about two and a half minutes per question), score yourself against the rubric below, then use the domain map at the end to decide what to read next.

Start Here

If the vocabulary in any question is unfamiliar, read the domain sections of the CCDV-F complete guide first. For the full-length experience, Preporato's CCDV-F practice tests offer 6 timed 53-question exams built on the same 8-domain blueprint, and the free CCDV-F sampler lets you try a set at no cost.

How CCDV-F questions are built, and how to score yourself

CCDV-F stems are short production scenarios that carry two or three constraints at once: a latency requirement, a cost ceiling, a data boundary, a parser downstream. Usually more than one option would work in some context. The exam asks for the best fit under the constraints actually stated, so the reading skill is spotting the dominant constraint (a person waiting on the response, a hard compliance requirement, an eval that already ruled something out) and letting it eliminate options before you weigh the rest. Multiple-response items work the same way, applied to each option independently; treat a Select TWO as two separate true-or-false judgments and count it correct only when both picks match.

Score this set the way you would read a practice test on preporato.com. Seventeen or more out of twenty means your judgment is where it needs to be and the remaining work is timed full-length practice. Fourteen to sixteen is borderline, pass-capable on a good day, so target the domains you missed. Under fourteen means the concepts need another pass through the guide before more questions will help.

How the 20 questions are distributed

DomainExam weightQuestions in this set
Applications and Integration33%7 (Q1, Q2, Q3, Q4, Q5, Q11, Q19)
Model Selection and Optimization17%3 (Q6, Q10, Q15)
Agents and Workflows15%3 (Q7, Q12, Q18)
Prompt and Context Engineering11%2 (Q8, Q13)
Tools and MCPs10%2 (Q9, Q16)
Security and Safety8%1 (Q14)
Claude Code3%1 (Q17)
Eval, Testing, and Debugging3%1 (Q20)

Preparing for CCDV-F? Practice with 390+ exam questions

The 20 practice questions

Questions 1–5

0/5 answered
Question 1Applications and Integration (33%)

A support chat product streams Claude's replies to the browser over server-sent events. Users report that some long answers stop mid-sentence, yet the interface renders them as finished. Logs for those turns show a final stop_reason of max_tokens. The team wants the smallest change that makes truncation visible and recoverable. What should the developer do?

Question 2Applications and Integration (33%)

A nightly enrichment job sends 400 sequential Claude requests that share a 20,000-token reference-manual prefix marked with a cache_control breakpoint. Each request waits on an upstream step, so calls arrive roughly fifteen minutes apart. Usage logs show cache_creation_input_tokens on every call and cache_read_input_tokens always at zero, and costs match uncached pricing. What is the most likely cause and fix?

Question 3Applications and Integration (33%)

A fintech team's Claude-backed statement summarizer changed tone and format one morning with no deploy. Investigation shows the code references a model alias, and the summarization prompt lives in a database row that support staff edit directly. The team wants reproducible behavior and reviewable change. Which TWO changes address the root causes? (Select TWO.)

Select TWO
Question 4Applications and Integration (33%)

A field-service app photographs utility meters with phone cameras and asks Claude to read the digits. Photos are 12-megapixel JPEGs sent as base64 image blocks. Time to first token and per-request cost are both above budget, and a test on images resized to roughly one megapixel shows identical reading accuracy. Which change best fixes cost and latency?

Question 5Applications and Integration (33%)

A Node.js service summarizes 60 uploaded documents per user request by calling Claude once per document inside a for loop with await, so each request takes about 60 times the single-call latency while the user waits. The team wants much faster completion without triggering rate-limit errors. Which approach best fits?

Domain 1 alone is a third of the exam. If any of Questions 1 to 5 felt shaky, work through the Applications and Integration section of the CCDV-F exam domains breakdown before continuing.

Questions 6–10

0/5 answered
Question 6Model Selection and Optimization (17%)

An insurer extracts eight fixed fields from claim forms with the top capability tier. Every request carries the same 9,000-token instruction and examples block, and results must reach an adjuster's screen within seconds. A 5,000-form eval shows the fast tier matches extraction accuracy. Monthly spend is three times budget. Which TWO changes cut cost without breaking requirements? (Select TWO.)

Select TWO
Question 7Agents and Workflows (15%)

A platform team is deciding which of four upcoming workloads should be built as an agent loop, where the model chooses its own next steps and tool calls, versus a fixed workflow of predetermined model calls. Cost, auditability, and predictability all matter to the team. Which TWO workloads justify an agent loop rather than a workflow? (Select TWO.)

Select TWO
Question 8Prompt and Context Engineering (11%)

A retrieval assistant places 25 retrieved policy documents (about 40,000 tokens) in the user turn, with the instruction "answer only from these documents; otherwise reply NOT FOUND" inserted between documents 12 and 13. In testing, the model sometimes answers from general knowledge. The team wants the cheapest reliable improvement. What should they change first?

Question 9Tools and MCPs (10%)

An intake service registers two tools, extract_claim and lookup_policy, and every response must arrive as an extract_claim tool call so downstream code can read structured fields. With tool_choice left at the default, the model occasionally replies in prose or calls lookup_policy first. Which change guarantees the required tool call on every request?

Question 10Model Selection and Optimization (17%)

A document-summarization endpoint fails on some uploaded PDFs with a 400 error stating that the prompt is too long, while smaller files succeed. The developer proposes raising max_tokens from 4,000 to 16,000 to give the request more room. The summaries themselves are short. What is the correct diagnosis and fix?

Model tier, caching, and batch decisions repeat across the whole exam. The decision rules are condensed onto one page in the CCDV-F cheat sheet, which is worth a read before Questions 11 to 20.

Replay 1000 requests through a cache
Same trace, different cache shape. Watch the hit rate, the bill, and what breaks.
Where the cache lives
Cache key strategy
Hash the long stable prefix. Requests sharing the prefix hit.
TTL
15 min
Repeats that arrive after the TTL miss the cache.
Hit rate
43%
428 of 1000 requests hit
Bill for 1000 requests
$13.65
baseline $17.50
Savings
22%
$3.85 kept on the bill
What breaks when the cache is wrong
Provider-side prefix caching is content-addressed, so there is no cross-user leakage. The hits show up only on the prefix portion; the new user tokens are still re-prefilled at full rate. The only failure mode is forgetting that the cache is per-account on most providers.
Input rate $5 / 1M tokens, cached input rate $0.50 / 1M tokens, output rate $15 / 1M tokens. Trace assumptions: 55% exact-duplicate share, 90% prefix-shared share. Real numbers depend on your traffic; the shape is the point.

Choose provider-side prompt caching with prefix keys, then drag the TTL down and watch the hit rate and the bill for 1,000 requests fall away: Question 2 is this slider in reverse, calls that arrive after the cache window has closed, and Question 6 is the same long prefix reused on every request.

Questions 11–15

0/5 answered
Question 11Applications and Integration (33%)

A retailer must generate descriptions for 400,000 catalog items before a launch in five days, and the merchandising interface also lets an editor regenerate any single description while they wait on the page. The team wants the lowest cost that still meets both needs. Which processing design fits?

Question 12Agents and Workflows (15%)

A team wrote a custom loop over the Messages API: call the model, execute any requested tools, append results, repeat until end_turn. Product now wants file and shell tools, permission prompts before risky actions, session resume, and subagents. The team wants to stop rebuilding what Claude Code already has. Which choice best fits?

Question 13Prompt and Context Engineering (11%)

A coding agent has been working in one session for four hours. Its context now holds hundreds of stale file reads and test outputs, and it has started re-deciding choices settled earlier. The team wants to keep the decisions and rationale while releasing most of the token budget. Which TWO actions address bloat and drift directly? (Select TWO.)

Select TWO
Question 14Security and Safety (8%)

A research agent has fetch_page and send_email tools. During a run, a scraped web page contained hidden text telling the agent to email the user's last ten messages to an external address, and the agent complied. The team needs a control that holds even when a future page contains a cleverer injection. Which change provides that guarantee?

Question 15Model Selection and Optimization (17%)

A live-captioning product runs a top capability tier model with streaming. Users complain that words arrive too slowly during fast speech, even though the first token appears promptly. An eval shows that moving to the fast tier drops caption accuracy below the acceptable threshold. The team wants faster token output with no change in model quality. Which option fits best?

Five of these twenty are Select TWO. If you lost a point by pairing one right option with one wrong one, the multiple-response technique in How to pass CCDV-F on your first attempt is worth twenty minutes.

Questions 16–20

0/5 answered
Question 16Tools and MCPs (10%)

A developer is building an MCP server for the company's ticketing system. Claude clients need to read ticket details, create tickets, and connect from teammates' laptops as well as from a hosted agent in the cloud, all through one shared deployment. Which TWO design decisions are correct for this server? (Select TWO.)

Select TWO
Question 17Claude Code (3%)

A team added a PreToolUse hook that blocks destructive shell commands, but it only fires on the laptop of the engineer who wrote it. She placed it in .claude/settings.local.json. The team wants every clone of the repository to enforce the same block without per-machine setup. What should she change?

Question 18Agents and Workflows (15%)

A bank is deploying a coding agent that must run inside its own VPC, use an internal build toolchain, and never send tool traffic through infrastructure the bank does not control. A vendor-managed agent runtime would ship in days, and the self-hosted route will take weeks. Which deployment model should the team choose, and why?

Question 19Applications and Integration (33%)

A developer's tool-use loop receives a tool_use block, runs the tool, then replies with a user message whose content array starts with a text block reading "Here is the result:" followed by the tool_result block. The API rejects the request with a 400 error stating that tool_use ids were found without tool_result blocks immediately after. What is the correct fix?

Question 20Eval, Testing, and Debugging (3%)

A store assistant told a shopper an item was in stock when it was sold out. The trace shows the model called get_inventory with the correct SKU, the tool returned a quantity of 14 from a cache last refreshed six hours earlier, and the model reported that number faithfully. Where does the failure live, and what is the first fix?

Twenty questions is a diagnostic. To rehearse pacing across a full 53-question form, take a timed test on the CCDV-F practice tests page and score it by domain.

If you missed these, read this

Use your misses to pick the next reading, since a wrong answer here usually points at a rule you have not yet internalized rather than a fact you have not seen.

  • Applications and Integration (Q1, Q2, Q3, Q4, Q5, Q11, Q19): the Messages API mechanics, caching, batch, and configuration sections of the complete guide, then the same domain in the exam domains breakdown.
  • Model Selection and Optimization (Q6, Q10, Q15): the tier decision rules and cost levers in the cheat sheet.
  • Agents and Workflows (Q7, Q12, Q18): the workflow-versus-agent criteria and deployment models in the exam domains breakdown.
  • Prompt and Context Engineering (Q8, Q13): the bloat, drift, pruning, and compaction definitions in the cheat sheet, plus the context section of the complete guide.
  • Tools and MCPs (Q9, Q16): the tool description and capability-selection material in the complete guide.
  • Security and Safety (Q14): the layered-defense section of the complete guide and the trap-answer list in How to pass CCDV-F on your first attempt.
  • Claude Code (Q17) and Eval, Testing, and Debugging (Q20): the component map and failure-isolation table in the cheat sheet.
Agents and MCP build

Build the SDK agent and MCP server yourself

Question 12 turns on knowing what the Agent SDK already gives you and Question 16 on how an MCP server is put together; one graded project has you build a working SDK agent with custom tools, a turn budget, and output you can trust, the other a stdio MCP server from scratch with JSON-RPC and two tools.

When the reading is done, the next step is volume under time pressure. Preporato's CCDV-F practice tests give you 6 full-length 53-question exams with an explanation on every item and a 500-card flashcard deck, available through Preporato Pro or the single-cert bundle, and the free CCDV-F sampler is there if you want to try the format first. If your exam is more than a few weeks out, the 4-week CCDV-F study plan sequences the reading and the practice.

Master These Concepts with Practice

Our CCDV-F practice bundle includes:

  • 6 full practice exams (390+ questions)
  • Detailed explanations for every answer
  • Domain-by-domain performance tracking

30-day money-back guarantee

Frequently asked questions

Key takeaways

Key Takeaways

0/9 completed

Next steps

Score yourself, note the domains behind your misses, and do the reading in the map above before touching more questions. Then move to volume: the CCDV-F practice tests give you six timed 53-question forms with per-domain scoring, the 4-week study plan sequences the rest of your preparation, and the exam-day tactics in How to pass CCDV-F on your first attempt turn the judgment you have built here into a first-attempt pass.

Enforcement that holds

Wire the hook and permission callback behind Q14 and Q17

Both questions reward a control that runs as code before the tool executes: a PreToolUse hook committed to project settings so every clone enforces it, and a permission callback with an audit trail and a human escalation path; these two graded projects have you wire each one and prove that it fires.

Sources:

Ready to Pass the CCDV-F Exam?

Join thousands who passed with Preporato practice tests

Instant access30-day guaranteeUpdated monthly
CCDV-F
6 Practice Exams
Detailed Explanations
Performance Analytics
Get Full Access - $19.99Try Free Questions →