InterviewStack.io LogoInterviewStack.io

Privacy-Enhancing Technologies and Anonymization Questions

Technical safeguards that reduce identifiability: anonymization, pseudonymization, tokenization, differential privacy, and related privacy-enhancing technologies. Covers the difference between anonymized and pseudonymized data, re-identification risk, and when each technique is appropriate. Includes evaluating the privacy-utility tradeoff of a given technical control.

MediumTechnical
36 practiced
In Python with PyTorch, implement a function dp_aggregate(per_example_grads, clipping_norm, noise_multiplier, seed) that performs per-example gradient clipping and returns the differentially-private noisy aggregated gradient using Gaussian noise. Describe numerical stability, vectorized implementation, and memory trade-offs.
MediumTechnical
41 practiced
Explain differential privacy (DP) for ML practitioners using the 4-part structure: (1) define DP simply (epsilon, delta intuition), (2) step-by-step how DP-SGD or output perturbation add noise and bound influence, (3) give real use-cases (federated learning, analytics), (4) discuss privacy-utility trade-offs and practical deployment challenges.
HardSystem Design
33 practiced
Design a privacy-preserving federated learning architecture to support 1,000,000 devices, target 10 training rounds per day, and keep model accuracy within 5% of centralized training. Include client selection, secure aggregation, DP accounting, bandwidth constraint assumptions (200 kbps upload), intermittent connectivity, and GDPR compliance considerations.
HardTechnical
67 practiced
Discuss the challenges and practical considerations of applying differential privacy to pretraining large transformer language models. Cover per-step noise requirements, gradient clipping at scale, impact on downstream utility, compute cost, and practical alternatives such as private fine-tuning or PATE.
MediumTechnical
70 practiced
Explain k-anonymity, l-diversity, and t-closeness for tabular data anonymization. For a healthcare dataset with quasi-identifiers age, zip code, and gender, give a concrete example of a transformation to achieve k-anonymity and discuss the utility loss and re-identification risk.

Unlock Full Question Bank

Get access to hundreds of Privacy-Enhancing Technologies and Anonymization interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.