Skip to content

CCDV-F Practice Exam 7

Claude Certified Developer – Foundations. 53 questions, 3 with more than one correct answer. Real exam: 53 items, multiple-choice and multiple-response, 120 minutes, pass at a scaled 720 / 1,000.

Independent practice questions by Core Concept Learning, written from the public exam guide; not official Anthropic content. Study the free CCDV-F course

Study mode: check any answer as you go. Or practise under exam conditions: 120 minutes, answers hidden until you submit.

x
0/53
  1. Question 1

    Domain 1: Agents and Workflows

    A supervisor agent combines reports from three research subagents into one answer. What should the supervisor do before combining them?

  2. Question 2

    Domain 1: Agents and Workflows

    A help-center bot answers questions from a fixed document set. The current agent loops through several searches per question and is slow. What is the simpler design?

  3. Question 3

    Domain 1: Agents and Workflows

    A team using the Claude Agent SDK wants to give its agent a custom Python function, lookup_policy, as a tool. How is this done?

  4. Question 4

    Domain 1: Agents and Workflows

    When is writing your own tool-use loop on the Messages API a better choice than the Claude Agent SDK?

  5. Question 5

    Domain 1: Agents and Workflows

    A Claude Agent SDK application must deterministically block any tool call that writes outside a sandbox folder. How is this implemented?

  6. Question 6

    Domain 1: Agents and Workflows

    For a long, multi-step migration, a team has the agent write a plan to a file before acting, and then update the plan as it works. What is the main benefit?

  7. Question 7

    Domain 1: Agents and Workflows

    Two parallel subagents sometimes edit the same file and overwrite each other's changes. What is the fix?

  8. Question 8

    Domain 1: Agents and Workflows

    Which TWO kinds of information belong in an agent's long-term memory? (Select TWO)

    Choose 2.

  9. Question 9

    Domain 2: Applications and Integration

    A requirement says the assistant must stay usable even during a model-provider incident. Which design best supports this?

  10. Question 10

    Domain 2: Applications and Integration

    Users want to start a conversation on their phone and continue it on their laptop. What does this require?

  11. Question 11

    Domain 2: Applications and Integration

    An incident review finds a class of questions where the assistant gave harmful advice. What should the team do to prevent a recurrence?

  12. Question 12

    Domain 2: Applications and Integration

    An app adds a {"role": "system", ...} message as the very first entry of messages on a model that supports mid-conversation system messages. The request fails. Why?

  13. Question 13

    Domain 2: Applications and Integration

    A user uploads an 800-page PDF to an app on a 1M-context model. The request fails because of the document. What should the app do?

  14. Question 14

    Domain 2: Applications and Integration

    An app enables the server-side web search tool, but wants to limit how many searches Claude runs per request to control cost. How?

  15. Question 15

    Domain 2: Applications and Integration

    Which TWO content block types can appear in Claude's response content? (Select TWO)

    Choose 2.

  16. Question 16

    Domain 2: Applications and Integration

    A team wants to debug slow and failed Claude calls across services. Which logging practice helps most?

  17. Question 17

    Domain 2: Applications and Integration

    An AI coding agent can open pull requests in a repository. Which control keeps its changes safe?

  18. Question 18

    Domain 2: Applications and Integration

    A team evaluates prompts in staging with one model, but production runs a different one. Why is this a problem?

  19. Question 19

    Domain 2: Applications and Integration

    Long streamed responses sometimes run for many minutes. How should the client's timeouts be set for streaming?

  20. Question 20

    Domain 2: Applications and Integration

    Users want to edit one of their earlier messages in a chat and see a new answer. On current models, how should the app handle the history?

  21. Question 21

    Domain 2: Applications and Integration

    One assistant runs in a web app, a Slack bot and an email channel. How should its system prompts be organized?

  22. Question 22

    Domain 2: Applications and Integration

    An order assistant must output a product ID, and it sometimes invents IDs that don't exist. How can the schema prevent this?

  23. Question 23

    Domain 2: Applications and Integration

    A team is building an internal tool that edits code across repositories, with file access, shell commands and permissions. Which foundation fits best?

  24. Question 24

    Domain 2: Applications and Integration

    A developer sets a personal Claude Code preference in ~/.claude/settings.json, but it doesn't take effect in one repository. The project's settings set the same key. Where should their personal override go?

  25. Question 25

    Domain 2: Applications and Integration

    A monorepo has frontend and backend packages with different conventions. How should Claude Code's instructions be organized?

  26. Question 26

    Domain 3: Claude Code

    A developer wants Claude Code to look at one specific file while answering a question. What is the quickest way to include it?

  27. Question 27

    Domain 3: Claude Code

    An MCP server's tools don't show up in a Claude Code session. Which command shows the status of the configured MCP servers?

  28. Question 28

    Domain 4: Eval, Testing, and Debugging

    A streamed response returns HTTP 200, sends some text, and then the stream delivers an error event (overloaded_error). How should the client handle it?

  29. Question 29

    Domain 5: Model Selection and Optimization

    Prompts include large JSON objects, pretty-printed with deep indentation. How can token usage be reduced without losing information?

  30. Question 30

    Domain 5: Model Selection and Optimization

    On Claude Opus 4.8, a team runs long-horizon agentic coding tasks. Which effort level is generally the best starting point for this work?

  31. Question 31

    Domain 5: Model Selection and Optimization

    An output must follow an unusual, exact layout that is hard to describe in words. Which technique is usually most efficient?

  32. Question 32

    Domain 5: Model Selection and Optimization

    A developer needs the raw HTTP response headers from a Messages API call made through the Python SDK. How can they get them?

  33. Question 33

    Domain 5: Model Selection and Optimization

    A backend relays Claude's streamed tokens to the browser. The browser never sends anything back during the stream. Which transport is simplest?

  34. Question 34

    Domain 5: Model Selection and Optimization

    A developer wants to see the HTTP requests and responses that the Python SDK makes, while debugging locally. What is the simplest option?

  35. Question 35

    Domain 5: Model Selection and Optimization

    A team on Claude Opus 5 considers moving to Claude Opus 5.5. What is the main reason, and what must they check first?

  36. Question 36

    Domain 5: Model Selection and Optimization

    How can a team monitor whether prompt caching is working well across its traffic?

  37. Question 37

    Domain 5: Model Selection and Optimization

    Most of an app's Claude spend comes from long, verbose responses. Which lever addresses this most directly?

  38. Question 38

    Domain 6: Prompt and Context Engineering

    Early in a long conversation, a user gave a wrong fact, and Claude keeps relying on it. What is the best way to recover?

  39. Question 39

    Domain 6: Prompt and Context Engineering

    A RAG system retrieves the 50 most similar chunks, but many are only loosely relevant, and answers suffer. What improves context quality?

  40. Question 40

    Domain 6: Prompt and Context Engineering

    A prompt full of Markdown headers and bullet points keeps producing Markdown-heavy answers, but the product wants plain prose. Which change helps?

  41. Question 41

    Domain 6: Prompt and Context Engineering

    After moving to a newer model, outputs from a long, rule-heavy prompt feel rigid and lower in quality. What should the team try?

  42. Question 42

    Domain 6: Prompt and Context Engineering

    One huge prompt asks Claude to research a topic, outline a report, write it and then proofread it, all at once. Quality is uneven. What is a better structure?

  43. Question 43

    Domain 6: Prompt and Context Engineering

    A research assistant's answers include URLs, and some of them don't exist. How should the app handle the links?

  44. Question 44

    Domain 7: Security and Safety

    Claude Code runs in CI to review pull requests, including PRs from external forks. Code comments in a PR could contain injected instructions. What reduces the risk?

  45. Question 45

    Domain 7: Security and Safety

    A chat app loads past conversations by sequential ID, as in /conversations/1043. A user changes the number and sees someone else's chat. What is the fix?

  46. Question 46

    Domain 7: Security and Safety

    During an incident, a team needs to stop an agent from taking any external actions within seconds. What should be built in ahead of time?

  47. Question 47

    Domain 7: Security and Safety

    A Claude Code hook should run only when Claude uses the Edit or Write tools, not for other tools. How is it configured?

  48. Question 48

    Domain 7: Security and Safety

    How can a team catch a compromised API key being abused before a large bill arrives?

  49. Question 49

    Domain 8: Tools and MCPs

    A transfer_funds tool uses strict: true, so its inputs always match the schema. What validation does the tool still need?

  50. Question 50

    Domain 8: Tools and MCPs

    A generate_report tool takes ten minutes to finish, longer than the agent should wait. What is a better tool design?

  51. Question 51

    Domain 8: Tools and MCPs

    Claude Code connects to a GitHub MCP server. In MCP terms, which roles do Claude Code and the GitHub server play?

  52. Question 52

    Domain 8: Tools and MCPs

    Claude Code needs to run the project's test suite as it works. What is the simplest approach?

  53. Question 53

    Domain 8: Tools and MCPs

    Compared with a built-in tool, which TWO costs does adding an MCP server bring? (Select TWO)

    Choose 2.

53 questions unanswered; they count as wrong.

Video walkthrough

Try the exam first, then watch every question worked through.