QuestionQ98

VerifiedEnsuring Data Security and Compliance

The data-governance team is reviewing code used to delete records for GDPR compliance. The following logic has been implemented to propagate deletion requests from the user_lookup table to the user_aggregates table.

Question Image

Assuming that user_id is a unique identifying key and that every user who requested deletion has been removed from the user_lookup table, which statement explains whether successfully running this logic guarantees that the records to delete from the user_aggregates table are no longer accessible, and why?

Explanation

Delta Lake deletes logically remove rows from the current table version, but prior data files can be retained to support time travel. Those files may contain deleted records and are permanently removed only when VACUUM removes obsolete files after the applicable retention threshold. The change data feed does include delete events; it does not enforce foreign-key consistency or permanently purge data.

Learn more

Community Discussion

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