🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Structured Outputs: all 10 questions

Quiz: Structured Outputs · Question 1 of 10

Why is "please reply only in JSON" in the prompt not enough for a production pipeline?

Why is "please reply only in JSON" in the prompt not enough for a production pipeline?

  1. A.JSON is too large
  2. B.The output may still contain extra text, missing fields or wrong types, crashing the pipeline
  3. C.The API forbids it
  4. D.Models can't write JSON
Answer & explanation

Correct answer: The output may still contain extra text, missing fields or wrong types, crashing the pipeline

A schema-enforced format removes that risk.

Can you get the rest right without peeking?

Take the timed Quiz: Structured Outputs quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →