CCARF Practice Question

Paper 4 · Question 24

D4 Prompt Engineering & Structured Output · Paper 4

A moderation classification tool includes a `detected_patterns` array where the model lists specific patterns it identified (e.g. 'repeated slur targeting ethnicity'). Validation checks whether the detected patterns match the assigned category, and on mismatch retries with feedback like 'You classified this as spam but detected patterns of hate speech targeting ethnicity, please re-evaluate.' What is the primary benefit of the `detected_patterns` field in this workflow?

Show answer & explanations

Correct answer: C

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