privacy
AI, ML & GenAI interview questions tagged privacy, across every topic.
21 questions · 3 unlocked for you
Concepts behind "privacy"
The curriculum that explains the ideas these questions test.
Foundational
PII HandlingPersonal data sitting in prompts, logs, and training sets creates privacy and compliance exposure (GDPR, HIPAA), so you have to detect and guard it. Detection works in layers (regex for structured PII like emails/SSNs, ML/NER for names and addresses) and stays imperfect, making it one layer next to the strongest control: data minimization, meaning you do not collect or log what you do not need. AI, ML, and GenAI interviews probe it because LLM logs and training data form a major PII surface, and a leak is a legal and reputational disaster.🛡️ AI Security, Privacy & Governance
Core
Differential PrivacyDifferential privacy injects calibrated noise into data, queries, or training so the output is provably insensitive to any single individual's record, capping what can be learned about any one person. In ML, DP-SGD clips and noises gradients to curb memorization and defend against membership-inference attacks. The price is a privacy-utility trade-off governed by a parameter epsilon. AI, ML, and GenAI interviews probe it because it is the rigorous, mathematically-backed privacy tool, and because models can otherwise memorize and leak training data.🛡️ AI Security, Privacy & GovernanceSign in
Core
Federated LearningFederated learning trains a shared model across many devices or organizations without shipping their raw data to a central server: each party computes updates locally and only the updates get aggregated. It weighs communication cost, data heterogeneity, and privacy leakage against the payoff of training on data that legally or practically cannot be pooled. AI, ML, and GenAI interviews probe it to see whether you can separate the genuine fit (mobile keyboards, multi-hospital models) from the cases where centralizing data or using differential privacy alone is simpler.🛡️ AI Security, Privacy & GovernanceSign in
Core
Privacy Attacks: Re-identification, Linkage, and k-AnonymityStripping direct identifiers does not anonymize data: quasi-identifiers like ZIP, birth date, and gender are close to unique for most people, and any auxiliary dataset sharing those fields enables a linkage attack. k-anonymity, l-diversity, and t-closeness each patch the previous one's hole and all of them collapse in high dimensions, where nearly every record is unique. AI, ML, and GenAI interviews probe this because it is the reason differential privacy exists, and because sparse behavioral data, embeddings, and aggregate model outputs all leak in ways a redaction pass cannot fix.🛡️ AI Security, Privacy & GovernanceSign in
