Skip to content

CCAR-F Practice Exam 1

Claude Certified Architect – Foundations. 60 questions, 2 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

    During testing, the support agent sometimes stops after its first tool call and returns an empty reply. The loop code checks whether the assistant's text contains the word "done" to decide when to stop. What should the loop use instead?

  2. Question 2

    Domain 1: Agentic Architecture & Orchestration · Task 1.1

    After process_refund runs, the agent's next turn behaves as if the refund never happened and calls the tool again. Logs show the loop runs the tool and then immediately sends the next request. What is the most likely bug?

  3. Question 3

    Domain 1: Agentic Architecture & Orchestration · Task 1.4

    Policy says the agent must verify a customer's identity with get_customer before it may call process_refund. In 3% of conversations the agent skips verification. The system prompt already states the rule in capital letters. What is the most reliable fix?

  4. Question 4

    Domain 1: Agentic Architecture & Orchestration · Task 1.4

    A customer writes: "My blender arrived cracked, I was charged twice for it, and I want to close my account." How should the agent handle this message?

  5. Question 5

    Domain 1: Agentic Architecture & Orchestration · Task 1.5

    Refunds above $500 need a manager's approval. You want the agent to route any larger refund to escalate_to_human with no exceptions. Which Agent SDK mechanism fits best?

  6. Question 6

    Domain 1: Agentic Architecture & Orchestration · Task 1.5

    Three backend systems return order dates in different formats: Unix timestamps, ISO 8601 strings and "DD/MM/YYYY". The agent sometimes misreads dates when comparing them with the return window. Where is the best place to fix this?

  7. Question 7

    Domain 2: Tool Design & MCP Integration · Task 2.1

    Logs show the agent calling get_customer when users ask "where is my order #8812?". The two tool descriptions are "Gets customer information" and "Looks up an order". What should you change first?

  8. Question 8

    Domain 2: Tool Design & MCP Integration · Task 2.1

    You add a new tool, analyze_account, described as "Analyzes the account and does whatever is needed". It is now chosen for almost every request, including refunds. What is the best redesign?

  9. Question 9

    Domain 2: Tool Design & MCP Integration · Task 2.2

    When the billing database times out, lookup_order returns {"orders": []}. The agent then tells customers they have no orders. How should the tool report this failure?

  10. Question 10

    Domain 2: Tool Design & MCP Integration · Task 2.2

    process_refund can fail because the payment provider is down, because the order is outside the 30-day window, or because the agent sent a malformed amount. Why should the error response say which of these happened?

  11. Question 11

    Domain 2: Tool Design & MCP Integration · Task 2.3

    The support agent currently has 22 tools, including reporting and inventory tools it never needs. Tool selection errors have increased as tools were added. What is the best change?

  12. Question 12

    Domain 5: Context Management & Reliability · Task 5.1

    In long conversations, the agent's later summaries say things like "a refund of around $100 for a recent order", losing the exact amount and order number. Conversation history is compacted by progressive summarisation. What should you add?

  13. Question 13

    Domain 5: Context Management & Reliability · Task 5.1

    Each lookup_order call returns about 40 fields, but the agent only needs order status, delivery date, total and return eligibility. Over a long conversation, context fills with unused fields. What should you do?

  14. Question 14

    Domain 5: Context Management & Reliability · Task 5.2

    A customer's first message is: "I don't want to talk to a bot. Get me a real person." The issue is a simple address change the agent could finish in one step. What should the agent do?

  15. Question 15

    Domain 5: Context Management & Reliability · Task 5.2

    The team proposes escalating whenever the agent's self-reported confidence drops below 0.6. Analysis shows the agent is often confident on cases it gets wrong. Which escalation criteria should you use instead? Select TWO.

    Choose 2.

  16. Question 16

    Domain 3: Claude Code Configuration & Workflows · Task 3.1

    A senior engineer wrote the team's testing conventions in ~/.claude/CLAUDE.md. New hires' Claude Code sessions ignore those conventions. Why?

  17. Question 17

    Domain 3: Claude Code Configuration & Workflows · Task 3.1

    The project CLAUDE.md has grown to 900 lines covering API style, database rules, testing and deployment. Engineers find it hard to maintain. What is the best way to organise it?

  18. Question 18

    Domain 3: Claude Code Configuration & Workflows · Task 3.1

    An engineer is unsure which instruction files Claude Code has loaded in the current session. Which command helps them check?

  19. Question 19

    Domain 3: Claude Code Configuration & Workflows · Task 3.2

    The team wants a /release-notes command that every engineer gets automatically when they clone the repository. Where should it live?

  20. Question 20

    Domain 3: Claude Code Configuration & Workflows · Task 3.2

    A /map-codebase skill reads hundreds of files and produces long intermediate output that floods the main conversation. Which skill frontmatter setting addresses this?

  21. Question 21

    Domain 3: Claude Code Configuration & Workflows · Task 3.2

    Rule A says "Always use our logger, never print()". Rule B is a 40-step checklist used only when preparing a database migration. Where should each piece of guidance go?

  22. Question 22

    Domain 3: Claude Code Configuration & Workflows · Task 3.3

    Test files are spread across the repo (src/**/__tests__/*.ts), and they follow conventions that differ from production code. How should you give Claude these conventions?

  23. Question 23

    Domain 3: Claude Code Configuration & Workflows · Task 3.3

    A rules file starts with this frontmatter: paths: ["infra/**/*.tf"]. When does Claude Code load it?

  24. Question 24

    Domain 3: Claude Code Configuration & Workflows · Task 3.4

    An engineer asks Claude Code to migrate the app from REST to GraphQL. The change touches about 60 files and there are several reasonable designs. How should they start?

  25. Question 25

    Domain 3: Claude Code Configuration & Workflows · Task 3.4

    A failing test shows that a date helper returns the wrong month in one clearly identified function. The fix is a one-line change. Which approach fits best?

  26. Question 26

    Domain 3: Claude Code Configuration & Workflows · Task 3.5

    Claude keeps formatting log messages slightly differently from the team's standard, despite a prose description of the format in CLAUDE.md. What is the most effective next step?

  27. Question 27

    Domain 3: Claude Code Configuration & Workflows · Task 3.5

    An engineer wants Claude to implement a tricky pricing function and be confident it handles edge cases. Which workflow is most effective?

  28. Question 28

    Domain 1: Agentic Architecture & Orchestration · Task 1.7

    Yesterday an engineer spent two hours investigating a flaky test in a named Claude Code session. Today they want to continue with that context. What should they do?

  29. Question 29

    Domain 1: Agentic Architecture & Orchestration · Task 1.7

    An engineer resumes a session from last week, but since then teammates have refactored most of the files Claude read. What is the best way to continue?

  30. Question 30

    Domain 5: Context Management & Reliability · Task 5.4

    In a long Claude Code session exploring a large monorepo, answers start drifting toward generic advice instead of the specific classes found earlier. What should the engineer do?

  31. Question 31

    Domain 1: Agentic Architecture & Orchestration · Task 1.2

    Reports on "the economic impact of AI" cover only software and finance, even though the subagents did good work. Logs show the coordinator assigned just those two sectors. What is the root cause?

  32. Question 32

    Domain 1: Agentic Architecture & Orchestration · Task 1.2

    Why should all subagent communication go through the coordinator instead of subagents calling each other directly?

  33. Question 33

    Domain 1: Agentic Architecture & Orchestration · Task 1.2

    A first draft report has gaps in coverage. How should the coordinator handle this?

  34. Question 34

    Domain 1: Agentic Architecture & Orchestration · Task 1.3

    The synthesis subagent writes vague summaries and never mentions the sources the search subagent found. Its prompt is only "Synthesise the research findings." What is wrong?

  35. Question 35

    Domain 1: Agentic Architecture & Orchestration · Task 1.3

    The coordinator needs three independent searches. Today it spawns one subagent, waits, then spawns the next, and runs are slow. How should it spawn them?

  36. Question 36

    Domain 1: Agentic Architecture & Orchestration · Task 1.3

    You configure a coordinator with AgentDefinitions for its subagents, but it never manages to spawn any of them. What is the most likely configuration problem?

  37. Question 37

    Domain 1: Agentic Architecture & Orchestration · Task 1.6

    Analysts submit open-ended questions such as "How is EU regulation changing battery supply chains?". The right steps depend on what early searches find. Which decomposition approach fits?

  38. Question 38

    Domain 1: Agentic Architecture & Orchestration · Task 1.4

    Before a report is published, a compliance check must confirm that every figure has a source. The coordinator sometimes skips this check. How should you enforce it?

  39. Question 39

    Domain 2: Tool Design & MCP Integration · Task 2.3

    The synthesis subagent sometimes runs fresh web searches, which slows reports and introduces unvetted sources. It only needs to combine findings and check a few facts. How should you scope its tools?

  40. Question 40

    Domain 2: Tool Design & MCP Integration · Task 2.3

    Each subagent currently receives all 18 tools in the system. Which outcome is most likely?

  41. Question 41

    Domain 2: Tool Design & MCP Integration · Task 2.2

    A web search subagent hits a rate limit on one query. What should it do before involving the coordinator?

  42. Question 42

    Domain 2: Tool Design & MCP Integration · Task 2.2

    A document analysis subagent cannot open a PDF because access is denied. What should its result to the coordinator contain?

  43. Question 43

    Domain 2: Tool Design & MCP Integration · Task 2.1

    The document subagent has two tools, read_file ("reads a file") and read_document ("reads a document"), and it often picks the wrong one for PDFs. What is the best fix?

  44. Question 44

    Domain 5: Context Management & Reliability · Task 5.3

    Two of six search subagents time out, but the other four return good findings. What should the final report do?

  45. Question 45

    Domain 5: Context Management & Reliability · Task 5.6

    Two credible sources give different market sizes for the same year: $4.1B and $5.3B. How should the synthesis present this?

  46. Question 46

    Domain 4: Prompt Engineering & Structured Output · Task 4.1

    A review prompt says "flag fields that look suspicious". Reviewers find that most flags are false positives and have started ignoring them. What should you change?

  47. Question 47

    Domain 4: Prompt Engineering & Structured Output · Task 4.2

    Invoices sometimes show a "Total" that already includes tax and sometimes one that excludes it. Extraction of total_incl_tax is inconsistent. What is the most effective prompt change?

  48. Question 48

    Domain 4: Prompt Engineering & Structured Output · Task 4.2

    The model sometimes invents a purchase_order number when a document doesn't have one. How can few-shot examples help reduce this?

  49. Question 49

    Domain 4: Prompt Engineering & Structured Output · Task 4.3

    The pipeline asks Claude to "return JSON" in plain text and parses the reply. About 2% of outputs fail to parse. What is the most reliable fix?

  50. Question 50

    Domain 4: Prompt Engineering & Structured Output · Task 4.3

    The document_type enum is invoice, receipt or contract. New document types, such as credit notes, are being forced into one of these. How should you change the schema?

  51. Question 51

    Domain 4: Prompt Engineering & Structured Output · Task 4.3

    A schema marks due_date as required with type string. Many receipts have no due date, and the model fills in invented dates. What should you change?

  52. Question 52

    Domain 4: Prompt Engineering & Structured Output · Task 4.4

    A schema validator rejects an extraction because line_items totals don't match total. What should the retry request include?

  53. Question 53

    Domain 4: Prompt Engineering & Structured Output · Task 4.4

    A contract is missing its signature page, so the signed_date field can't be found. The pipeline retries extraction up to five times. What is the best design?

  54. Question 54

    Domain 4: Prompt Engineering & Structured Output · Task 4.4

    You want the model to catch its own arithmetic mistakes on invoices. Which schema design helps most?

  55. Question 55

    Domain 4: Prompt Engineering & Structured Output · Task 4.5

    Each night, 30,000 archived contracts must be re-extracted with a new schema. Results are needed by 9 a.m. the next day. Which approach fits best?

  56. Question 56

    Domain 4: Prompt Engineering & Structured Output · Task 4.5

    A batch of 10,000 receipts returns 9,850 successes and 150 errors. What is the best way to handle the errors?

  57. Question 57

    Domain 4: Prompt Engineering & Structured Output · Task 4.6

    After extraction, the same session is asked to review its own output for errors, but it rarely finds any. Which change will catch more errors?

  58. Question 58

    Domain 5: Context Management & Reliability · Task 5.5

    The extraction pipeline is 97% accurate overall, and the team wants to stop human review. Before deciding, what should you check? Select TWO.

    Choose 2.

  59. Question 59

    Domain 5: Context Management & Reliability · Task 5.6

    Downstream auditors must be able to check where each extracted value came from. What should each extracted field include?

  60. Question 60

    Domain 2: Tool Design & MCP Integration · Task 2.2

    The extraction pipeline calls an MCP tool, fetch_document, which sometimes fails because a file is still being uploaded. How should the tool report this?

60 questions unanswered; they count as wrong.

Video walkthrough

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