QuestionQ160

VerifiedEnsuring Data Security and Compliance

The data engineering team has set up a job to handle customer requests to be forgotten (to have their data deleted). All user data requiring deletion is stored in Delta Lake tables with the default table settings.

The team has chosen to process, as a batch job at 1am each Sunday, all deletions from the prior week. This job runs for less than one hour. Each Monday at 3am, a batch job runs a series of VACUUM commands on all Delta Lake tables across the organization.

The compliance officer has recently become aware of Delta Lake’s time travel functionality. They are concerned it could permit ongoing access to deleted data.

Assuming that all delete logic is correctly implemented, which statement correctly addresses this concern?

Explanation

Delta Lake’s default delta.deletedFileRetentionDuration is 7 days. A DELETE logically removes records, but the older data files can remain available to time travel until VACUUM permanently deletes files that have exceeded that retention threshold. Because VACUUM runs weekly and the deletion batch completes on Sunday, the files are eligible for removal at the following Monday run, about eight days later.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!