D4 · domain126 questions · 36 free
Prompt Engineering & Structured Output (D4)
Prompting techniques, structured outputs, JSON schema, few-shot.
This domain spans 6 subtopic areas, covered by 126 practice questions across 31 easy, 65 medium, and 30 hard items.
Sample question · free
Your CI/CD pipeline posts Claude Code feedback as PR comments, but reviewers complain that 30% flag valid code as problematic. What prompt change most directly reduces these false positives?
What's covered
Subtopic areas in Prompt Engineering & Structured Output, drawn from the exam blueprint:
4.1Design prompts with explicit criteria to improve precision and reduce false positives214.2Apply few-shot prompting to improve output consistency and quality254.3Enforce structured output using tool use and JSON schemas234.4Implement validation, retry, and feedback loops for extraction quality214.5Design efficient batch processing strategies184.6Design multi-instance and multi-pass review architectures18