Skip to content

CCAR-F Practice Exam 5

Claude Certified Architect – Foundations. 60 questions. 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 3: Claude Code Configuration & Workflows · Task 3.1

    In a monorepo, packages/web and packages/api use different lint and test commands. When editing API code, Claude keeps running the web commands. What is the best fix?

  2. Question 2

    Domain 3: Claude Code Configuration & Workflows · Task 3.1

    Claude keeps creating new helper modules that duplicate utilities the codebase already has in src/lib/. What should you add to the project CLAUDE.md?

  3. Question 3

    Domain 3: Claude Code Configuration & Workflows · Task 3.2

    An engineer wants a /standup command that summarises their own commits each morning. Nobody else on the team needs it. Where should it live?

  4. Question 4

    Domain 3: Claude Code Configuration & Workflows · Task 3.2

    A /db-migrate skill is triggered whenever anyone mentions "database", even when they only ask a question about a query. What should you change?

  5. Question 5

    Domain 3: Claude Code Configuration & Workflows · Task 3.3

    Files under src/generated/ are produced from a schema and must never be edited by hand. Claude sometimes edits them directly. How should you tell Claude this?

  6. Question 6

    Domain 3: Claude Code Configuration & Workflows · Task 3.4

    A new feature needs a charting library, and three options look viable, each with different trade-offs. How should the engineer start working with Claude?

  7. Question 7

    Domain 3: Claude Code Configuration & Workflows · Task 3.5

    Claude's first implementation is close, but its variable names don't follow the team's style in a few places. What is the most effective next step?

  8. Question 8

    Domain 1: Agentic Architecture & Orchestration · Task 1.7

    An engineer has dozens of past sessions and needs the one from last Tuesday about the payments bug, which they never named. What should they run?

  9. Question 9

    Domain 1: Agentic Architecture & Orchestration · Task 1.7

    A script runs Claude Code headlessly twice: first to analyse a bug, then to write the fix with the analysis still in context. How should the second call continue the first?

  10. Question 10

    Domain 1: Agentic Architecture & Orchestration · Task 1.3

    The team's reviewer subagent in .claude/agents/ should only read code, never change it. How should this be set?

  11. Question 11

    Domain 1: Agentic Architecture & Orchestration · Task 1.5

    The team wants every file Claude edits to be formatted with Prettier automatically, without relying on Claude to remember. What should you configure?

  12. Question 12

    Domain 2: Tool Design & MCP Integration · Task 2.4

    One engineer wants an MCP server available only in this project, only for themselves, and not committed to the repo. Which scope fits, according to current Claude Code docs?

  13. Question 13

    Domain 2: Tool Design & MCP Integration · Task 2.5

    Claude needs to create a brand-new config file, and later change one value in a large existing file. Which tools fit these two jobs?

  14. Question 14

    Domain 5: Context Management & Reliability · Task 5.4

    Claude has been reading thousands of lines of test logs in the main session, and its answers about the code are getting vaguer. What should the engineer do next time?

  15. Question 15

    Domain 5: Context Management & Reliability · Task 5.4

    After running /compact, Claude no longer has the exact error message the engineer was debugging. How can this be avoided?

  16. Question 16

    Domain 2: Tool Design & MCP Integration · Task 2.4

    The tool connects to eight MCP servers "just in case", and tool selection errors have gone up. What is the best change?

  17. Question 17

    Domain 2: Tool Design & MCP Integration · Task 2.4

    An MCP server fails to authenticate, and its logs show the header value is literally ${GITHUB_TOKEN}. What is the most likely cause?

  18. Question 18

    Domain 2: Tool Design & MCP Integration · Task 2.5

    An engineer asks the tool to run the project's test suite and report which tests fail. Which built-in tool is the right one?

  19. Question 19

    Domain 2: Tool Design & MCP Integration · Task 2.5

    The engineer wants to know what went wrong near the end of a 200,000-line log file. What is the efficient way to look at it?

  20. Question 20

    Domain 2: Tool Design & MCP Integration · Task 2.1

    A custom generate_boilerplate tool often receives template names that don't exist. Its description says only "Generates boilerplate from a template". What should the description add?

  21. Question 21

    Domain 1: Agentic Architecture & Orchestration · Task 1.1

    Claude requests a tool named run_linter, but the loop has no handler for it and crashes with a KeyError. How should the loop handle unknown tool names?

  22. Question 22

    Domain 1: Agentic Architecture & Orchestration · Task 1.2

    Two module subagents give contradictory explanations of how a legacy job scheduler works. What should the coordinator do?

  23. Question 23

    Domain 1: Agentic Architecture & Orchestration · Task 1.3

    A boilerplate subagent keeps generating code that ignores the team's conventions, which are documented in docs/conventions.md. The coordinator's Task prompt just says "Generate a new service." What should change?

  24. Question 24

    Domain 1: Agentic Architecture & Orchestration · Task 1.6

    The tool must move 10 services to a new logging library. Each service goes through the same high-level steps, but the code changes differ in each. Which approach fits?

  25. Question 25

    Domain 1: Agentic Architecture & Orchestration · Task 1.7

    In your Agent SDK tool, an engineer wants to try an alternative fix from the current point without losing the original line of work. Which SDK option supports this?

  26. Question 26

    Domain 1: Agentic Architecture & Orchestration · Task 1.4

    The tool can run shell commands. The team requires human approval before any destructive command, such as rm -rf or DROP TABLE. How should this be enforced?

  27. Question 27

    Domain 3: Claude Code Configuration & Workflows · Task 3.4

    An engineer in plan mode asks Claude to fix a typo, but nothing changes in the file. Why?

  28. Question 28

    Domain 5: Context Management & Reliability · Task 5.4

    An engineer asks a question about the billing package in a huge monorepo, and the tool starts by searching the entire repository. What is the more efficient approach?

  29. Question 29

    Domain 5: Context Management & Reliability · Task 5.1

    A Grep for user returns 2,000 matches, and all of them go into context. The engineer only cares about where users are created. What should the tool do?

  30. Question 30

    Domain 5: Context Management & Reliability · Task 5.3

    A Bash build command exits with an error, but the agent tells the engineer "Build complete." What should the agent do with failed commands?

  31. Question 31

    Domain 3: Claude Code Configuration & Workflows · Task 3.6

    The CI review needs extra instructions, such as "post at most 10 comments", that shouldn't affect developers' local sessions. Where should these go?

  32. Question 32

    Domain 3: Claude Code Configuration & Workflows · Task 3.6

    The CI job's GitHub token can push to any branch and delete releases, but the review only posts PR comments. What should you change?

  33. Question 33

    Domain 3: Claude Code Configuration & Workflows · Task 3.6

    Developers notice that re-running the review on the same PR gives slightly different comments. What is the most realistic response?

  34. Question 34

    Domain 3: Claude Code Configuration & Workflows · Task 3.6

    Reviews of very large PRs exceed the CI job's time limit. How should the pipeline handle them?

  35. Question 35

    Domain 4: Prompt Engineering & Structured Output · Task 4.1

    The reviewer comments on test fixtures and generated files, which developers never change by hand. What should the review criteria say?

  36. Question 36

    Domain 4: Prompt Engineering & Structured Output · Task 4.1

    Many review comments repeat problems the linter already catches and blocks. What should the review criteria state?

  37. Question 37

    Domain 4: Prompt Engineering & Structured Output · Task 4.2

    The reviewer often comments on code that is actually fine, such as intentional early returns. Which kind of example would help most?

  38. Question 38

    Domain 4: Prompt Engineering & Structured Output · Task 4.2

    Generated tests use inconsistent names and structures across the codebase. What is the most effective way to fix this?

  39. Question 39

    Domain 4: Prompt Engineering & Structured Output · Task 4.4

    Some review comments refer to line numbers that aren't in the PR's diff, so they can't be posted. What should the pipeline do?

  40. Question 40

    Domain 4: Prompt Engineering & Structured Output · Task 4.5

    Every night, a job summarises all stale open PRs for a morning report. Results are matched to PRs by custom_id. Why is custom_id needed?

  41. Question 41

    Domain 4: Prompt Engineering & Structured Output · Task 4.5

    Which of these jobs is the best fit for the Message Batches API?

  42. Question 42

    Domain 4: Prompt Engineering & Structured Output · Task 4.6

    An independent instance reviews code that another instance generated. What should the reviewer receive?

  43. Question 43

    Domain 4: Prompt Engineering & Structured Output · Task 4.6

    You want to use the reviewer's confidence scores to decide which findings to post automatically. What should you do first?

  44. Question 44

    Domain 1: Agentic Architecture & Orchestration · Task 1.6

    Test generation for a large module produces shallow tests. How could the work be decomposed better?

  45. Question 45

    Domain 1: Agentic Architecture & Orchestration · Task 1.4

    Policy says no PR may merge until the CI review job has passed, but people sometimes merge early. How should this be enforced?

  46. Question 46

    Domain 4: Prompt Engineering & Structured Output · Task 4.3

    Some invoices list several tax lines, such as state and city tax, but the schema has a single tax number, so the model sums them or keeps one. What should change?

  47. Question 47

    Domain 4: Prompt Engineering & Structured Output · Task 4.4

    Some contract extractions have an end date that falls before the start date. How should the pipeline handle this?

  48. Question 48

    Domain 4: Prompt Engineering & Structured Output · Task 4.2

    Paid invoices carry a large "PAID" stamp, and the model sometimes reads the stamp's date as the invoice date. What is the most effective fix?

  49. Question 49

    Domain 5: Context Management & Reliability · Task 5.5

    You are switching the extraction pipeline to a new model version. What should you do about the confidence thresholds used for routing?

  50. Question 50

    Domain 5: Context Management & Reliability · Task 5.5

    The business requires 99% accuracy on documents that skip human review. How should the auto-approve confidence threshold be chosen?

  51. Question 51

    Domain 5: Context Management & Reliability · Task 5.6

    The pipeline calculates total_due by adding line items when a document doesn't state a total. How should the output show this?

  52. Question 52

    Domain 5: Context Management & Reliability · Task 5.6

    The same invoice was submitted twice, once as a PDF and once as a photo, and the extracted totals differ. What should the pipeline do?

  53. Question 53

    Domain 1: Agentic Architecture & Orchestration · Task 1.2

    A coordinator splits a 200-page loan file across extraction subagents, one per section type. Today it sends the whole 200-page file to every subagent. What should it send instead?

  54. Question 54

    Domain 2: Tool Design & MCP Integration · Task 2.1

    lookup_vendor returns one vendor even when the name is ambiguous, and sometimes it is the wrong one. How should its output be designed?

  55. Question 55

    Domain 2: Tool Design & MCP Integration · Task 2.2

    A PDF is corrupted and can't be parsed at all. How should parse_document report this?

  56. Question 56

    Domain 2: Tool Design & MCP Integration · Task 2.2

    OCR fails on pages 4 and 5 of a 10-page contract but succeeds on the rest. What should the OCR tool return?

  57. Question 57

    Domain 2: Tool Design & MCP Integration · Task 2.3

    The extraction agent was given direct, full access to the vendor database "to look things up". What is the better design?

  58. Question 58

    Domain 1: Agentic Architecture & Orchestration · Task 1.1

    The extraction step can call lookup_vendor before returning its result, but the pipeline code makes only one model call and then reads the reply. What happens, and what is the fix?

  59. Question 59

    Domain 1: Agentic Architecture & Orchestration · Task 1.6

    A team plans to split every two-page receipt into a separate request per page and then merge the results. What is the likely effect?

  60. Question 60

    Domain 1: Agentic Architecture & Orchestration · Task 1.4

    When a document is routed to human review, reviewers have to re-run the analysis to see what went wrong. What should the handoff include?

60 questions unanswered; they count as wrong.

Video walkthrough

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