CCA Study Tips for Domain 4: Prompt Engineering Mastery
CCA study tips for prompt engineering: a reading order through the Domain 4 articles, the prompt vs schema vs code split, and self-checks.
Updated
Study Domain 4 (Prompt Engineering & Structured Output, 20% of the CCA-F) by reading the 25 articles in task order over four sessions and, for every scenario, asking which layer the fix belongs to: the prompt, the schema, or the code around the call. That one habit answers most Domain 4 questions. This post gives you the reading order, what to memorise versus reason about, a practice cadence, self-checks, and the mistakes to review twice.
For what the domain covers and why it is weighted at 20%, see CCA Domain 4 Explained. This post is only about how to study it.
What order should I read the Domain 4 articles in?
Task order on the Domain 4 study guide page is right. Suggested sessions:
Before session 2, reread the Foundations pieces on Virtual Tools: Hijacking tool_use for Guaranteed JSON and required, nullable, and enum. They are short and make Task 4.3 land.
What should I memorise, and what should I reason about?
Memorise:
- The three
tool_choiceguarantees: forced tool always calls that tool;anyalways calls some tool;automay return text. - Nullable syntax:
"type": ["string", "null"]and remove the field fromrequired. - Schema constraints override prompt instructions and few-shot examples. If the schema requires a string, no prompt wording produces null.
- The retry taxonomy: format and structural errors converge with specific feedback; absent data diverges (a different value each retry); ambiguous data gets one disambiguation retry then a qualifier.
- Batch shape: roughly half price, up to 24 hours, arbitrary result order,
custom_idis the only correlation (custom_id Is Your Only Correlation), no multi-turn tool use, results expire (Results Expire in 29 Days). - Independent review means a separate call whose context contains only the artifact and the criteria, not the generation prompt.
Reason about:
- Is the criterion verifiable? If a reasonable colleague could disagree about whether it applies, it is vague. Replace adjectives with conditions.
- Do the examples cover the boundary? Diverse examples including a SKIP or negative case, and at least one showing a null field.
- Which layer fixes this? Vagueness is prompt; shape is schema; consistency across fields, retries and cost are code.
- Retry or accept null? Ask whether repeated attempts converge.
- Sync or batch? Latency tolerance in hours and single-turn requests mean batch; anything interactive or tool-calling stays sync.
- Same session or independent? If the reviewer can see why the code was written, findings will be suppressed (Even Design Goals from the Generation Prompt Suppress Review Findings).
Percentages in titles show direction. The exam does not test the numbers.
What practice cadence works for Domain 4?
- After each session, run 15 to 20 Domain 4 practice questions. Before revealing, write down the layer (prompt, schema, code) you think the answer lives in. Track how often you were wrong about the layer; that number should fall to near zero by session 4.
- After session 4, do a 40-question block. Domain 4 distractors are subtle (an option that “adds an instruction” is often plausible-sounding but wrong), so a longer block helps you notice the pattern.
- Review mistakes every few days. The recurring ones are choosing prompt emphasis over a schema change, retrying absent data, and forgetting that
autocan return text. - Final week: the free CCA-F mock exam will include roughly 12 Domain 4 questions among 60 (confirm current weights on the official Anthropic / Pearson VUE page before you register).
Self-check questions before moving on
- A classifier’s inter-run agreement is under 50%. What is the most likely cause and the fix?
- All eight few-shot examples are near-identical positive cases. What two things are wrong?
warranty_expiryis a required string and the document has no warranty. What does the model do, and what is the fix?- You have three extraction schemas and must always get structure. Which
tool_choicemode? - Three retries for a license field produce MIT, Apache-2.0, then BSD. What does that tell you?
- A JSON invoice passes the schema, but line items do not sum to the total. Which validation layer catches it?
- 985 of 1,000 batch requests succeeded. What do you resubmit, and what do you check first? (940 Succeeded, 45 Errored, 15 Expired, Different Errors Need Different Fixes)
- Asking the same session to “review strictly” finds almost nothing. Why, and what is the fix?
Mistakes worth reviewing twice
- Capitalising an instruction and expecting a structural guarantee.
- Treating a schema-valid output as a correct output.
- Adding more examples of the same kind instead of more diverse ones (Every Example Shows All Fields Populated — So the Model Fabricates Missing Ones).
- Escalating urgency in a retry prompt for data that is not in the source.
- Forcing minimum finding counts in review, which produces invented issues.
- Using confidence to gate output in Domain 4 style without adding the SKIP examples that fix the underlying miscalibration (Track Which Patterns Developers Dismiss — Then Add SKIP Examples).
Next step
Do session 1 today from the Domain 4 study guide page and finish the Domain 4 practice set within the week, tracking which layer each answer lived in. Then read CCA Exam Anti-Patterns for the cross-domain distractors, and sit the free CCA-F mock exam when your accuracy holds.
Frequently asked questions
Is Domain 4 mostly about wording prompts well?
expand_more
Only about a third of it. The rest is schema enforcement through tool_use, retry policy, the Batch API, and multi-pass review. Candidates who prepare only prompt phrasing tend to lose the schema and retry questions.
How many Domain 4 articles are there and how long do they take?
expand_more
25 articles across six tasks. Four sessions of about an hour, plus practice, is typical. Task 4.3 (structured output) and Task 4.4 (retry) deserve the most time because they carry the most subtle distinctions.
Do I need to memorise Batch API limits?
expand_more
Know the shape: about half price, up to 24 hours, results in arbitrary order, results expire after a retention window, no multi-turn tool use. The exam tests whether you would choose batch and how you would handle partial failure, not exact numbers.
Put it into practice
Take the free 60-question Claude Certified Architect mock exam, or work through the CCA-F study guide domain by domain.
Certified Architect is an independent, community-built study site. Exam facts reflect public Anthropic / Pearson VUE information and can change — always confirm on the official pages before registering.