July 22, 2026
How I Passed the Claude Certified Architect — Foundations (CCA-F) Exam: My Experience and…
I recently took the Claude Certified Architect — Foundations exam, commonly known as the CCA-F. With some preparation, I was able to pass…
By Kamal Dhungana
18 min read
I recently took the Claude Certified Architect — Foundations exam, commonly known as the CCA-F. With some preparation, I was able to pass the exam. Overall, I found it easier than I had initially expected, and the exam also uses partial grading for some questions.
In this article, I would like to share my personal experience and a few preparation strategies that may help others who are planning to take the exam.
This is not intended to be an exclusive or guaranteed preparation method. It is simply a practical starting point based on what worked for me.
Begin with Practice Tests
One of the first things I noticed was that the actual exam followed a pattern similar to the available sample and practice tests.
Before spending several weeks studying, I recommend taking two practice tests. Your initial score can help you understand:
- How much you already know
- Which topics require additional study
- Whether you understand the concepts or are only recognizing familiar terms
- How comfortable you are with scenario-based questions
Two useful resources for practice test:
- The mock exam available through Claude Certification Guide . This is an official document published by Anthropic.
- The practice test included in the Claude Certified Architect study repository. This is a community-based project. Please download the HTML file from the repository and open it in your web browser.
As we know, the exam consists of five domains, with each domain carrying a specific number of questions. After completing the practice tests above, you will have a clearer understanding of your strengths and the domains that require additional focus and preparation.
Aim for Conceptual Understanding
If you consistently score around 75% or higher on realistic practice tests, that may indicate that you are approaching exam readiness. However, this is only my personal observation — not an official passing prediction.
More importantly, do not memorize the answers.
In my experience, some questions on the actual exam felt similar to the practice questions, but many were not exact matches. They tested the same underlying concepts using different scenarios, constraints, and answer choices.
The real exam can also be more difficult because two or more options may appear reasonable. In some practice tests, the answer choices are often very distinct, making it relatively easy to identify the correct answer through elimination rather than a thorough understanding of the concept. On the actual exam, the differences between options may be much more subtle.
That is why conceptual clarity is more valuable than memorization.
You should be able to explain:
- Why the correct option is the best choice
- Why each alternative is less appropriate
- Under what circumstances another option might become correct
- What trade-offs are involved in the decision
What I Practiced: A Suggested Preparation Guide
Honestly speaking, each exam domain is built around a small number of key concepts. If those concepts are understood clearly and in depth, I believe passing the exam becomes much more manageable. This was the primary document I studied in detail, and I strongly recommend it to anyone preparing for the certification. It provides a focused overview of the key conceptual elements covered in the CCA-F exam.
This document covers the key concepts and also includes sample exam questions with detailed answers.
How I Prepared
My preparation strategy was simple, but I found it very effective.
I started by reading this document from beginning to end — twice. The goal was not to memorize everything, but to build a solid understanding of the overall concepts. This guide document does a good job of introducing the key topics that are covered in the exam and includes a number of practice questions with explanations.
However, I found that the explanations in the guide are intentionally brief. While they are excellent for identifying the important concepts, they are not sufficient for developing a deep understanding of those concepts.
For every key topic mentioned in the guide, I used ChatGPT and Google Gemini (I have a paid subscription, although the free versions should also be helpful) to ask follow-up questions until I fully understood the concept. These AI assistants typically reference and summarize the relevant official Anthropic documentation, making it much easier to connect the concept with practical understanding.
I found this approach to be extremely effective. Instead of trying to memorize answers or going through very lengthy documents, I focused on understanding the underlying concepts. Once the concepts became clear, many of the exam questions felt much more straightforward.
For example, the guide presents the following code snippet:
# The coordinator's allowedTools must include "Task"
coordinator_agent = AgentDefinition(
allowed_tools=["Task", "get_customer"]
)# The coordinator's allowedTools must include "Task"
coordinator_agent = AgentDefinition(
allowed_tools=["Task", "get_customer"]
)The accompanying explanation in the guide is intentionally brief. To gain a deeper understanding, I asked ChatGPT to explain what this code actually does and why the "Task" is required here in the Claude code.
That discussion helped me understand an important concept: the "Task" enables the coordinator agent to delegate work to its sub-agents. When the coordinator determines that another sub-agent is better suited to handle a particular request, it uses the Task tool to assign that work. Reference — line number 85 where the agent is defined.
Without including "Task" in the allowed_tools list, the coordinator agent cannot delegate tasks to sub-agents. Even if the sub-agents are correctly defined, the coordinator has no mechanism to invoke them. Understanding concepts like this—not just memorizing code snippets—made the exam much easier to approach.
How I Prioritized Different Sections
After completing some practice tests, I realized that I was less confident in two areas. The first was Claude Code Built-in Tools (Chapter 13 of the guide), which covers tools such as Glob, Grep, Read, Write, Edit, and Bash. At a high level, their purpose seems straightforward, but the exam often presents scenarios where selecting the best tool requires a deeper understanding. For example, if the Edit tool fails, you may need to determine whether Read followed by Write is the most appropriate alternative. I therefore spent additional time understanding how these tools should be applied in different situations. The second area was Chapter 7: Message Batches API, particularly continuous integration (CI), batch execution, failure handling, and debugging. The practice tests included several complex scenarios in this section, and many of them were initially confusing. As a result, I focused more on these chapters and reviewed the areas where I encountered the most difficulty during practice.
Key Concepts from an Exam Perspective
Below, I have highlighted the main concepts that provide a strong starting point for exam preparation. These key elements are especially important because many exam questions are likely to be built around them.
— — — — — — — — — — — —
Prompt Caching: If the system prompt is large and the total token count is close to the context-window limit, prompt caching should be considered to improve efficiency and make repeated context processing more manageable. For prompt caching, the number of token should be minimum 2.4K.
prompt & tool description: The system prompt and tool descriptions should be written clearly and distinctly. If the wording in a tool description overlaps too much with the system prompt, the tool may not be invoked as intended. When tool selection is inconsistent, one important thing to check is whether there is any ambiguity or overlap between the system prompt and the tool descriptions.
context window: If the context is very large, the model may overlook important information located in the middle. Therefore, critical information should be placed near the beginning or the end of the context. Tool calls can also add a significant amount of content, so the number of available tools should be limited to only those that are necessary. While summarizing the context, exact details such as numerical values, dates, percentages, and transaction records may be lost. If the context contains important transactional or factual information, those details should be preserved separately, while the remaining content can be summarized.
stop_reason: This field is very important for deciding whether the agentic loop should continue or stop. Two important values are tool_use and end_turn. tool_use means the agent should continue to the next step, execute the requested tool, and return the result to the model. end_turn means the agent has completed its work and the loop should stop.
tool_choice: This parameter can take three important values: any, auto, and tool. any means the model must select at least one available tool. auto means the model can choose either to call a tool or return a text response. tool means the model is forced to call a specific tool, and the tool name must be provided.
— — — — — — — — — — — — — -
JSON Schema: A JSON schema defines the exact structure Claude should follow when returning structured data. It can specify field names, data types, required fields, allowed values, numeric ranges, and whether additional properties are permitted.
tool_use for Structured Output: Using tool_use with a JSON schema is one of the most reliable ways to obtain structured output from Claude. It helps ensure that the response is valid JSON and follows the expected format.
Required Fields: A field should be marked as required only when the information is expected to be available in every case. Making uncertain information required may encourage the model to provide an incorrect or fabricated value.
Nullable Fields: When information may be missing from the source, the field should allow null, for example, "type": ["string", "null"]. This allows Claude to return null instead of inventing information.
Enums: Enums restrict a field to a predefined list of values. Values such as other and unclear are useful when the information does not fit the available categories or cannot be classified confidently. A separate detail field can be included to provide additional explanation.
additionalProperties: Setting "additionalProperties": false prevents Claude from returning fields that are not defined in the schema. This is useful when another application expects a strict and consistent response structure.
Syntax vs Semantic Correctness: A JSON schema can prevent syntax and structural errors, such as missing braces, incorrect field types, or absent required fields. However, it does not guarantee that the extracted values are factually correct.
Nullable fields and enums are especially important topics, and there is a strong possibility that the exam will include at least one question related to these concepts.
— — — — — — — — — -
allowed_tools: For subagent, it will provide the list of tools available to use. This will be a list. If there are too many tools in this list, agent will fail to pick up the right tool. Try to limit number of tools (about 4 to 5 tools).
Hub-and-Spoke (Coordinator and Subagents): The coordinator manages the entire multi-agent workflow by receiving the user's request, breaking it into smaller subtasks, dynamically selecting the required subagents, and assigning each task to the most appropriate agent. Because subagents operate in isolated contexts, they do not automatically inherit the coordinator's conversation history or share memory with one another, so all necessary instructions, background information, and previous results must be explicitly passed in each subagent prompt. The coordinator also collects, combines, and validates the outputs, handles errors and retries, and ensures that all communication flows through a central point for better observability and control before presenting the final response to the user.
Hooks: Hooks allow developers to intercept, validate, block, or transform actions at specific points in the agent lifecycle. A PreToolUse hook runs before a tool is executed and is useful for enforcing critical business rules, such as blocking refunds above a permitted limit or preventing unauthorized operations. A PostToolUse hook runs after a tool completes but before the result is returned to the model, making it useful for normalizing dates, cleaning tool output, converting status codes, or removing unnecessary fields. The key difference between hooks and prompt instructions is reliability: prompts guide the model's behavior but remain probabilistic, while hooks enforce deterministic workflow rules through application logic. Use prompt instructions for general preferences, recommendations, tone, and formatting, but use hooks when failure could create financial, legal, compliance, or safety risks. In simple terms, prompts influence what the model should do, while hooks control what the system is allowed to do.
— — — — — — — — — — — — — —
MCP Server Configuration: Project-level MCP servers are defined in the .mcp.json file located at the project root and are typically managed through version control, making them available to all project contributors. Secrets such as API tokens should never be committed directly; instead, environment-variable references such as ${GITHUB_TOKEN} should be used. Personal or experimental MCP servers should be configured in ~/.claude.json, which is stored in the user's home directory, is not shared through version control, and is best suited for local testing and individual experiments. For common integrations such as Jira, GitHub, or Slack, existing community MCP servers are usually the best choice, while custom MCP servers should be created only for unique, organization-specific workflows.
isError : When an MCP tool fails, it should return isError: true to clearly indicate that the tool call was unsuccessful. A well-designed error response should provide structured details such as the error category, whether the failure is retryable, a clear message, the attempted query, and any partial results. This information helps the agent decide whether to retry the operation, correct the input, use an alternative approach, or escalate the issue. In contrast, a generic response such as "Operation failed" is an anti-pattern because it gives the agent no useful information for recovery or decision-making.
— — — — — — — — — — — —
The CLAUDE.md Hierarchy: CLAUDE.md files provide persistent instructions to Claude Code and can be defined at three levels. A user-level file, stored at ~/.claude/CLAUDE.md, applies only to one user and is best suited for personal preferences and working style because it is not shared through version control. A project-level file, stored as .claude/CLAUDE.md or CLAUDE.md at the project root, applies to all contributors and should contain shared coding standards, testing requirements, and architectural decisions. A directory-level CLAUDE.md applies only when Claude works with files in that specific directory, making it useful for local conventions within a particular part of the codebase. A common mistake is placing team-wide instructions in the user-level file, which prevents new contributors from receiving them; shared project guidance should always be stored at the project level and committed to version control.
The @path syntax: A CLAUDE.md file can import instructions and reference material from external files by using @ immediately before the file path. This makes the configuration modular and avoids duplicating the same standards across multiple instruction files. For example, a project-level CLAUDE.md can reference coding standards from @./standards/coding-style.md, testing requirements from @./standards/testing-requirements.md, and project information from @README.md or @package.json. Both relative and absolute paths are supported, and relative paths are resolved from the location of the file containing the import. Imports can be nested up to five levels. This approach allows each package or project area to include only the documentation and standards relevant to its work.
The .claude/rules/ directory: The .claude/rules/ directory provides a modular alternative to placing every instruction in one large CLAUDE.md file. Rules can be organized by topic, such as testing, API conventions, deployment, or React development patterns. Each rule file can also include a paths field in its YAML frontmatter, allowing the rule to load only when Claude Code works with matching files. For example, API conventions can be applied only to files under src/api/**/*, while testing standards can apply to all *.test.ts and *.test.tsx files regardless of their location. Conditional loading reduces unnecessary context and token usage because irrelevant rules are not included. Path-specific rules are most useful when conventions apply to files spread across several directories, while a directory-level CLAUDE.md is better when instructions belong only to one specific section of the codebase.
Custom slash commands and skills: Slash commands are reusable prompt templates that can be invoked using commands such as /review or /test-gen. The older .claude/commands/ format remains supported, while the current approach uses skills stored under .claude/skills/. Both formats can create reusable /name workflows. Project-level commands and skills are stored inside the repository, shared through version control, and available to all contributors, helping teams follow consistent development processes. User-level commands and skills are stored under ~/.claude/commands/ or ~/.claude/skills/ and are intended for personal workflows that should not be shared with the rest of the team.
Skills: Skills are advanced, reusable workflows defined through a SKILL.md file and optional YAML frontmatter. The context: fork setting runs the skill in an isolated subagent context, preventing verbose intermediate output from filling the main conversation. The allowed-tools setting limits which tools the skill may use, improving security and reducing unnecessary capabilities. The argument-hint setting tells users what input should be provided when invoking the skill. Skills are best suited for specialized tasks that should be triggered on demand, such as code reviews, architecture analysis, or test generation. In contrast, CLAUDE.md should contain general standards and conventions that should remain active throughout the project. Personal skill variations can be created under ~/.claude/skills/ using different names so that individual preferences do not affect other contributors.
Planning mode versus direct execution: Planning mode allows Claude Code to inspect and understand the codebase without making changes. It typically uses tools such as Read, Grep, and Glob to investigate the existing structure and then produces an implementation plan for user approval. Planning mode is most appropriate for large changes, unfamiliar codebases, architectural decisions, migrations affecting many files, or situations where several valid implementation approaches exist. Direct execution is better for small, well-understood changes, such as fixing a single-file error, adding one validation rule, or implementing an unambiguous update. A strong workflow is to use planning mode for investigation and design, obtain approval, and then switch to direct execution for implementation. An Explore subagent can also be used to isolate verbose discovery work and return only the most important findings, helping prevent context-window exhaustion.
The /compact command: /compact is a built-in Claude Code command that summarizes earlier conversation history to free space in the context window. It is especially useful during long investigations where repeated file reads, searches, and tool outputs have consumed a significant amount of context. However, summarization may remove or generalize important details such as exact dates, numerical values, identifiers, and technical findings. Before using /compact, critical information should be preserved in a structured note, scratchpad file, or persistent project document so that essential details are not lost.
The /memory command: /memory is a built-in command that opens the relevant CLAUDE.md file for editing so that important instructions, preferences, and project context can be saved for future sessions. Information stored there persists across sessions and is automatically loaded when Claude Code starts. It is useful for preserving coding conventions, testing practices, frequently used commands, architectural decisions, and personal working preferences. This reduces the need to repeat the same instructions each time a new session begins.
— — — — — — — — —
Claude Code CLI for CI/CD: The -p or --print flag runs Claude Code in non-interactive mode, making it suitable for automated CI/CD pipelines. It processes the prompt, prints the result to standard output, and exits without waiting for user input. Structured output can be generated using --output-format json, while --json-schema can enforce a predictable response format that downstream automation can parse, such as posting inline pull-request comments. For stronger review quality, the code-generation session and the review session should be isolated because the same session that created the code may be less likely to challenge its own earlier decisions. When a pull request is reviewed again after new commits, prior findings should be included in the context, with instructions to report only new or unresolved issues to avoid duplicate comments.
Session management and fork_session: The --resume <session-name> option continues a previously saved Claude Code session with its existing context, making it useful for long investigations that span multiple working sessions. However, resumed context may contain stale tool results if files or dependencies have changed. The fork_session capability creates independent branches from a shared context, allowing different approaches or strategies to be explored in parallel. Each fork inherits the context available at the branch point and then continues independently. Forking is especially useful for comparing architectural options, testing alternative implementations, or investigating competing hypotheses. A new session is often safer than resuming when the codebase has changed significantly, substantial time has passed, or the previous context has become unreliable; in such cases, starting fresh with a concise summary of confirmed findings is preferable to continuing with stale information.
Few-shot prompting: Few-shot prompting provides two to four input-and-output examples that demonstrate the expected behavior, format, and decision logic. It is often more effective than vague instructions because examples show exactly how the model should respond in specific situations. For ambiguous requests, examples can clarify which tools should be called and why; for structured output, they can demonstrate the required JSON format; and for code review, they can distinguish acceptable code from real issues. Few-shot prompting is also highly useful for extracting informal or non-standard measurements, such as converting "two handfuls of rice" into an approximate standardized value. When strict JSON schemas are used, the prompt should also include normalization rules for dates, currencies, percentages, and similar values so that the output is not only syntactically valid but also semantically consistent.
Efficient batch processing: The Message Batches API is designed for large, non-urgent workloads and can provide significant cost savings compared with synchronous requests. Because batch jobs may take up to 24 hours and do not provide guaranteed low-latency completion, they are best suited for tasks such as overnight reports, document audits, weekly evaluations, and large-scale extraction jobs. They should not be used for blocking workflows such as pre-merge checks or interactive user requests. The Batch API also does not support multi-turn tool-calling loops within a single request. Each request should include a unique custom_id so that responses can be matched to the correct input and failed items can be identified and resubmitted individually. Before processing a large dataset, prompts should first be tested on a representative sample, and the batch submission schedule should be planned according to the required completion window.
Multi-instance and multi-pass review: A model is often less effective at reviewing work it generated itself because it retains the original reasoning context and may be less likely to challenge its own decisions. A stronger approach is to use a second, independent Claude instance that receives the code or output and the review criteria, but not the generator's full reasoning history. For large or multi-file changes, reviews should also be divided into multiple passes: first analyze each file independently for local issues, then perform a separate integration pass to examine cross-file dependencies, data flow, and module interactions. This reduces attention dilution and improves the likelihood of identifying subtle defects. Verification passes and confidence signals can also be used to prioritize uncertain findings for additional review or human validation.
Effective escalation and ambiguity handling: An agent should escalate when the user explicitly requests a human, when the applicable policy is unclear or does not cover the situation, or when the agent cannot make meaningful progress. Explicit requests for a human should be handled immediately without forcing the user through additional troubleshooting. Sentiment analysis and model-generated confidence scores should not be treated as reliable indicators of case complexity because a frustrated customer may still have a simple issue, while a calm request may involve a serious policy exception. When multiple customer records match, the agent should ask for an additional identifier rather than making a heuristic guess. Clear escalation criteria, supported by few-shot examples in the system prompt, help the agent distinguish between cases it should resolve independently and cases that require human involvement.
Error propagation in multi-agent systems: When a subagent encounters a failure, it should return structured error information rather than a generic message. Useful error context includes the failure type, the action or query attempted, whether the error is retryable, any partial results, and possible alternatives. This allows the coordinator to decide whether to retry, assign the task to another agent, continue with partial information, or escalate. It is also important to distinguish an access failure, such as a timeout, from a valid empty result where the search completed successfully but found no matches. Transient failures should be handled locally by the subagent whenever possible, while non-recoverable errors should be passed to the coordinator with all available context. Silently suppressing failures and aborting the entire workflow because one component failed are both poor design patterns. The final synthesis should clearly indicate which findings are well supported and where coverage gaps remain.
Context management for large codebases: Long investigation sessions can cause context degradation, where the model begins relying on generic assumptions instead of referring to specific files, classes, or functions. To avoid this, verbose discovery work should be delegated to specialized subagents, while the main agent retains only high-level coordination and validated summaries. Scratchpad files can preserve important findings, decisions, file paths, and unresolved questions across context boundaries. Structured state persistence also supports recovery if the session is interrupted or restarted. Before beginning a new investigation phase, the current findings should be summarized and saved so that the next subagent receives only the necessary context. The /compact command can reduce context usage during long sessions, but critical details should be preserved separately before compaction.
Human oversight and confidence calibration: A high overall accuracy score can hide poor performance on specific document types, fields, or edge cases. For example, a system may achieve 97% overall accuracy while performing poorly on handwritten forms or certain financial fields. Accuracy should therefore be measured by document type, field, confidence range, and error category before a workflow is fully automated. Stratified random sampling can be used to review both high- and low-confidence outputs and detect new error patterns that aggregate metrics may miss. Confidence scores should be calibrated using labeled validation data rather than accepted at face value. Low-confidence results, ambiguous source material, and high-risk fields should be routed to human review using thresholds based on measured performance.
Provenance and uncertainty management: Multi-source reports should preserve a clear mapping between each claim and its original source. Without structured claim-to-source mappings, attribution can be lost during summarization and aggregation. Subagents should return source details such as the document name, URL, relevant quotation, and publication or collection date along with each finding. When sources provide conflicting statistics, the system should preserve both values, identify their sources, and explain the disagreement rather than choosing one arbitrarily. Publication dates are especially important because values collected at different times may appear contradictory even when both are accurate. Final reports should clearly separate well-supported findings from disputed or uncertain conclusions and present information in the most appropriate format, such as tables for financial data, prose for news summaries, and structured lists for technical findings.
I found that most of the exam questions were closely related to the key concepts discussed above. Developing a clear understanding of these topics can make the exam much easier and significantly improve your chances of passing. I strongly recommend that anyone planning to take the exam carefully review the study guide and practice tests mentioned in this article. I found these resources extremely helpful during my preparation, and I hope they will be equally valuable to others. Good luck with your exam!