🔥 3-day streak
AWS Certified AI Practitioner85 / 153
Question 85 of 153

A developer is building a feature that sends product review text to a foundation model on Amazon Bedrock. The downstream application code expects to parse the model's response as structured JSON with fields for 'sentiment' and 'key_topics'. In early tests, the model sometimes returns friendly prose like 'Sure! This review is positive...' which breaks the parser. Without changing the model or writing custom regex cleanup, what is the MOST effective way to get reliably parseable output?

Reviewed for accuracy · Report an issueNext question