On the exam every option in this domain is a sensible practice; these traps decide most questions. Each trap page has a simulator and exam-style practice.
Explicit criteria Few-shot examples Schema and nullable fields Batch or now Self-review
Practice: 54 plain-style questions on D4, each with “Explain simply” and “Think it through”. New here? Start here.
This is the curriculum hub for Domain 4. Each subtopic below is a self-contained, architect-level page: concept → diagram → real prompt/code → trade-offs → exam traps → practice questions. Every technique and parameter is verified against the official Anthropic prompt-engineering docs and the Messages API. Work top-to-bottom, or jump to any cluster.
1 · Foundations 2 · Roles & System 3 · Examples 4 · XML Structure 5 · Chain of Thought 6 · Prefill 7 · Structured Outputs 8 · Reliability
Ready to test yourself? Head to the Domain 4 Mock Exam Bank.