Claude Code Certification Practice Application

How I Used Claude Code to Build My Own Practice Exam for the Claude Certified Architect Certification

From a 40-page exam guide to an interactive study system and a passing score — in a single session.



Anthropic recently launched the Claude Certified Architect – Foundations certification, a scenario-based exam that validates whether practitioners can make real architectural decisions when building production systems with Claude. When I got my hands on the 40-page exam guide, I didn't just read it. I put Claude Code to work and had it build me a complete study system from scratch — then used it to pass my own practice exam.

Here's how the whole thing came together.


The Challenge

The exam guide is dense. It covers five weighted domains:

Domain Weight
Agentic Architecture & Orchestration27%
Tool Design & MCP Integration18%
Claude Code Configuration & Workflows20%
Prompt Engineering & Structured Output20%
Context Management & Reliability15%

The questions aren't trivia. They're scenario-based: you're dropped into a realistic production context — building a customer support agent, designing a multi-agent research pipeline, integrating Claude Code into CI/CD — and asked to make judgment calls about architecture, configuration, and tradeoffs. There are six possible scenarios and the exam picks four at random.

Reading the guide once isn't enough. I needed a way to internalize the material and test myself under realistic conditions.


Step 1: Harvesting the Knowledge

I gave Claude Code a single instruction: read the exam guide PDF, pull in all the relevant official documentation from Anthropic's platform docs and the MCP specification, and organize everything into a local knowledge corpus.

Claude Code went to work. It:

  • Extracted the full text from the 40-page PDF exam guide
  • Fetched documentation from platform.claude.com covering tool use, the agentic loop, tool definitions, tool_choice configuration, prompt engineering best practices, and the Message Batches API
  • Pulled MCP architecture details and server concepts from modelcontextprotocol.io
  • Cross-referenced everything against the exam syllabus to ensure complete coverage

The result was six structured markdown files in a corpus/ directory:

  • 00-exam-syllabus.md — Complete exam structure, domain weightings, all six scenarios, in-scope and out-of-scope topics
  • 01-agentic-architecture.md — Agentic loop lifecycle, stop_reason handling, coordinator-subagent patterns, hooks, session management
  • 02-tool-design-mcp.md — Tool descriptions, MCP architecture, isError patterns, tool_choice options, built-in tools
  • 03-claude-code-config.md — CLAUDE.md hierarchy, .claude/rules/ with glob patterns, skills, the -p flag for CI/CD
  • 04-prompt-engineering.md — Few-shot prompting, tool_use with JSON schemas, validation-retry loops, batch processing
  • 05-context-reliability.md — "Lost in the middle" effect, escalation patterns, error propagation, confidence calibration

Every file maps directly to an exam domain with the specific knowledge statements and skills from the guide organized into scannable reference sections. This isn't generic study material — it's the exam syllabus turned into a structured knowledge base.


Step 2: Building the Practice Exam

With the corpus built, I had Claude Code cross-reference every task statement, knowledge point, and skill from the exam guide against the harvested documentation to generate a full practice exam application.

Not a text file with questions. A fully interactive, browser-based exam application.

Claude Code produced a single self-contained HTML file with:

  • 37 scenario-based questions across all six exam scenarios, weighted to match the real exam's domain proportions
  • Realistic distractors modeled after the sample questions in the exam guide
  • Immediate feedback with detailed explanations after each answer
  • Progress tracking with a visual progress bar
  • Domain-by-domain scoring breakdown showing exactly where strengths and weaknesses are
  • A review mode with filtering — all answers, only incorrect, or by domain
  • Pass/fail scoring at the 72% threshold

The whole thing runs locally in a browser. No server, no API calls, no dependencies.


Step 3: Taking the Exam

I sat down and worked through all 37 questions. The scenarios ranged from debugging why a customer support agent skips identity verification to figuring out the right tool_choice configuration when document types are unknown.

Mid-Exam: CI/CD Integration Scenario



Question 23 drops you into a CI/CD integration scenario where automated code review generates too many false positives. It tests whether you know that explicit categorical criteria outperform vague instructions like "be conservative."

Mid-Exam: Structured Data Extraction Scenario



Question 26 asks you to design retry logic for a Pydantic validation pipeline. The key insight: retries work for format mismatches but are ineffective when information is absent from the source document.

Final Results: 84% — Passed



84% overall — 89% on Agentic Architecture, 100% on Tool Design & MCP, 88% on Claude Code Configuration, 78% on Prompt Engineering, and 71% on Context Management & Reliability. The domain breakdown immediately shows where to focus remaining study time.


What I Learned

Building the study system was itself a learning exercise. A few things that stood out:

Programmatic enforcement vs prompts is a recurring theme. The exam cares deeply about knowing when prompt instructions are sufficient (soft guidance, style preferences) versus when you need deterministic hooks or prerequisite gates (financial operations, identity verification). If the business rule has consequences when violated, the answer is almost never "improve the prompt."

Tool descriptions are the highest-leverage fix. Multiple questions test whether you understand that tool descriptions are the primary mechanism LLMs use for tool selection. When tools get misrouted, expanding descriptions is the first step — not few-shot examples, not routing layers, not tool consolidation.

Context management is subtle. The "lost in the middle" effect, progressive summarization risks, and the distinction between access failures and valid empty results are all tested. These aren't concepts you'd pick up from casual use.

The exam rewards proportionate responses. Several questions have a "correct but over-engineered" distractor. The exam wants the right first step, not the most sophisticated architecture. A classifier model trained on historical tickets might eventually be the right answer, but not before you've tried explicit escalation criteria with few-shot examples.


The Whole Process Took One Session

From downloading the exam guide to having a working practice exam with a complete knowledge corpus: one Claude Code session. The tool read the PDF, fetched documentation from multiple sources, synthesized everything into structured study materials, generated 37 exam-quality questions with explanations, and built a polished interactive application.

If you're preparing for the Claude Certified Architect – Foundations exam, I'd recommend a similar approach. Don't just read the guide. Build something with it. The act of structuring the knowledge and testing yourself against scenario-based questions is closer to what the exam actually measures: practical judgment about real production decisions.

The corpus files are solid quick-reference material for the night before the exam. The practice exam itself is the real value. Sixty minutes of working through scenarios will surface your blind spots faster than hours of passive reading.

Good luck on your certification.

Comments

Popular posts from this blog

I Made AI Sort a Decade of My Bad Photos