Skip to content
RED SAGSkills
hardData Engineer interview question

A user asks to delete all their personal data. Your data is spread across a data lake, warehouse and backups. How do you handle it?

What the interviewer wants to hear

  • Know where PII lives using a catalog and lineage
  • Delete or anonymise in mutable table formats with row-level deletes
  • Vacuum or expire old snapshots so data is physically removed
  • Pseudonymisation or crypto-shredding to make deletion easier
  • Handle backups with retention policies
  • Log and verify completion within the legal deadline

Model answer

First, you need to know where personal data lives, so a catalog with PII tags and lineage is essential. Deletion requests go into a queue with the user ID and a deadline, and a job processes them across systems. In the warehouse, a DELETE or MERGE removes rows. In the lake, plain Parquet files are immutable, so table formats like Delta Lake or Iceberg help: they support row-level deletes, but old snapshots still hold the data until you vacuum or expire them, so that step is mandatory. A good design keeps PII in a few tables keyed by a pseudonymous ID, so most tables never store names or emails. Crypto-shredding goes further: encrypt each user's data with their own key and delete the key. Backups follow a fixed retention, after which deleted data ages out. Every request is logged and verified, and laws like GDPR or India's DPDP Act set the deadlines.

Can you answer it under time pressure?

Take a timed hard round and get scored on every answer.

Start mock interview

More hard Data Engineer questions