Case B7CD0B · AI security · L2 Practitioner
What AI Guardrails Can and Cannot Do
- 01 Context
- 02 Mechanism
- 03 Lessons
What a strong answer covers
Try it out loud first. Then check yourself:
- Guardrails are filters around the model: input checks for injection or banned topics, output checks for leaks or harm.
- Many are classifiers or another model, so they are probabilistic: they cut risk but determined attackers get past them.
- Deterministic controls are stronger where they fit: allowlisted tools, schema-checked outputs, permissions enforced in code.
- Use guardrails as one layer, test them with red-teaming, and monitor what they block to learn how you are attacked.
If the interviewer pushes back
- A vendor promises their guardrail blocks all prompt injection. What questions do you ask?