LyraLearn AI Learning Platform
Exams
← Module 14 Β· Answer Frames: The Categories
🎧 Listen

Categories: AI Security and Privacy

AI Security

Definition: protecting AI systems from being misused, manipulated, or turned into an attack surface β€” classic security discipline applied to the new channels AI opens.

What's involved:

  1. Prompt injection (direct and indirect) β€” untrusted content treated as instructions
  2. Least-privilege tools β€” the runtime can only do what the task needs
  3. Human confirmation gates β€” consequential actions need a person
  4. Untrusted-content handling β€” delimit and label everything the model reads
  5. Output/action validation β€” code checks what the model wants to do, outside the model
  6. Content safety filtering β€” screening harmful inputs and outputs
  7. Audit logging of every AI invocation β€” who, what context, what came out
  8. Data exfiltration prevention β€” prompts and tool results are egress paths

The opener: "This is an AI-security question, and I treat it like any untrusted-input problem: least privilege first, then input handling, output validation, and audit. The AI-specific twist is prompt injection β€” let me walk through the layers…"

Cite it when: the question involves attacks, misuse, untrusted content, what an AI is allowed to do, or "what could go wrong" with agents and tools.

Privacy and Data Protection

Definition: controlling what data enters AI systems, where it's processed, and who can see it β€” driven by data classification, which decides everything downstream.

What's involved:

  1. Data classification β€” public / internal / sensitive / federally protected (FERPA-class education records, background-check data)
  2. Classification decides model routing β€” protected data β†’ government tenancy with contractual terms, or local inference; public data β†’ commodity services
  3. PII minimization at the prompt boundary β€” the narrowest context that works
  4. Retention and access policy β€” for uploads, logs, and indexes, decided up front
  5. Permission-aware retrieval β€” ACL filters in the query, never prompt-level secrets
  6. Approved procurement paths β€” vendor agreements before sensitive data flows
  7. Consent and transparency β€” people know what the system does with their data

The opener: "Privacy-first: the starting move is data classification, because the classification decides where the model runs, what enters prompts, retention, and access. For this data, that means…"

Cite it when: the question involves personal data, transcripts, records, uploads, "can we send this to an AI vendor," or where processing should happen.

The pairing move

Security and privacy chain when the scenario has both an adversary and sensitive data β€” most public-facing AI does: "Two protection layers here: privacy β€” classification-driven routing and PII minimization β€” and security β€” least-privilege tools, injection handling, and full audit." Say the pair, then pick the one the question emphasizes and go deep.

🧠 Quiz yourself on this lesson →

Ask the AI Tutor

Grounded in the course lessons β€” it cites its sources and says when it doesn't know.