AI engineering glossary · Evals guardrails AI security

What is defence in depth?

Defence in depth (also called layered security): A security strategy of stacking several independent layers of protection so that if one fails, others still limit the harm. For AI systems this combines input checks, safer prompts, permission limits, output filters, monitoring and human review, since no single measure stops all attacks.

Level: intermediateTopic: Evals guardrails AI security

Defence in depth: an example

A bot uses an input classifier, a restricted tool list and an output filter, so a jailbreak that beats the first still hits the others.

Related terms

More Evals guardrails AI security terms

Where you learn it

Defence in depth is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.