QuestionQ21

VerifiedEnsuring Data Security and Compliance

The data engineering team has configured 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 all deletions from the prior week as a batch job at 1am every Sunday. This job runs for less than one hour in total. Each Monday at 3am, another 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 and is concerned it could permit ongoing access to deleted data.

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

Explanation

Delta Lake’s VACUUM retention window is controlled by delta.deletedFileRetentionDuration, which defaults to 7 days. Files logically removed by a delete remain available to historical table versions until they exceed that retention period and a subsequent VACUUM removes them. With deletions on Sunday and VACUUM on Mondays, the first eligible scheduled cleanup is the following Monday, about 8 days later.

Learn more

Community Discussion

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