CCARF Practice Question

Paper 4 · Question 22

D4 Prompt Engineering & Structured Output · Paper 4

The moderation system's classification schema has a 'category' field defined as a free-text string. Auditors find 47 different category values in production data, including 'hate speech', 'Hate Speech', 'hate-speech', 'hateful content', and 'hate_speech' — all intended to be the same category. This makes downstream analytics and routing unreliable. What is the best schema fix?

Show answer & explanations

Correct answer: B

Related Prompt Engineering & Structured Output questions

Paper 4 Q3The moderation system classifies hate speech accurately for explicit slurs but misses coded language and dog-whistle terms that human modera…Paper 4 Q7A moderation team introduces a severity scale ('low', 'medium', 'high', 'critical'). The same post (a user threatening to 'destroy' a compet…Paper 4 Q12The moderation system uses tool_use with a JSON schema for classification output. All fields including 'sub_category' and 'target_demographi…Paper 4 Q16Your CI/CD pipeline processes code reviews using the Message Batches API. After a batch completes, you need to match each review result back…Paper 4 Q17The moderation system validates that every classification includes a 'reasoning' field explaining the decision. When validation fails (empty…

More: Paper 4 · All practice questions