Why is versioning or keeping an immutable copy of the raw data important, and how does it support auditing of cleaning?

Quick Overview

Asks why a data team should keep raw data immutable and versioned, and how that copy supports auditing of data cleaning steps. Tests reproducibility, data lineage, point-in-time recovery and the practical trade-offs of retaining raw history.

Why is versioning or keeping an immutable copy of the raw data important, and how does it support auditing of cleaning?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: easy

Interview Round: Other

Why is versioning or keeping an immutable copy of the raw data important, and how does it support auditing of cleaning? ```hint Start from a bad rule Picture a cleaning rule that later turns out to be wrong. What would you need to fix the output, and to show someone exactly what the rule did? ``` ### What a Strong Answer Covers - Why cleaning makes information unrecoverable from its output, and what that means for fixing mistakes. - How versioning makes any past output reproducible, including what besides the data has to be versioned. - How an auditor uses the raw data, the code version and per-step records to verify a cleaning step. - Practical ways to enforce immutability and get point-in-time access. - The costs and conflicts, such as storage, retention limits and deletion requests for personal data. ### Follow-up Questions - A user asks you to delete their personal data, but your raw zone is immutable. How do you handle it? - How would you prove that a training set built six months ago came from a specific raw snapshot? - What would you record for each cleaning rule so that an auditor can check it without rerunning the pipeline? - How do you keep the storage cost of raw history under control?

Overview: Asks why a data team should keep raw data immutable and versioned, and how that copy supports auditing of data cleaning steps. Tests reproducibility, data lineage, point-in-time recovery and the practical trade-offs of retaining raw history.

General logo
General
Nov 25, 2026
easyData ScientistOtherData Manipulation (SQL/Python)
0
0

Why is versioning or keeping an immutable copy of the raw data important, and how does it support auditing of cleaning?

What a Strong Answer Covers Guidance

  • Why cleaning makes information unrecoverable from its output, and what that means for fixing mistakes.
  • How versioning makes any past output reproducible, including what besides the data has to be versioned.
  • How an auditor uses the raw data, the code version and per-step records to verify a cleaning step.
  • Practical ways to enforce immutability and get point-in-time access.
  • The costs and conflicts, such as storage, retention limits and deletion requests for personal data.

Follow-up Questions Guidance

  • A user asks you to delete their personal data, but your raw zone is immutable. How do you handle it?
  • How would you prove that a training set built six months ago came from a specific raw snapshot?
  • What would you record for each cleaning rule so that an auditor can check it without rerunning the pipeline?
  • How do you keep the storage cost of raw history under control?