Skip to content

CCAR-F Practice Exam 2

Claude Certified Architect – Foundations. 60 questions, 3 with more than one correct answer. Real exam: 60 items, 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 CCAR-F course

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

x
0/60
  1. Question 1

    Domain 1: Agentic Architecture & Orchestration · Task 1.1

    A customer asks about two orders at once. Claude's reply contains two tool_use blocks for lookup_order, but the loop only runs the first one and sends that single result back. What should the loop do?

  2. Question 2

    Domain 1: Agentic Architecture & Orchestration · Task 1.1

    A developer hardcodes the agent to always call get_customer, then lookup_order, then process_refund, in that order, for every conversation. What is the main problem with this design?

  3. Question 3

    Domain 1: Agentic Architecture & Orchestration · Task 1.4

    Human agents complain that every escalated case makes them reread the whole conversation to find out what happened. What should escalate_to_human send with each case?

  4. Question 4

    Domain 1: Agentic Architecture & Orchestration · Task 1.4

    You are deciding which support rules to enforce in code instead of in the system prompt. Which rules need programmatic enforcement? Select TWO.

    Choose 2.

  5. Question 5

    Domain 1: Agentic Architecture & Orchestration · Task 1.4

    A customer asks for a refund on a late order, which policy allows, and also demands $2,000 compensation for a missed business deal, which needs a human. What should the agent do?

  6. Question 6

    Domain 1: Agentic Architecture & Orchestration · Task 1.5

    Compliance needs a record of every process_refund call, with its arguments and result, written to an audit log. Which mechanism is most reliable?

  7. Question 7

    Domain 1: Agentic Architecture & Orchestration · Task 1.5

    A teammate asks why you used a hook, rather than a system prompt rule, to stop refunds on accounts flagged for fraud. Which answer is most accurate?

  8. Question 8

    Domain 1: Agentic Architecture & Orchestration · Task 1.5

    get_customer returns full card numbers, which must never reach the model or the transcript. The backend team can't change the API for several months. What should you do?

  9. Question 9

    Domain 2: Tool Design & MCP Integration · Task 2.1

    The agent sometimes refunds $1,999 instead of $19.99. process_refund takes an amount parameter, and its description says only "the amount to refund". What should you change?

  10. Question 10

    Domain 2: Tool Design & MCP Integration · Task 2.2

    process_refund returns isError: true, category "business", isRetryable: false, with the message "Order is outside the 30-day return window". What should the agent do next?

  11. Question 11

    Domain 2: Tool Design & MCP Integration · Task 2.3

    Which tool_choice setting fits the support agent's normal conversation turns, where it sometimes needs a tool and sometimes needs to ask a clarifying question?

  12. Question 12

    Domain 5: Context Management & Reliability · Task 5.1

    The system prompt contains a 30-page policy document followed by the conversation. The agent often misses the refund rules, which sit on page 14. What should you do?

  13. Question 13

    Domain 5: Context Management & Reliability · Task 5.1

    An order-lookup subagent returns a paragraph of prose to the main support agent, which then gets order numbers and dates wrong. How should the subagent return its results?

  14. Question 14

    Domain 5: Context Management & Reliability · Task 5.2

    A customer gives the name "Maria Garcia", and get_customer returns four matching accounts. What should the agent do?

  15. Question 15

    Domain 5: Context Management & Reliability · Task 5.2

    A customer writes "This is the third time I've asked about this, I'm so fed up!" The issue is a delayed refund the agent can fix within policy, and the customer hasn't asked for a human. What should the agent do?

  16. Question 16

    Domain 2: Tool Design & MCP Integration · Task 2.5

    An engineer asks the tool to list every .proto file in a large monorepo so they can review the service contracts. Which built-in tool fits best?

  17. Question 17

    Domain 2: Tool Design & MCP Integration · Task 2.5

    An engineer wants to find every place that calls the function chargeCustomer( across the codebase. Which built-in tool fits best?

  18. Question 18

    Domain 2: Tool Design & MCP Integration · Task 2.5

    The tool's Edit call fails because the old_string it chose appears three times in the file. Following the exam guide, what is the reliable fallback?

  19. Question 19

    Domain 2: Tool Design & MCP Integration · Task 2.4

    Every engineer should get the team's Jira MCP server when they clone the repo, but each person must use their own API token. How should you configure it?

  20. Question 20

    Domain 2: Tool Design & MCP Integration · Task 2.4

    One engineer is trying out an experimental MCP server for their personal notes. Nobody else needs it, and it shouldn't appear for the team. Where should it be configured?

  21. Question 21

    Domain 3: Claude Code Configuration & Workflows · Task 3.4

    An engineer asks, "How does authentication flow through this legacy app?" Answering means reading about 200 files, and the main conversation fills with file contents. What should the tool do?

  22. Question 22

    Domain 3: Claude Code Configuration & Workflows · Task 3.4

    When should an engineer choose plan mode over direct execution? Select TWO.

    Choose 2.

  23. Question 23

    Domain 3: Claude Code Configuration & Workflows · Task 3.1

    The legacy/ folder follows old conventions (callbacks, no TypeScript) that apply only to the files inside it. All those files sit in that one folder. What is the simplest way to give Claude these conventions?

  24. Question 24

    Domain 1: Agentic Architecture & Orchestration · Task 1.6

    The tool must generate the same boilerplate for 40 new microservices: a Dockerfile, a CI config, a health-check endpoint and a README. The steps are identical for each. Which approach fits?

  25. Question 25

    Domain 1: Agentic Architecture & Orchestration · Task 1.7

    After exploring a module, an engineer wants to try two different refactoring approaches, both starting from the same exploration context, and then compare them. What should they do?

  26. Question 26

    Domain 1: Agentic Architecture & Orchestration · Task 1.7

    An engineer resumes yesterday's session. Since then, a teammate changed only two of the files Claude had read, and the engineer knows which ones. What is the most efficient way to continue?

  27. Question 27

    Domain 1: Agentic Architecture & Orchestration · Task 1.3

    The tool has a test-writer subagent, but the main agent never delegates to it, even for "write tests for this module". Its description reads "Helper agent." What is the most likely fix?

  28. Question 28

    Domain 1: Agentic Architecture & Orchestration · Task 1.2

    The tool has a coordinator with six module subagents (auth, billing, search, API, database, UI). For a question about the database layer, it runs all six every time, and answers are slow. What should change?

  29. Question 29

    Domain 5: Context Management & Reliability · Task 5.4

    A multi-hour migration task crashed halfway through, and the engineer had to start again from scratch. How should long tasks be designed so they can recover?

  30. Question 30

    Domain 5: Context Management & Reliability · Task 5.4

    Context is nearly full in a long session, and the engineer wants to keep working while keeping the API design decisions made earlier. What should they do?

  31. Question 31

    Domain 3: Claude Code Configuration & Workflows · Task 3.6

    The pipeline needs Claude Code's review findings in a fixed format, with file, line, severity and message, so a script can post inline PR comments. Which flags should the CI step use?

  32. Question 32

    Domain 3: Claude Code Configuration & Workflows · Task 3.6

    After a developer pushes fixes, the CI review runs again and re-posts the same comments, including ones already resolved. What should the re-review prompt include?

  33. Question 33

    Domain 3: Claude Code Configuration & Workflows · Task 3.6

    Claude Code generates unit tests in CI, but many of them duplicate tests that already exist, and they ignore the team's fixtures. What would most improve the generated tests?

  34. Question 34

    Domain 3: Claude Code Configuration & Workflows · Task 3.6

    The CI reviewer doesn't know the team's build commands or review standards, so its comments are generic. How should you give it this context?

  35. Question 35

    Domain 3: Claude Code Configuration & Workflows · Task 3.1

    The team keeps its review standards in docs/review-standards.md, which other tools also use. You want Claude Code to load it too, without copying the text into CLAUDE.md. What should you do?

  36. Question 36

    Domain 3: Claude Code Configuration & Workflows · Task 3.1

    One engineer likes long, detailed explanations from Claude, but CI output should stay short and consistent. Where should that engineer's preference go?

  37. Question 37

    Domain 3: Claude Code Configuration & Workflows · Task 3.3

    Each service keeps SQL migrations in its own migrations/ folder, for example billing/migrations/001.sql. Which paths value applies a rule to every one of these files?

  38. Question 38

    Domain 3: Claude Code Configuration & Workflows · Task 3.2

    Developers keep running /gen-tests without saying which module to test, so it generates tests for the wrong code. Which skill frontmatter field helps most?

  39. Question 39

    Domain 3: Claude Code Configuration & Workflows · Task 3.5

    A developer asks Claude to add "smart retries" to the pipeline, but the requirements are vague: which jobs, how many retries, and what counts as transient. What is the best way to start?

  40. Question 40

    Domain 4: Prompt Engineering & Structured Output · Task 4.1

    Developers ignore the CI reviewer because most comments are about naming and formatting. The team only wants bugs, security issues and broken error handling. What should the review prompt do?

  41. Question 41

    Domain 4: Prompt Engineering & Structured Output · Task 4.1

    One review category, "possible performance issues", has a high false-positive rate and is eroding trust in all the comments. What is the best immediate step?

  42. Question 42

    Domain 4: Prompt Engineering & Structured Output · Task 4.2

    The reviewer labels similar issues inconsistently: the same missing null check is "high" in one PR and "low" in another. What should you add to the prompt?

  43. Question 43

    Domain 4: Prompt Engineering & Structured Output · Task 4.6

    A 30-file PR gets one review pass. The comments are shallow, and an interface change that breaks two other files is missed. How should the review be structured?

  44. Question 44

    Domain 4: Prompt Engineering & Structured Output · Task 4.6

    The reviewer attaches a self-reported confidence to each finding. How can the team use it most safely?

  45. Question 45

    Domain 4: Prompt Engineering & Structured Output · Task 4.5

    Which CI jobs are good candidates for the Message Batches API? Select TWO.

    Choose 2.

  46. Question 46

    Domain 4: Prompt Engineering & Structured Output · Task 4.3

    Incoming files may be invoices, receipts or contracts, each with its own extraction schema, and the type isn't known in advance. Following the exam guide, how should the request be set up?

  47. Question 47

    Domain 4: Prompt Engineering & Structured Output · Task 4.3

    Extraction now uses tool use with a strict JSON schema. Which kind of error can still get through?

  48. Question 48

    Domain 4: Prompt Engineering & Structured Output · Task 4.4

    Some documents still fail validation after three retries with specific error feedback. What should the pipeline do with them?

  49. Question 49

    Domain 4: Prompt Engineering & Structured Output · Task 4.4

    A contract's header says the term starts on 1 March, but its signature block says 1 April. How should the extraction handle this?

  50. Question 50

    Domain 4: Prompt Engineering & Structured Output · Task 4.5

    You are about to run a 50,000-document batch with a new extraction prompt. What should you do first?

  51. Question 51

    Domain 4: Prompt Engineering & Structured Output · Task 4.2

    European invoices write amounts like "1.234,56", and the model sometimes extracts these as 1.23456. What is the most effective fix?

  52. Question 52

    Domain 5: Context Management & Reliability · Task 5.5

    The model reports 0.95 confidence on almost every field, including fields that turn out to be wrong. How should you make confidence useful for routing?

  53. Question 53

    Domain 5: Context Management & Reliability · Task 5.5

    Accuracy by document type shows printed invoices at 98% but handwritten receipts at 71%. What is the best way to roll out automation?

  54. Question 54

    Domain 5: Context Management & Reliability · Task 5.6

    A master agreement says the contract value is $120,000, and a later amendment says $150,000. How should the extracted record handle this?

  55. Question 55

    Domain 1: Agentic Architecture & Orchestration · Task 1.4

    Extracted invoices must never be posted to the ledger until they pass validation. In testing, a code path sometimes posts them early. How should you enforce the rule?

  56. Question 56

    Domain 1: Agentic Architecture & Orchestration · Task 1.6

    Extraction from 300-page contracts misses clauses near the end and mixes up details between sections. How should the task be decomposed?

  57. Question 57

    Domain 1: Agentic Architecture & Orchestration · Task 1.1

    An extraction request ends with stop_reason: "max_tokens", and the tool input is cut off partway through the line items. What should the pipeline do?

  58. Question 58

    Domain 2: Tool Design & MCP Integration · Task 2.1

    Invoices that list amounts in two currencies are handled inconsistently: sometimes one currency is kept, sometimes they are summed. Where is the best place to define the expected behaviour?

  59. Question 59

    Domain 2: Tool Design & MCP Integration · Task 2.2

    The post_to_ledger tool rejects a record because the vendor ID doesn't exist in the finance system. It returns isError: true with category "validation". What should happen next?

  60. Question 60

    Domain 2: Tool Design & MCP Integration · Task 2.3

    The extraction agent was given the post_to_ledger tool "for convenience", and it sometimes posts records before validation runs. What is the best design change?

60 questions unanswered; they count as wrong.

Video walkthrough

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