CCDV-F exam cheat sheet (exam guide 1.1)
The whole Developer Foundations guide on three printed pages or fewer. For each domain, one line to remember and an "if the question says this, pick that" table, plus the facts worth memorizing. Read it the day before the exam.
- D1 Agents and Workflows 17%
- D2 Applications and Integration 20%
- D3 Claude Code 8%
- D4 Eval, Testing, and Debugging 10%
- D5 Model Selection and Optimization 12%
- D6 Prompt and Context Engineering 15%
- D7 Security and Safety 8%
- D8 Tools and MCP 10%
How to read a CCDV-F question
Most items show code, a request, a trace, an error or a configuration with something wrong. Six habits pick the right answer:
- Find the layer. Integration code, configuration, tool, prompt or model: fix the one that failed.
- Classify before you retry. Transient (429, 529) or deterministic (400, max_tokens, refusal).
- Enforce outside the model. Hooks, permission rules, tool code, identity scope; prompts only guide.
- Simplest thing that works. Workflow before agent, built-in before custom, custom tool before MCP server.
- Measure, then change. Golden sets, calibrated judges, regression runs on every prompt or model change.
- Send less. Minimal data in, shaped tool results, cached stable prefixes.
Domain 1 · 17%Agents and Workflows
Remember: code decides what is allowed; the model decides what to try.
| If the question says | Pick | Not |
|---|---|---|
| Same steps every time | Workflow (chain, route, parallelize) 1.1 | An agent |
| Next step depends on findings | Agent loop with tools 1.1 | A fixed chain |
| Audit or low error tolerance | Logged workflow steps; approvals in code 1.1 | Model-written explanations |
| Independent, context-heavy parts | Orchestrator plus scoped subagents with result format 1.1 | Splitting dependent steps |
| Must run inside our network | Self-hosted Agent SDK harness 1.1 | Managed runtime |
| Sandboxed, resumable sessions, no infra team | Claude Managed Agents 1.1 | Laptops, shared VMs |
| "Always run tests before stopping" | Stop hook 1.2 | Bolder prompt |
| Block a dangerous command | PreToolUse deny 1.2 | PostToolUse log |
| Loop never ends / 400 after tool call | Stop on stop_reason, cap turns; answer every tool_use id 1.2 | Retry the 400 |
| 60 identical failing calls | Loop termination 1.3 | Memory |
| Forgets across sessions | Memory store outside the conversation 1.3 | Bigger window |
Command hooks block with exit code 2. MCP tools are named mcp__server__tool. Subagents are picked by description and do not inherit Skills.
Domain 2 · 20%Applications and Integration
Remember: the API is stateless and literal; classify every failure before you retry.
| If the question says | Pick | Not |
|---|---|---|
| "system" role rejected | Top-level system parameter 2.1 | A system message |
| Stream cut short, truncation looks complete | End on message_stop; stop_reason from message_delta 2.1 | First content_block_stop |
| tool_use stop | Run tool, tool_result in next user turn 2.1 | Show as final |
| Thinking budget > max_tokens | Raise max_tokens 2.1 | Drop thinking |
| Users waiting / overnight bulk | Realtime streaming / Message Batches 2.1 | Batch for chat |
| Works in claude.ai, plain on API | Supply your own system prompt 2.2 | Blame the model |
| Full record sent for a small question | Send only needed fields 2.2 | "Ignore these fields" |
| Shared rule must be unremovable | Managed settings deny 2.3 | CLAUDE.md |
| Behavior changed with no deploy | Pin a dated model ID 2.3 | Alias |
| 400 retried / 429 storm | No retry for 400; retry-after plus jitter 2.4 | Retry everything, more keys |
| File ID not found elsewhere | Same workspace for upload and use 2.4 | Re-upload forever |
| .docx or TIFF rejected | Convert to PDF, text or supported image 2.4 | Rename extension |
Stop reasons: end_turn, tool_use, max_tokens, stop_sequence, pause_turn (send back), refusal (safety path), model_context_window_exceeded. Settings: managed > CLI > local project > shared project > user; deny > ask > allow. Batch results: match by custom_id.
Domain 3 · 8%Claude Code
Remember: CLAUDE.md informs, settings and hooks enforce, Skills load on demand.
| If the question says | Pick | Not |
|---|---|---|
| Analyze without changing anything | plan mode 3.1 | acceptEdits |
| CI job, parseable output | claude -p, --output-format json, --allowedTools, --max-turns 3.1 | Interactive session |
| React to events live | stream-json with --verbose 3.1 | json |
| Long session, keep decisions | /compact with guidance 3.1 | /clear |
| New unrelated task | /clear 3.1 | /compact |
| Every edit formatted | PostToolUse hook 3.2 | CLAUDE.md rule |
| Occasional procedure | Skill with a clear description 3.2 | CLAUDE.md |
| Typed-only command | Skill with disable-model-invocation 3.2 | Hook |
| Rules for one folder | .claude/rules/ with paths 3.2 | Root CLAUDE.md |
| Share setup across team | Plugin via marketplace; paths via ${CLAUDE_PLUGIN_ROOT} 3.2 | Zip files, absolute paths |
Plugin commands are namespaced: /plugin:command. bypassPermissions only in isolated containers.
Domain 4 · 10%Eval, Testing, and Debugging
Remember: measure the goal with trusted references; fix the layer that failed.
| If the question says | Pick | Not |
|---|---|---|
| Judge never checked | Calibrate on human labels, held-out set 4.1 | Bigger judge |
| High agreement, misses the bad ones | Per-class agreement 4.1 | Overall % |
| Correctness checkable in code | Code grader (compile, run, schema) 4.1 | LLM judge |
| Rare costly misses | Recall (with precision) 4.1 | Accuracy |
| 2-point gap, noisy runs | More cases, repeat trials 4.1 | Ship the winner |
| Valid output corrupted later | Integration layer fix 4.2 | Prompt change |
| Confident fact, no tool call | Hallucination from under-acting: require lookup 4.2 | Lower temperature |
| Missing system prompt in request | Configuration fix 4.2 | Rewrite prompt |
Domain 5 · 12%Model Selection and Optimization
Remember: cheapest tier that passes the bar; cache what repeats; batch what waits.
| If the question says | Pick | Not |
|---|---|---|
| Temperature 0 still varies | Expected; validate and structure 5.1 | API bug |
| More depth on hard tasks only | Effort or thinking 5.1 | Temperature |
| Will it fit? | Token counting 5.1 | Word count |
| Latency and volume bind | Smallest tier that passes 5.2 | Largest tier |
| Mixed easy and hard traffic | Route by difficulty 5.2 | One tier for all |
| New version available | Regression set, gradual rollout, rollback 5.2 | Switch all at once |
| Input dominates, prefix repeats | Breakpoint after stable prefix 5.3 | Batch for chat |
| Per-customer doc changes weekly | Layered breakpoints 5.3 | One breakpoint after question |
| Multi-turn chat | Rolling breakpoint 5.3 | Cache system only |
| Zero cache reads | Something changes before the breakpoint 5.3 | Longer lifetime |
Cache: read about 10% of input price, write 1.25x (5 min) or 2x (1 hour); prefix order tools, system, messages. Batch: about 50% off, within 24 hours.
Domain 6 · 15%Prompt and Context Engineering
Remember: keep context lean, instructions precise, output validated and answers grounded.
| If the question says | Pick | Not |
|---|---|---|
| Stale tool output fills context | Prune tool results 6.1 | Bigger window |
| Rule lost after compaction | Persist it in instructions or notes 6.1 | Compact more |
| Bulky side investigation | Subagent 6.1 | Main context |
| Categories confused | Definitions plus boundary example 6.2 | Emphasis |
| "Be concise" ignored | Measurable limit 6.2 | max_tokens cutoff |
| Pasted "SYSTEM:" text steers it | Tag user content as data 6.2 | Put it in system prompt |
| Preamble breaks JSON.parse | Structured outputs 6.3 | String slicing |
| Invented values for missing fields | Nullable fields plus instruction 6.3 | "Do not invent" alone |
| Valid shape, wrong totals | Business-rule validation 6.3 | Trust the schema |
| Answers beyond the documents | Only from documents, else "not found" 6.4 | "Be helpful" |
| Huge or fast-changing corpus | Retrieval 6.4 | Full context |
| Right passage not retrieved | Contextual chunks, hybrid, rerank 6.4 | Prompt changes |
Domain 7 · 8%Security and Safety
Remember: untrusted content is data; limit what any fooled agent can do; keys stay server-side.
| If the question says | Pick | Not |
|---|---|---|
| Hidden instructions in fetched content | Indirect injection: delimit, separate reading from acting 7.1 | Prompt rule only |
| Agent reads untrusted text and can send or pay | Approvals and limits on actions, sandbox 7.1 | Remove the feature |
| Must never run DROP | Hook or tool check 7.2 | Prompt |
| Read rule bypassed via Bash | Deny across tools, sandbox 7.2 | Rename folder |
| Key in browser or app | Backend proxy 7.3 | Encoding |
| One key everywhere | Workspace per environment, limits, rotation 7.3 | Shared key |
| Key committed publicly | Revoke or rotate now 7.3 | Delete commit |
| Static key in CI | Workload identity federation 7.3 | Pipeline variable |
Admin API keys manage the organization; they are not for model calls.
Domain 8 · 10%Tools and MCP
Remember: the description is the tool's manual; MCP is for shared systems.
| If the question says | Pick | Not |
|---|---|---|
| Wrong argument (name for ID) | Description with format, example, when to ask; structured error 8.1 | tool_choice, extra tool |
| Huge or cryptic results | Minimal readable fields, paging 8.1 | Return everything |
| Tool failure | is_error with reason 8.1 | Empty or fake success |
| Risky action | Server-side, approval in harness 8.1 | Model decides |
| Local single-user server | stdio 8.2 | Public HTTP |
| Shared server, per-user rights | Streamable HTTP plus OAuth, audience-bound tokens 8.2 | Shared admin token |
| Attachable data / user template | Resource / prompt 8.2 | Tool |
| Messages API to remote MCP | MCP connector 8.2 | Own client |
| Capability exists built in | Built-in tool 8.3 | Rebuild it |
| Know-how or procedure | Skill 8.3 | MCP server |
| One app's action / exact logic | Custom tool in code 8.3 | MCP, Skill text |
Unsure about a point? Open its lesson from the number beside it. Ready to check yourself? Take the CCDV-F practice tests.