A public chatbot must resist jailbreaks and harmful requests. Which two measures are recommended layers of guardrails? (Select TWO.)
- Exam domain
- Security and Safety8.1% of the exam
- Difficulty
- Medium
- In this mock
- 5 questions on this domainPractise this domain
Why the exam asks this
Domain 7: Security and Safety (8.1%).
Objective in the exam guide: Guardrails and Safe Deployment: content policy, guardrail layering, and secure-by-design principles.
Guardrail layering is named in the skill.
Why B and C are the answers
A multiple-response question. Choose two. There is no credit for picking only some of them.
Pre-screen user input with a lightweight model, such as a harmlessness screen, before the main conversation
Combine clear system prompt policies with input validation and continuous monitoring
Anthropic recommends layered mitigations, such as harmlessness screens, input validation, prompt engineering and monitoring.
How it works
Harmlessness screens use a lightweight model to pre-screen input.
Input validation and clear policies add further layers.
Continuous monitoring catches new attack patterns.
Clues in the question
The words that point to the answer, and what each one tells you.
- Layers of guardrails
- Several independent controls.
In detail
- Layers catch what any single control misses.
- Monitor and adjust as attackers adapt.
Side by side with look-alikes
| Measure | Recommended layer? |
|---|---|
| Harmlessness screen | Yes |
| Policies, validation, monitoring | Yes |
| One prompt sentence | No |
| No logging | No |
| Largest model only | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Use the largest model and skip other controlsWrongMost tempting
Model size is not a guardrail.
Why it tempts: Capable models resist more. But no single control is enough.
B. Pre-screen user input with a lightweight model, such as a harmlessness screen, before the main conversationRight
Anthropic recommends layered mitigations, such as harmlessness screens, input validation, prompt engineering and monitoring.
C. Combine clear system prompt policies with input validation and continuous monitoringRight
Anthropic recommends layered mitigations, such as harmlessness screens, input validation, prompt engineering and monitoring.
D. Rely on a single sentence in the system promptWrong
One sentence is easy to bypass.
E. Disable logging to protect user privacyWrong
Without logs, attacks go unseen.
In practice
- Measure screen false positives so legitimate users are not blocked.