CCDV-P · CHEAT SHEET
Claude Certified Developer – Professional
Key concepts grouped by official exam weight.
Download as PDF (free, no sign-up)1. Advanced Agent Architecture and Orchestration
17–17%Multi-Agent Orchestration
- A subagent starts with its own context and receives only the delegation prompt, so that prompt must carry the objective, output format, sources and boundaries; it returns only its final message. In Managed Agents, threads isolate context but share the sandbox and credentials, and a subagent's approval requests are cross-posted to the primary thread, where they should be answered as they arrive.
Durable Execution and State Management
- A session persists the conversation, not files: a SessionStore mirrors transcripts only, and working-directory artifacts need their own storage. A long-running agent should resume from its last checkpoint, keep progress outside the context and, because a Managed Agents session cannot change model, move to a new session carrying state in a memory store.
Architecture Selection at Scale
- Start with the simplest solution: workflows with predefined code paths give predictability for well-defined tasks, and agents only pay for their cost on open-ended problems where the number of steps cannot be hardcoded. The Messages API suits custom loops with fine-grained control, the Agent SDK brings Claude Code's agent into your own process, and Claude Managed Agents hosts the harness for long-running, asynchronous work.
Context and Memory Architecture
- Compaction replaces older turns with a summary, while context editing clears old tool results or thinking by rule, and both can invalidate the cache. The memory tool keeps what must survive in storage you control. To change instructions or tools without breaking the cached prefix, append role system messages, and for large catalogs use tool search with defer_loading.
2. Production Integration, Reliability, and Knowledge Grounding
20–20%Reliability Engineering for Claude Services
- Reliable retries follow x-should-retry and retry-after, use capped exponential backoff and separate cases that never improve on retry, such as the spend-cap 429 or a prompt that does not fit the window. A refusal arrives as a 200 with stop_reason refusal and is retried on another model; server-side fallback does not act on 429 or 529, and each cloud platform offers different features.
Scale and Throughput Management
- The Messages API limits requests, input tokens and output tokens per minute separately; cache reads do not count toward input, max_tokens does not count toward output and sharp growth can hit a ramp limit. The Message Batches API has its own limits and is asynchronous, and workspaces isolate workloads with caps that never exceed the organization's limits.
Production MCP and Change Management
- Dateless model IDs are fixed snapshots: a newer model ships under a new ID, and each ID, or each partner platform, has its own retirement schedule. Migrations require testing behaviour changes such as thinking blocks or default effort, and configuring each platform. For remote MCP the current revision removes sessions, OAuth tokens are validated by audience, and Managed Agents versions agents for staged rollouts.
Retrieval and Knowledge Grounding at Scale
- Agentic search loads data just in time and avoids stale indexes at the cost of latency; RAG scales better when content changes little. Retrieval improves by combining embeddings with BM25, adding context to each chunk and reranking. Citations give verifiable pointers, the model must be allowed to say it does not know, and a failure is located by measuring each stage: indexing, query, retrieval, reranking and generation.
3. Observability and Production Monitoring
12–12%Telemetry and Instrumentation
- The Agent SDK and the Claude API export OpenTelemetry traces, metrics and events, with spans for each model request and tool call linked to the application's trace through traceparent. Telemetry is structural by default: prompts and outputs are exported only when opted in, and under zero data retention delivered content falls under the destination's retention. Counting tokens once requires knowing which fields already include cache tokens.
Production Monitoring and Alerting
- Stop reasons such as refusal or max_tokens arrive in successful HTTP responses, so SLIs must use them rather than status codes alone. After a model change, watch max_tokens stops, refusals by category and the shape of responses. Fast alerts come from live telemetry; the Usage and Cost Analytics API lags by hours and serves reconciliation and leaked-key detection.
Trace Analysis at Scale
- Head sampling decides early and keeps whole traces but cannot guarantee keeping traces with errors; tail sampling can, at the cost of stateful components. When quantifying, weight each trace by the inverse of its sampling probability, deduplicate by trace ID and span ID, and group by the right entity. Comparing attributes between failing and succeeding cohorts reveals patterns no single trace shows.
4. Advanced Debugging and Incident Response
10–10%Complex Failure Diagnosis
- Isolating a failure means separating model, harness, tools and data using the evidence: a refusal arrives as HTTP 200 with stop_reason "refusal", a badly built history causes empty replies or 400 errors, and a tool that hides a failure or stale data makes the model faithfully repeat something wrong. Because outputs vary between runs even at temperature 0, reproduce with many trials and read the transcripts.
Incident Response and Learning Loops
- During an incident, classify the error by type and code (a spend-cap 429 has no retry-after and is not fixed by retrying), roll back a suspect change early even without reproduction, and do not close until quality recovers on every path. Afterwards, real failures go into the regression suite, sensitive production evaluations and refusal-aware alerts are added, and the postmortem explains what happened and what changes.
5. Evaluation Engineering and Quality Assurance
12–12%Evaluation System Design
- Start with 20-50 tasks taken from real failures and keep a regression suite (near 100%) apart from a capability suite (starts low). Grade the final outcome rather than the path, isolate each trial in a clean environment, use held-out and balanced sets, measure retrieval and groundedness separately, and compare candidates with paired differences and clustered errors.
LLM-as-Judge Engineering
- An LLM judge must be calibrated against human labels before it blocks releases, with detailed rubrics, constrained output (correct/incorrect or 1-5), thinking on for complex judgments, an "Unknown" way out and, generally, a different model from the one that produced the output. Expert agreement sets the ceiling, and a judge model change requires recalibration and re-scoring the baseline.
Online Quality Measurement
- Production quality combines continuously graded samples of live traffic, randomized A/B tests (slow, needing traffic, power analysis and clustering by user) and user feedback, which is sparse and self-selected. The metric depends on the task: exact match or F1 for extraction, rubrics or ROUGE-L for generation, final state for agents and groundedness for retrieval-grounded answers.
6. Cost and Latency Optimization at Scale
8–8%Cost Architecture at Scale
- Compare models on cost per completed task and price the tail, not the median. Turn on prompt caching first, pick the cache duration from real gaps between turns, and use cache diagnostics to find where the prefix diverged. Batch work no one waits on, and cap per-tenant spend with workspace limits and session budgets.
Latency Engineering
- Separate time to first token from total latency before choosing a lever. Streaming improves perceived speed, cache hits and pre-warming cut time to first token, fast mode raises output speed but not time to first token, and lower effort reduces thinking. Run independent tool calls in parallel and return all their results in one message.
7. Runtime Guardrails and Production Security
11–11%Runtime Guardrail Systems
- Layer the controls: input and output screens with a small model and structured output, risk levels to balance false positives and negatives, PreToolUse hooks that block even in bypassPermissions, and an OS-enforced sandbox for shell commands. Treat a refusal as a normal response: discard partial output and show your own message.
Threat Defense and Adversarial Testing for Agentic Systems
- Third-party content goes only into tool_result blocks, JSON-encoded and labelled with its source, and is screened before the agent acts; a refused screen counts as suspect. An agent that reads untrusted input should not hold private data and a free outbound channel at once: limit web_fetch with allowed_domains, attach memory read_only and distrust MCP annotations from untrusted servers.
Identity, Secrets, and Audit at Scale
- Workload Identity Federation swaps static keys for short-lived tokens bound to a service account; a leftover ANTHROPIC_API_KEY takes precedence and overrides federation. Keep workloads of different trust in separate workspaces, never give the agent a Claude API key, and keep secrets in vaults injected only in headers to exact hosts. For audit, export events before deleting sessions.
8. Agent Fleet Operations for Software Delivery
10–10%Parallel Agent Orchestration for Engineering Work
- Each parallel session or subagent should edit in its own worktree; a worktree is a fresh checkout, so .worktreeinclude copies gitignored files and worktree.baseRef head carries unpushed commits. Agent teams do not isolate files: split ownership by file and use a few teammates with self-contained tasks. Headless -p runs leave their worktrees behind, and OpenTelemetry metrics let you attribute commits.
Verification and AI Code Review Operations
- A new AI reviewer starts in observe mode and gates merges only once its decisions match those of human reviewers. The Code Review check concludes as neutral, so gating needs its severity line or an Approvals policy; REVIEW.md recalibrates severity. When generation outpaces review, tier code by risk, require a non-author human where it matters and sample automated approvals.
Unattended and Event-Driven Agent Operations
- Cloud scheduled tasks run without a machine or an open session; /loop and channels need a live session. API trigger text arrives as untrusted data and the saved prompt must opt in to it. In unattended runs, --permission-prompts none denies instead of waiting, and the job should check structured_output and notify a person; a Succeeded status does not prove the work was done.
Organization-Wide Coding Agent Configuration
- Managed settings outrank other levels, but by default only the highest-ranked managed source applies, and cloud sessions in Anthropic-hosted environments do not read device policy. An MCP allowlist is enforced only with allowManagedMcpServersOnly and serverUrl or serverCommand entries. Telemetry needs endpoint and exporter selectors in managed settings; plugins are governed with marketplace allowlists, no sideloading and evals in CI.