Skip to content
CCAF Preparation

Domain 4 · 20% of exam · 12 of 60 items

Prompt Engineering & Structured Output practice questions

65 questions drawn from this domain’s 6 task statements, untimed and in order. Every option carries its own explanation, so a question you get right for the wrong reason still tells you something.

Domain 4 drill

Question 1 of 65

Scenario · Claude Code for Continuous Integration

Your CI reviewer posts findings in five categories. "Documentation mismatch" is wrong 40% of the time; the security category runs at 98% accuracy. Developers have started collapsing the whole review comment without reading any of it. What's the most effective first step to restore confidence in the reviewer?

Getting value out of these

Read every explanation, including on the questions you answered correctly. The exam is a judgement test: the distractors are all things a working engineer has actually tried, and the reason each one fails is the material. A right answer picked for the wrong reason will not survive a differently worded question.

When you get one wrong, the useful question is not what the right answer was but whether you reached for a workaround over a mechanism — a bigger context window instead of less context, an instruction in the prompt instead of a constraint in the orchestration layer. That pattern repeats across the whole exam, and noticing it is worth more than memorising any single item.

These are untimed on purpose. Pace is a separate skill and belongs in the timed mock exam, where 60 items in 120 minutes gives you roughly two minutes each on questions that take real reading.

Where these questions come from

Each task statement’s lesson explains the material the questions test.

  1. 4.1System Prompts with Explicit Criteria10 questions
  2. 4.2Few-Shot Prompting11 questions
  3. 4.3Structured Output with Tool Use11 questions
  4. 4.4Validation, Retry, and Feedback Loops11 questions
  5. 4.5Batch Processing Strategies11 questions
  6. 4.6Multi-Instance and Multi-Pass Review11 questions