Get Your CertClaude Certified Architect, FoundationsPlayCompete
‹ All Claude Certified Architect, Foundations questions

Claude Certified Architect, Foundations · Test 10 · question 7 of 10

Prompt Engineering & Structured Outputeasy

A ticket-classification service forces JSON output by ending each request with an assistant message that contains only {, so that Claude continues the object. After the team upgrades to a Claude 4.6 or later model, every request fails with HTTP 400 invalid_request_error saying the model does not support assistant message prefill and that the conversation must end with a user message. What is the recommended fix?

Select one answer
Practice Test 10 ›