FDEInterviews logoFDE/Interviews

AI Security, Privacy & Governance

45 questions
0 of 45 done · 10 unlocked for you
DONEUNLOCKEDLOCKED

AI Security & Prompt Engineering Interview Questions

Prompt-injection defense in depth, PII handling, consumption tracking and abuse prevention, audit trails, SOC2/EU AI Act and enterprise data-governance questions every CISO-facing FDE must survive.

Grounded in real Forward Deployed Engineer interview loops and written to a senior-engineer editorial bar.

You have 10 free answers unlocked here.Sign in free for 10 more · 25 are premium.
01–18Foundationsthe vocabulary every loop assumes you already have0/18 done
19–34Core loopsthe questions every loop actually asks0/16 done
35–45Field scenariosthe messy, half-specified problems from real deployments0/11 done

The concepts behind AI Security, Privacy & Governance

The vocabulary and mental models these questions assume, from our curriculum. Start with the foundations free; the deeper, interview-defining ideas are part of premium.

Core
Sign in
Prompt Injection and DefensePrompt injection is the attack where untrusted text smuggles instructions into a model's context and overrides the system's intent. It comes in two flavors: direct, where the user types the attack, and indirect, where a poisoned document or tool output the model later reads carries it. You cannot fully prevent it, so a competent FDE designs the system so that a successful injection cannot reach anything that matters.
Core
Sign in
PII Handling and RedactionPersonal data leaks into AI systems through three doors: the prompt you send a model API, the logs you keep for debugging, and the traces you store for evaluation. Handling it means detecting and redacting personal data before it crosses any of those boundaries, then minimizing, encrypting, access-controlling, and expiring whatever you must keep. In regulated industries, logging a raw prompt is the single most common compliance failure.
Core
Sign in
Differential PrivacyDifferential privacy is a mathematical guarantee that the output of a computation barely changes whether or not any single person's record was included, so an attacker studying the output cannot confidently tell who was in the data. You buy this guarantee by adding calibrated random noise, and you pay for it in accuracy. The privacy budget epsilon sets the exchange rate; smaller epsilon means more noise and more privacy, and a value like epsilon = 8 is moderate, not strong.
Core
Sign in
Audit Trails and TraceabilityAn audit trail is an immutable, queryable record that lets you reconstruct, months later, exactly who triggered a given AI output, with which model and prompt version, over which data. It is evidence for a regulator or a customer's security team, not a debugging log, and the difference is design: correlation IDs threaded end to end, tamper-evidence, and a retention policy. Regulated buyers will not sign without it.
Core
Sign in
Federated LearningFederated learning trains one shared model across many devices or organizations without moving their raw data to a central server. Each participant trains locally on its own data and sends back only model updates, which a server averages into a new global model. It is the pattern an FDE reaches for when data legally or physically cannot leave its owner: hospitals, banks, and phone keyboards. The catch is that raw updates can still leak information, so real deployments layer on differential privacy or secure aggregation.
Advanced
🔒 Premium
Multi-Tenancy and Data IsolationMulti-tenancy is serving many customers from shared infrastructure while guaranteeing no tenant can ever see another's data. The isolation strategies run a spectrum from row-level filtering to fully separate databases, trading cost against blast radius. The non-negotiable rule for AI systems: tenant scope is enforced below the model, in code that filters queries and scopes credentials, never by instructing the model in a prompt. A single prompt-injected document is enough to break prompt-level isolation.
Advanced
🔒 Premium
Mechanistic InterpretabilityMechanistic interpretability tries to reverse-engineer the actual computations inside a model rather than treating it as a black box: finding the features it represents and the circuits that combine them. The current toolkit centers on sparse autoencoders that decompose dense activations into interpretable features, causal tests like activation patching that prove a feature matters, and steering that turns a behavior up or down at inference. Be honest in interviews: nobody can fully explain a frontier model, you cannot prove a behavior is absent, and feature labels are human guesses.
Advanced
🔒 Premium
AI Governance (SOC2, EU AI Act)These are the regimes an enterprise FDE actually meets in the field: SOC 2 for security and availability controls with documented evidence, the EU AI Act for risk-tiered obligations on high-risk AI, and data-protection law like GDPR and India's DPDP. In practice they all demand the same primitives: documented controls, human oversight of consequential decisions, audit trails, and disciplined data handling. The FDE move is to design for them from the first deployment, because retrofitting governance into a shipped system is far more expensive than building it in.
Unlock all 45 answers · ₹2,000 / $25