Claude Certified Architect, Foundations · Test 4 · question 5 of 10
Prompt Engineering & Structured Outputmedium
A pipeline asks Claude to extract invoice data as JSON that is parsed by downstream code. About 2% of responses fail parsing or miss required fields, and each failure breaks a nightly job. The team wants the most reliable fix. Which approach is best?