LectureMoment
← LectureMoment

Prompt Engineering & Structured Output · Mixed

Prompt Engineering & Structured Output

20 practice questions on Prompt Engineering & Structured Output. Every question is written from a specific moment in a real lecture, and after you answer it links to that exact timestamp so you can check it yourself.

What this pack asks

The free questions in this pack. Answer choices and explanations appear as you play.

  • A claims pipeline sends one API call per claim containing role, a long attached document, step-by-step instructions, and examples. Reviewers find Claude keeps ignoring two non-negotiable rules. Following the recommended single-message prompt structure, what should the team do?

    Answer this one →
  • A team parses LLM output with json.loads, then hand-checks for missing keys and converts "true" strings into booleans. They switch to defining the output as a typed data model instead. Which benefit best justifies the switch?

    Answer this one →
  • A team processes accident-report forms with Claude. The blank form's layout is identical on every request; only the handwritten entries differ. Where should the description of the form's structure go?

    Answer this one →

Written from lectures by Anthropic, AI Engineer. Not affiliated with or endorsed by any university, channel, creator or certification program.