InterviewStack.io LogoInterviewStack.io

Data Minimization and Retention Questions

Collecting and keeping only what is necessary: data minimization at collection, purpose limitation, and retention scheduling with automated deletion. Covers defining retention periods, enforcing them technically, and defensibly disposing of data. Includes balancing operational or analytics needs against minimization obligations.

HardTechnical
68 practiced

A new privacy regulation requires you to remove a user's historical data within 30 days of request. You have production models trained on user history. Explain how you'd redesign storage, feature engineering, and retraining procedures to comply while minimizing loss in predictive performance. Mention technical techniques (differential privacy, federated learning, data minimization) and operational controls.

HardTechnical
60 practiced

Stakeholders request full audit logs for every model prediction for forensic purposes, but logging every request increases latency and storage cost significantly. Propose a compromise solution that satisfies auditability needs while controlling performance and cost. Consider sampling strategies, adaptive logging, replayability and data retention policies.

HardTechnical
48 practiced

You must balance GDPR data minimization with the need to store telemetry to reproduce and debug model behavior. Design a privacy-aware logging and retention policy for EU users that supports debugging, auditing, and model backtesting while enabling subject access requests and right-to-be-forgotten. Include concrete approaches for pseudonymization, hashing, encryption, TTLs, and audit trails.

That is every published Data Minimization and Retention question for Data Scientist so far. Browse the other topics in this category, or practice this one interactively.