Domain 4: Prompt Engineering & Structured Output
Claude Certified Architect - Foundations (CCAR-F) › Domain 4: Prompt Engineering & Structured Output
Domain 4: Prompt Engineering & Structured Output
Domain 4 is where specificity beats emphasis. Asking for higher confidence, more care, or a conservative approach changes nothing measurable; a categorical criterion, a worked example, or a schema does. The domain then draws one line and examines it repeatedly: tool use with a JSON schema eliminates SYNTAX errors and leaves SEMANTIC ones untouched. A response that validates can still put a figure in the wrong field, and everything about validation and retry follows from that gap.
Domain 4 at a glance
- 20% of scored items
- 6
- 47
- 47, one per published objective
What the guide measures here
- Design prompts with explicit criteria to improve precision and reduce false positives
- Apply few-shot prompting to improve output consistency and quality
- Enforce structured output using tool use and JSON schemas
- Implement validation, retry, and feedback loops for extraction quality
- Design efficient batch processing strategies
- Design multi-instance and multi-pass review architectures
The order to learn them in
Working through Domain 4
Explicit criteria
Start with explicit criteria, because it is the cheapest correction in the domain and its logic recurs: name what to report and what to skip, rather than asking for confidence.