A source dataset for a support assistant contains some abusive and offensive text from old tickets. What is the best mitigation?
- Exam domain
- Governance8% of the exam
- Difficulty
- Medium
- In this mock
- 5 questions on this domainPractise this domain
Why the exam asks this
Objective in the exam guide: Recommend an alternative for problematic text mitigation in a data source feeding a GenAI application
Problematic text mitigation is named in the objective.
Why B is the answer
Filter or remove the problematic text in the data pipeline before indexing
Fixing problematic text at the source stops it reaching retrieval and the model.
How it works
Problematic text can be retrieved and repeated.
Filtering at the source removes it before indexing.
Guardrails on output add defense in depth.
Clues in the question
The words that point to the answer, and what each one tells you.
- Offensive text in the source
- Filter it in the pipeline.
In detail
- Log what was removed for review.
- Output guardrails add a second layer, not a substitute.
Side by side with look-alikes
| Mitigation | Effective? |
|---|---|
| Filter in the pipeline | Yes |
| Prompt to ignore | Partial |
| Index anyway | No |
| Higher temperature | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Raise the temperature so outputs vary moreWrong
Temperature does not filter content.
B. Filter or remove the problematic text in the data pipeline before indexingRight
Fixing problematic text at the source stops it reaching retrieval and the model.
C. Tell the model in the prompt to ignore offensive text it retrievesWrongMost tempting
Prompts cannot reliably undo retrieved content.
Why it tempts: It may help. But the text still reaches the model.
D. Index the data anyway and hope it is rarely retrievedWrong
Hoping is not a control.
In practice
- Re-run the filter whenever new data arrives.