Free CCDV-F Exam Flashcards

Memorize 50 essential terms and definitions for the Claude Certified Developer - Foundations (CCDV-F). See the term, recall the definition, then flip to check yourself.

50 Flashcards
8 Topics
100% Free
TermClick to flip

In Anthropic's terms, what separates a workflow from an agent?

Tap to reveal definition
Card 1 of 50Agents and Workflows

Filter by Topic

Jump to Card

About These CCDV-F Flashcards

These 50 flashcards are designed to help you memorize key terms and definitions for the Claude Certified Developer - Foundations (CCDV-F). Each card shows a term on the front and its definition on the back—the classic flashcard format for vocabulary memorization. Use these alongside our practice questions to build both recall and comprehension.

Topics Covered

Agents and Workflows7 cards
Applications and Integration17 cards
Claude Code2 cards
Eval, Testing, and Debugging1 cards
Model Selection and Optimization8 cards
Prompt and Context Engineering6 cards
Security and Safety4 cards
Tools and MCPs5 cards

Complete Flashcard Reference

Review every term in this set. Open any term to reveal its definition.

In Anthropic's terms, what separates a workflow from an agent?

A workflow orchestrates Claude and tools through predefined code paths you write. An agent lets Claude direct its own steps and tool use at runtime. Workflows stay predictable and testable; agents give that up to handle tasks you cannot script in advance.

What should you try before building an agentic system?

The simplest design that meets the need, often a single optimized call with retrieval and examples. Add agentic complexity only when the simpler approach demonstrably falls short, because every added loop costs latency, money, and debuggability.

When is prompt chaining the right workflow pattern?

When the task decomposes cleanly into fixed subtasks. Each call works on the previous call's output, and you can put a programmatic check between steps. It trades latency for accuracy, so it suits ordered work like outline-then-draft.

What problem does the routing workflow pattern solve?

It classifies an input, then sends it to a handler built for that category. Separating categories lets you tune each path, or send easy cases to a cheaper model, without one prompt having to serve every case badly.

In the parallelization pattern, how does sectioning differ from voting?

Sectioning splits a task into independent subtasks that run at the same time and are merged. Voting runs the same task several times and compares outputs. Sectioning buys speed; voting buys confidence.

How does orchestrator-workers differ from evaluator-optimizer?

In orchestrator-workers, a lead model decides at runtime what the subtasks are, delegates them, and synthesizes results. In evaluator-optimizer, one model drafts and another critiques in a loop. Use the first when subtasks are unpredictable, the second when grading criteria are clear.

What does the Claude Agent SDK give you that a raw Messages API integration does not?

It runs the Claude Code agent loop inside your own process, with built-in file, command, and search tools plus subagents, hooks, permissions, sessions, and MCP. With the Messages API you write the loop and supply every tool. Both still run on infrastructure you host.

A nightly job scores a week of support transcripts and nobody reads the output until the next business day. Which API path keeps the cost lowest?

The Message Batches API. Requests are processed asynchronously, results arrive when the batch finishes or within 24 hours, and usage is billed at 50 percent of standard API prices. Running the same calls synchronously in parallel finishes sooner but pays full price per token.

Which requirement pushes you toward streaming instead of one blocking Messages request?

Long or slow generations. A non-streaming request can hit network idle timeouts and return nothing, and the SDKs guard against a ten-minute limit. Streaming also lets a user-facing app show text as it arrives.

What has to happen before a Claude application changes its model or prompt in production?

An eval run on the new configuration, compared against the current one. Model and prompt changes are behavior changes with no compiler to catch them, so the regression gate has to be an eval rather than a code review.

Where is conversation state stored between Messages API calls?

Nowhere on Anthropic's side. The Messages API is stateless, so your application resends the full message history on every request. Anything you leave out of that array has disappeared from Claude's view of the conversation.

Claude returns stop_reason of tool_use. What does your code send back?

A user-role message holding a tool_result block whose tool_use_id matches the id on the tool_use block. Results ride in the user turn, not the assistant turn, and an unmatched or missing id breaks the round trip.

Why must batch results be matched by custom_id rather than by position?

Because results can come back in any order. Index-based matching silently pairs the wrong response with the wrong request, and the custom_id you set on each request is the only reliable key.

What is the event order in a streaming Messages response?

message_start, then per content block a content_block_start, one or more content_block_delta events, and a content_block_stop, then one or more message_delta events, then message_stop. Token counts carried on message_delta are cumulative, not per-event.

Which Claude API failures should a client retry, and which should it not?

Retry 429 rate limits, 500-class errors, and 529 overloaded, using exponential backoff and the retry-after header when present. Do not retry 400, 401, 403, or 404: those describe the request itself and will fail the same way again.

What does a 413 request_too_large response tell you?

The request exceeded the size limit for that endpoint; the Messages API cap is 32 MB. The fix is to move bulk content to the Files API or chunk the input. Resending the same payload cannot succeed.

Claude returns three tool_use blocks in one assistant message. How do you return the results?

All three tool_result blocks inside a single user message. Splitting them across separate messages breaks the pairing and teaches the model to stop issuing parallel calls.

Which identifier lets Anthropic support trace one specific failed API call?

The request-id returned in every response header, echoed as request_id in error bodies. Log it next to your own trace id, or a production failure cannot be tied back to a particular server-side request.

What is the difference between structured outputs and strict tool use?

Structured outputs constrain Claude's response to a JSON schema you supply. Strict tool use constrains the arguments Claude passes to a tool. One shapes what Claude says, the other shapes how it calls your functions, and they can be combined.

What does stop_reason of max_tokens tell you about the response?

The output was cut off at your ceiling, mid-thought. It is a truncation signal, not a finished answer, so treat it as something to retry or resume rather than parsing the partial text as final.

How should an application handle thinking blocks Claude returns?

Pass them back unchanged in the assistant turn. Editing, reordering, filtering, or rebuilding them makes the next request fail with a 400. Filtering content blocks by type is the usual way applications break this rule by accident.

Why keep retrieved documents in their own labeled block instead of pasting them into the instructions?

It draws a boundary between what Claude must obey and what it should only read. Mixed together, any sentence inside the document reads like an instruction, which is exactly the opening a prompt injection needs.

Why pin an explicit model ID in a production Claude application?

Model releases change behavior, and a prompt tuned on one model can regress on the next. Pinning turns the upgrade into a deliberate, testable change instead of something that happens under you between deploys.

What should be versioned alongside application code in a Claude project?

System prompts, tool schemas, and the model ID, together with the eval results they were accepted against. Without that, you cannot say which prompt produced a past output or roll back a quality regression.

In what order does Claude Code load CLAUDE.md files?

Managed policy first, then user, then project, then local. The files are concatenated rather than overriding each other, and files nearer your working directory are read last. A managed policy file cannot be excluded by user settings.

Which settings.json wins when the same key is set in several places in Claude Code?

Precedence runs managed settings, then a command-line settings file, then project local, then shared project, then user. In a committed project file, deny and ask permission rules apply right away, while allow rules wait until each teammate trusts the folder.

A tool-using Claude app returns wrong answers. How do you tell an integration bug from a model-output problem?

Read the trace. If the tool arguments were correct and your handler returned bad data or an error, the fault is in the integration layer. If the arguments or the final wording were wrong given correct results, the fault is in the prompt or the model output.

What shares the context window on a single request?

The system prompt, tool definitions, the whole message history, and the generated output all draw on one budget. Growing tool schemas or an unpruned history quietly shrinks the room left for the answer.

Why can the same prompt produce different output on two calls?

Generation is token by token and not deterministic. Quality has to be judged across a sample of runs rather than one, and any test asserting an exact output string will flake.

What does the effort setting control on current Claude models?

How much reasoning and token spend goes into a response, from low up to max, without changing which model runs. It is the first quality-versus-cost lever to tune inside one model, before you consider switching models.

Why do the SDKs expect streaming for very large max_tokens values?

A long non-streaming generation can outlast HTTP and network idle timeouts and fail with nothing returned. Streaming keeps events flowing, so long outputs complete instead of dying on a dropped connection.

What does an official Anthropic SDK client do about transient failures by default?

It retries connection errors, rate limits, and 5xx responses with exponential backoff, twice by default, honoring retry-after. Wrapping your own retry loop on top usually multiplies the wait rather than improving reliability.

How do you size a prompt before paying to send it?

Call the token counting endpoint with the same model, system prompt, tools, and messages. Tokenizers built for other model families return the wrong number, because tokenization differs by model.

How do the Opus, Sonnet, and Haiku tiers differ when you pick a model?

Opus is the high-capability tier for complex agentic and enterprise work, Sonnet the best balance of speed and intelligence, and Haiku the fastest and cheapest; Anthropic's current lineup also places Fable above Opus for the most demanding reasoning. Choose per route and judge cost per completed task, since a cheaper model that needs more retries is not actually cheaper.

What has to be true for a prompt cache hit?

The cached prefix must match exactly, and caching is applied in the order tools, then system, then messages. A change anywhere in the prefix, such as a timestamp in the system prompt, invalidates everything after it.

Where in the prompt should a long document go?

Near the top, above the query, instructions, and examples. Anthropic's guidance is that putting long documents and inputs first improves performance across all models, and wrapping each document in its own tags with source metadata keeps multiple documents distinct.

How does clearing old tool results differ from compacting a conversation?

Clearing drops old tool results outright and leaves a placeholder. Compaction summarizes earlier history and replaces it. Clearing is cheaper and more predictable; compaction preserves a trace of what happened but costs a summarization pass.

What belongs in the system prompt rather than the user turn?

The durable frame: role, standing rules, output format, and tone. The user turn carries the task and its data. Rules that drift into the user turn get resent every time and end up sitting next to untrusted content.

What makes few-shot examples actually work?

Examples that mirror the real use case, cover edge cases, and vary enough that Claude does not latch onto an accidental pattern, each wrapped in its own tag so it reads as an example. Anthropic suggests three to five.

Why wrap parts of a prompt in XML-style tags?

A long prompt mixes instructions, context, examples, and variable input, and unlabeled text blurs together. Consistent, descriptive tags make the boundaries unambiguous and cut down on misread instructions.

What should you assume about a confidently worded Claude response your application consumes?

That it still needs validation. Parse defensively, check required fields and value ranges, and keep a fallback path. Confident phrasing is not evidence that the content is correct or well formed.

An agent fetches a customer's uploaded PDF, and the PDF contains an embedded instruction to email the account list to an outside address. What is the control that actually stops this?

Isolation plus enforcement: keep fetched content in its own untrusted block apart from trusted instructions, and use least-privilege guardrails or hooks so that injected text cannot trigger sensitive tools. A system-prompt line asking the model to ignore malicious instructions is not an enforceable control.

What is the first control against data leakage in a Claude application?

Not putting the data in the prompt. Redact or tokenize personal data before the request, scope retrieval to what the current user is allowed to see, and filter responses before display. Prompt rules cannot unsend what you already sent.

Why wrap a deterministic check around a Claude agent instead of instructing it in the prompt?

Prompt instructions shape behavior but do not enforce it. A hook or policy check runs at a fixed point regardless of what the model decides, which is what destructive actions such as deletes, payments, and production writes require.

Where does an API key belong in a production Claude integration?

In a secrets manager or server environment you control, with requests made from your backend. Keys must never ship in client-side code or a repository. Set an expiration, rotate on a schedule, and disable any key you suspect has leaked.

What most determines whether Claude calls the right tool?

The tool description and the parameter descriptions. They are the only evidence the model has, so state what the tool does, when to use it, and what each parameter means. Vague descriptions surface as missed or wrong calls.

Your tool handler throws an exception. What do you send back to Claude?

A tool_result block for that tool_use_id with is_error set true and a short description of what failed. Dropping the block leaves an unanswered tool call and breaks the conversation; reporting the error lets Claude retry or explain.

What does an MCP server expose, and over what transports?

Three primitives: tools for callable actions, resources for context data, and prompts for reusable templates. Messages are JSON-RPC 2.0, carried over stdio for a local server or streamable HTTP for a remote one.

When is a Skill the right answer instead of an MCP server?

When you are adding procedure rather than capability. A Skill is instructions Claude reads on demand to orchestrate tools it already has. An MCP server exposes new callable functions backed by an external system. Instructions do not need a server.

Why prefer a built-in or server-side tool over writing your own equivalent?

Server-side tools such as web search and code execution run on Anthropic's infrastructure with no handler, loop code, or sandbox for you to maintain. Write a custom tool when you need your own system, data, or authentication.

Frequently Asked Questions

What is the CCDV-F exam format and passing score?

The exam guide lists 53 multiple-choice and multiple-response items in 120 minutes, with each item stating how many responses to select. Results are reported as a scaled score from 100 to 1,000 and the cut score is 720. The score report also shows percent correct by domain, but that breakdown is informational: the pass or fail decision comes from the total scaled score alone.

Who is eligible to take CCDV-F?

Certification is currently available only to people at Claude Partner Network organizations, and registration requires an email on a recognized partner-company domain. Candidates must be at least 18 years old, verified against government-issued ID at check-in. There is no mandatory prerequisite exam or course; the credential is awarded on exam performance alone.

How is CCDV-F delivered, and what is the retake policy?

You register and pay through Anthropic Partner Academy, then schedule with Pearson VUE for online proctoring or a test center. Waiting periods after a failure are 14 days, then 30 days, then 90 days, with a maximum of four attempts per exam in a rolling 12-month period. Each attempt costs the full exam fee, with any partner-tier discount applied.

How long is the credential valid, and how do I renew it?

The credential is valid for 12 months from the date it is awarded. On-time renewal is free: you review what has changed and complete a non-proctored assessment on Anthropic Partner Academy, which extends the credential another 12 months. If it lapses, you must retake the full exam at full price. Anthropic may also require a full retake when exam content changes significantly.

How are these 50 flashcards distributed across the official domains?

The published weights 14.7/33.1/3.1/2.6/16.8/11.0/8.1/10.6 convert to 7.35/16.55/1.55/1.30/8.40/5.50/4.05/5.30 cards. Largest-remainder rounding gives the three extra cards to Applications and Integration, Claude Code, and Prompt and Context Engineering, producing 7/17/2/1/8/6/4/5. The Claude Hooks skill inside Security and Safety is 1.0 percent, which rounds to zero whole cards, so hooks are taught inside the guardrails card instead of taking a slot.

What is the authoritative source for CCDV-F exam scope?

The Claude Certified Developer - Foundations Exam Guide, version 1.0 effective July 2026, which Anthropic states is the authoritative reference for domains and task statements. Anthropic Partner Academy prep courses and the Claude platform documentation support study but do not replace it. The practice exam from the old platform was retired in the June 2026 move to Pearson; the exam guide's sample questions are the official format reference.

Same family resources

Explore More Anthropic Claude Certifications

Continue into nearby exams from the same family. Each card keeps practice questions, study guides, flashcards, videos, and articles in one place.