Skip to content
AI security interview preparation

Understand the attack.
Defend the design.

Learn the security behind AI systems, from identity and cloud to prompt injection and agents. Visual explanations, worked answers and hands-on reasoning for your next interview.

187 free reads. No account needed to begin.

Interactive design review01 / AGENT SECURITY

An agent reads a hostile document.

What stops it from exposing customer data?

User requestTrusted taskExternal documentUntrusted instructions
AI agentReads context · proposes tool calls
Enforcement outside the model
Customer recordsUser permissions checked
Outbound requestsDestinations restricted

A narrower blast radius. The model may still follow the document. Tool permissions limit which data it can read and where it can send it.

Study the mechanism
A good place to get curious

One idea. A different way to see the system.

Open a full lesson, follow the diagrams, and test your understanding. These reads are free from start to finish.

The standard for a useful answer

Go beyond naming the vulnerability.

Take prompt injection. A definition gets you started. A useful answer explains the trust boundary, chooses a control and names what that control still cannot prevent.

  1. 01
    Explain the failure

    Identify who controls the input and what authority it reaches.

  2. 02
    Defend a design decision

    Choose an enforceable control and describe its limits.

  3. 03
    Handle the follow-up

    Change one constraint. Work out whether your answer still holds.

Open the worked question, free →
easyPrompt Injection & Jailbreaks

What is prompt injection, and how is it like and unlike SQL injection?

The central idea

Both involve untrusted input being treated as instructions. Parameter binding keeps values from changing a fixed SQL statement's syntax; prompt labels guide model behavior, while application services must independently enforce access, audience and action rules.

Weak
Calls either problem universally solved or impossible, and relies on formatting, filtering or a stronger prompt as the permission rule.
Hire
Explains scoped parameter binding, source authority and model behavior, then puts the relevant read or effect check in an independently enforced service.
Strong hire
Separates permitted processing from disclosure, tests valid work and observation gaps, and explains the trusted inputs and coverage of the proposed control.
Where are you starting from?

A useful next step, wherever you start.

Choose the experience you bring. Follow a short sequence with the access requirements shown before you open a lesson.

The curriculum

From trust boundaries to AI design reviews.

Explore the curriculum by area. Each topic connects explanations to worked questions, so you can study a mechanism and then reason through a decision.

Explore all 147 concept lessons →

THE SECURITY FIELD GUIDES

One subject. A book you can keep.

Build a connected understanding, then return to the linked lessons and interview questions to practise.

Browse the guides

FIELD GUIDE 01 · PREMIUM

Machine Learning Model Security

Trace model risk from dataset intake to inference. Learn poisoning defenses, privacy accounting, artifact admission and evidence-based release decisions.

43 pages · 12 diagrams
Look inside

FIELD GUIDE 02 · PREMIUM

LLM & Agent Security

Design agents that can read untrusted material without inheriting its authority. Connect retrieval, delegated identity, tool policy, memory and approvals into a defensible system.

47 pages · 15 diagrams
Look inside

FIELD GUIDE 03 · PREMIUM

DNS Security & Domain Integrity

Understand DNS from wire semantics to domain ownership. Build reliable validation, encrypted resolution, protective policy and incident response without confusing authenticity with safety.

48 pages · 15 diagrams
Look inside

FIELD GUIDE 04 · PREMIUM

Enterprise Network & Zero Trust

Design defensible access across campuses, cloud networks and AI infrastructure. Learn packet behavior, identity-aware enforcement, segmentation, inspection, resilience and migration trade-offs.

53 pages · 17 diagrams
Look inside
Choose the access you need

Study the free material. Go deeper when you need to.

Start with full lessons and worked answers. Premium adds the rest of the library and the complete practice bank, with six months to work through it at your pace.

Free

  • 5 worked answers per topic, 10 with a free account
  • The first lessons of every course and curriculum track
  • The glossary, career guides and every blog article
  • Readiness assessment and bookmarks

Premium · $25

  • Every worked answer in all 17 topics
  • Every lesson of every course, every concept page
  • The full practice-test bank at every difficulty
  • Anything published while your access runs

6 months · One payment · No auto-renewal

See Premium
Company guides

Prepare for the role you want.

Company guides bring together team focus, sourced pay ranges and interview information. Public evidence varies; each guide shows its sources and limits.

Questions people ask

Before you start.

What is AI security?

AI security is the practice of protecting systems that use machine learning models, most often large language models and the agents built on them, from attacks that steal data, take unauthorised actions, corrupt the model or abuse it. It combines classic security engineering (threat modeling, identity, application and cloud security) with risks that are new to AI: prompt injection, agents with too much authority, poisoned training data, unsafe model files and attacks that extract what a model learned.

Do I need a security background to start?

No. The curriculum starts with security foundations (assets, adversaries and trust boundaries, threat modeling, cryptography and identity) and builds up to AI-specific topics in the order they depend on each other. Engineers who already work in security can start at the stage on how LLM systems work and skip ahead.

What do AI security interviews ask about?

The emphasis varies by role. This bank covers threat modeling for LLM features, prompt injection, agent permissions, output handling, data leakage, evaluation, model supply chain and governance, alongside security foundations. Use the company guides for sourced interview information and its limitations; these practice questions are not attributed to particular employers.

What is free, and what does Premium add?

Every topic opens with worked answers anyone can read (5 per topic without an account, 10 with a free one), the first lessons of every course and every curriculum track are free, and the glossary, career guides and blog are free. Paid Premium also includes downloadable PDF field guides and unlocks every answer, lesson, concept and practice test for six months with one payment and no auto-renewal.

Is the content about attacking real systems?

It teaches how attacks work so you can defend against them and explain them in an interview. It never publishes working exploit payloads or instructions to harm real systems. Every attack is paired with the controls that stop it and the reasoning behind them.

Make the first lesson count

Start by drawing a trust boundary.

Name the asset, the adversary and the crossing. Use that habit in every design that follows.

Read the first lesson