Leanpub Header

Skip to main content

Architect the Agent: The CCA-F Certification Guide

A complete study guide for the Claude Certified Architect Foundations (CCA-F) exam

This book is 78% completeLast updated on 2026-07-06

A scenario-based study guide for the Claude Certified Architect Foundations (CCA-F) exam. Learn to reason like an architect across all five domains, then prove it on two full practice exams.

Minimum price

$16.99

$34.99

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
WEB
APP
About

About

About the Book

The Claude Certified Architect Foundations (CCA-F) exam tests whether you can make the right architectural call under pressure, not whether you can recite definitions. This guide is built for exactly that.

It covers all five exam domains, agentic architecture, tool design and MCP, Claude Code, prompt engineering, and context management, and teaches each one the way the exam asks about it: through realistic scenarios with plausible wrong answers.

Every chapter opens with a failure worth understanding, builds the theory behind it, and closes with a hands-on build and a scenario quiz. A recurring "Why the Other Answer Fails" section trains the one skill the exam really rewards, seeing which architectural principle a tempting distractor quietly breaks.

Inside you get two full practice exams with a complete answer key, an appendix that explains the reasoning behind every question, a domain-by-domain glossary and flashcards, and clean original figures for the ideas that are easier to see than to read.

Written by Thomas De Vos, an AI lead Architect at HCLTech AI Labs, the book is reconciled against Anthropic's official exam guide, so you study what is actually tested and skip what is not. It is an independent study guide and is not affiliated with or endorsed by Anthropic.

Author

About the Author

Contents

Table of Contents

Architect the Agent. Earn the Badge.

  1. Copyright and Disclaimer
  2. Preface
  3. How to Use This Book

Part I: Orientation

Chapter 1: The CCA-F in Context

  1. The gap the badge measures
  2. The blueprint map
  3. What it validates
  4. Who it is for
  5. The exam at a glance
  6. The rules you agree to
  7. Validity, renewal, and the moving target
  8. Are you ready?
  9. Two-Minute Drill

Chapter 2: How the Exam Really Works

  1. The candidate who memorised everything and failed
  2. The blueprint map
  3. The mechanics that shape strategy
  4. The scenario engine
  5. Judgment, not recall
  6. The three distractor patterns
  7. The meta-rule
  8. A time strategy for a must-answer platform
  9. A quick diagnostic
  10. Two-Minute Drill

Chapter 3: The Six Production Scenarios

  1. A question you have seen before, wearing a mask
  2. The blueprint map
  3. How to read a scenario
  4. Scenario 1: The Customer Support Resolution Agent
  5. Scenario 2: Code Generation with Claude Code
  6. Scenario 3: The Multi-Agent Research System
  7. Scenario 4: Developer Productivity with Claude
  8. Scenario 5: Claude Code for Continuous Integration
  9. Scenario 6: Structured Data Extraction
  10. The map behind the six
  11. Two-Minute Drill
  12. Scenario quiz

Part II: Agentic Architecture and Orchestration

Chapter 4: Claude API Fundamentals for Agents

  1. The agent that forgot the conversation
  2. The blueprint map
  3. The Messages API and statelessness
  4. Tool use and function calling
  5. System prompts
  6. Context windows
  7. The Message Batches API
  8. Hands-on build: a two-turn exchange that remembers
  9. Why the Other Answer Fails
  10. Two-Minute Drill
  11. Scenario quiz

Chapter 5: The Agentic Loop

  1. The fix that looks right and ships the bug
  2. The blueprint map
  3. The loop, from a distance
  4. The one correct signal
  5. Feeding the loop: appending tool results
  6. The anti-patterns the exam plants
  7. Why the Other Answer Fails
  8. Hands-on build: a loop that fails well
  9. Two-Minute Drill
  10. Scenario quiz

Chapter 6: Agents versus Workflows and Task Decomposition

  1. The agent that should have been a script
  2. The blueprint map
  3. Agents versus workflows
  4. Model-driven versus pre-configured
  5. Task decomposition
  6. The four workflow patterns
  7. Agent design principles
  8. Hands-on build: the same task, two architectures
  9. Why the Other Answer Fails
  10. Two-Minute Drill
  11. Scenario quiz

Chapter 7: Multi-Agent Hub-and-Spoke

  1. The subagent that made things up
  2. The blueprint map
  3. The topology
  4. The Task tool and AgentDefinition
  5. The isolation rule, stated plainly
  6. Parallel spawning and fork_session
  7. Error propagation and synthesis
  8. Hands-on build: a parallel review with explicit context
  9. Why the Other Answer Fails
  10. Two-Minute Drill
  11. Scenario quiz

Chapter 8: Hooks, State, and Human-in-the-Loop

  1. The instruction the model skipped
  2. The blueprint map
  3. Programmatic enforcement versus prompt-based guidance
  4. The hook lifecycle
  5. Memory: in-context versus external
  6. Error classification, fallback, and retry
  7. Structured handoffs and escalation that fails safe
  8. Hands-on build: a guarantee and a clean handoff
  9. Why the Other Answer Fails
  10. Two-Minute Drill
  11. Scenario quiz

Part III: Tool Design and MCP Integration

Chapter 9: MCP Servers, Resources, and Built-in Tools

  1. The secret that shipped in the repo
  2. The blueprint map
  3. Server scoping and secrets
  4. Everything connects at once
  5. Resources: showing instead of searching
  6. Build versus buy, and descriptions that get used
  7. The built-in tools
  8. Hands-on build: a safe shared server plus a resource
  9. Why the Other Answer Fails
  10. Two-Minute Drill
  11. Scenario quiz

Chapter 10: Tool Boundaries, Schemas, and Errors

  1. The coordinator that could not decide
  2. The blueprint map
  3. Descriptions decide selection
  4. Splitting generic tools
  5. Distributing tools and tool_choice
  6. Structured error responses
  7. Why the Other Answer Fails
  8. Hands-on build: a tool with all three edges
  9. Two-Minute Drill
  10. Scenario quiz

Part IV: Claude Code Configuration and Workflows

Chapter 11: The CLAUDE.md Hierarchy

  1. The instruction the new teammate never received
  2. The blueprint map
  3. The three levels
  4. Modular instructions with @import
  5. Path-specific rules
  6. Diagnosing what is loaded
  7. Hands-on build: a hierarchy that behaves
  8. Why the Other Answer Fails
  9. Two-Minute Drill
  10. Scenario quiz

Chapter 12: Skills, Commands, and Plan Mode

  1. The command that polluted the conversation
  2. The blueprint map
  3. Custom slash commands
  4. Skills
  5. Plan mode versus direct execution
  6. Iterative refinement
  7. Hands-on build: the right mechanism for each need
  8. Why the Other Answer Fails
  9. Two-Minute Drill
  10. Scenario quiz

Chapter 13: The CLI and CI/CD Pipeline

  1. The job that hung forever
  2. The blueprint map
  3. Running headless
  4. Machine-readable output
  5. Project context in CI
  6. The self-review limitation
  7. Avoiding duplicate noise
  8. Hands-on build: a headless review step
  9. Why the Other Answer Fails
  10. Two-Minute Drill
  11. Scenario quiz

Part V: Prompt Engineering and Structured Output

Chapter 14: Prompt Precision and Few-Shot

  1. The reviewer that flagged half the codebase
  2. The blueprint map
  3. Explicit criteria over vague instructions
  4. Few-shot examples
  5. Distinguishing genuine issues from acceptable patterns
  6. Hands-on build: a reviewer you can trust
  7. Why the Other Answer Fails
  8. Two-Minute Drill
  9. Scenario quiz

Chapter 15: Structured Output and Validation

  1. The pipeline that shipped perfect, invented data
  2. The blueprint map
  3. Schemas guarantee syntax, not semantics
  4. Schema design that prevents fabrication
  5. Validation, retry, and the limits of retry
  6. Batch processing
  7. Review that does not trust one pass
  8. Hands-on build: an extractor that will not invent
  9. Why the Other Answer Fails
  10. Two-Minute Drill
  11. Scenario quiz

Part VI: Context Management and Reliability

Chapter 16: Context Management

  1. The summary that lost the number that mattered
  2. The blueprint map
  3. The case-facts block
  4. Lost in the middle
  5. Trim the tool outputs
  6. Scratchpad and delegation
  7. Resuming, forking, and recovering
  8. Hands-on build: a session that survives itself
  9. Why the Other Answer Fails
  10. Two-Minute Drill
  11. Scenario quiz

Chapter 17: Reliability, Review, and Provenance

  1. The agent that was confidently wrong
  2. The blueprint map
  3. Error propagation
  4. Escalation without unreliable signals
  5. Human review and calibration
  6. Provenance and uncertainty
  7. Hands-on build: a research pipeline that keeps its receipts
  8. Why the Other Answer Fails
  9. Two-Minute Drill
  10. Scenario quiz

Part VII: Passing

Chapters 18 and 19: The Capstone Builds

  1. Why build when the exam has no editor
  2. Build 1: A multi-tool agent with escalation logic
  3. Build 2: Claude Code for a team workflow
  4. Build 3: A structured data extraction pipeline
  5. Build 4: A multi-agent research pipeline
  6. Two-Minute Drill

Chapter 20: The Exam-Day Playbook

  1. The routine that survives the clock
  2. The blueprint map
  3. Pacing
  4. The per-question routine
  5. Hunting the violated principle
  6. When you are unsure
  7. Before and during
  8. Two-Minute Drill

Chapter 21: Scenario-Based Practice Exams

  1. How to sit these
  2. Practice Exam A
  3. Practice Exam B
  4. The Official Sample Set
  5. Two-Minute Drill

Chapter 22: Study Calendars and Beyond the Badge

  1. Two plans, one threshold
  2. The two-week intensive
  3. The four-week steady plan
  4. The ready-to-book threshold
  5. The book as a working reference
  6. Renewals and beyond
  7. Two-Minute Drill

Appendix: The Exhaustive Distractor Appendix

  1. Chapter 3: The Six Production Scenarios
  2. Chapter 4: Claude API Fundamentals for Agents
  3. Chapter 5: The Agentic Loop
  4. Chapter 6: Agents versus Workflows
  5. Chapter 7: Multi-Agent Hub-and-Spoke
  6. Chapter 8: Hooks, State, and Human-in-the-Loop
  7. Chapter 9: MCP Servers, Resources, and Built-in Tools
  8. Chapter 10: Tool Boundaries, Schemas, and Errors
  9. Chapter 11: The CLAUDE.md Hierarchy
  10. Chapter 12: Skills, Commands, and Plan Mode
  11. Chapter 13: The CLI and CI/CD Pipeline
  12. Chapter 14: Prompt Precision and Few-Shot
  13. Chapter 15: Structured Output and Validation
  14. Chapter 16: Context Management
  15. Chapter 17: Reliability, Review, and Provenance

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub