QuestionQ208

VerifiedData Governance

The data governance team is reviewing code that deletes records to comply with GDPR. They observe the following logic used to delete records from the Delta Lake table named users.

Question Image

Assuming user_id is a unique identifying key and delete_requests contains every user who has requested deletion, which statement explains whether successful execution of this logic ensures that the records slated for deletion are no longer accessible, and why?

Explanation

A Delta Lake DELETE removes matching rows from the latest table version but does not immediately erase the underlying obsolete data files. Those prior files can remain available through time travel until VACUUM removes them after the applicable retention threshold, so a successful logical deletion alone does not guarantee that the records are no longer accessible.

Learn more

Community Discussion

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