Quick revision
The short answer
I would replace 'keep everything' with a written retention policy built with legal, security and business owners, then classify data and attach a finite retention period to every store, with legal holds as the exception. Deletion and archiving are automated and leave evidence, because manual cleanup never keeps up. To get support, I show the cost of the current habit in money and risk, start with the largest and riskiest datasets, and report progress to leadership.
What to remember
In this answer, we saw that ending 'keep everything' is a change in ownership and defaults more than a technical task. We made the cost visible in storage spend, breach impact, regulatory exposure and discovery cost, wrote a policy with legal, security and business owners that gives every category a finite period and handles legal holds, automated retention per store with evidence, and rolled it out starting with the largest and riskiest datasets, using a short archive grace period and quarterly progress reports to keep support.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
I would replace 'keep everything' with a written retention policy built with legal, security and business owners, then classify data and attach a finite retention period to every store, with legal holds as the exception. Deletion and archiving are automated and leave evidence, because manual cleanup never keeps up. To get support, I show the cost of the current habit in money and risk, start with the largest and riskiest datasets, and report progress to leadership.
Why this question is asked
'It might be useful' is one of the most expensive sentences in data engineering. Every year of extra data adds storage cost, slows down backups and migrations, widens the damage of a breach and makes legal discovery more expensive. Yet nobody wants to be the person who deleted something important. Interviewers ask this leadership question to see whether we can change a habit across an organisation, not just write a cleanup script. In this answer, we will look at why the habit persists, how to make the risk visible, how to build the policy with the right people, how to make retention automatic, and how to roll it out so it actually sticks.
1Why Companies Keep Everything
Keeping data forever is the default because it costs nothing to decide. Storage looks cheap per gigabyte, deletion feels irreversible, and no single person owns the decision. The benefits of deleting, lower risk and lower cost, are spread across the company, while the fear of deleting something useful sits with whoever presses the button. So the first job of a leader is to change who owns the decision and to make the cost of keeping visible.
It also helps to separate two meanings of useful. Detailed personal records from eight years ago are rarely useful. Aggregated, anonymised trends from eight years ago often are. A good policy can keep the second while deleting the first, which answers most of the objections before they come up.
2Making the Risk Visible
Leadership responds to numbers, so we gather four kinds. Storage and processing spend: what we pay each month for data older than, say, three years, including backups and replicas, which often multiply the raw size by three or more. Breach impact: how many people's records would be exposed if a given store leaked, since breach costs and notification duties scale with the number of records. Regulatory exposure: GDPR's principle of storage limitation says personal data must not be kept longer than necessary, and fines can reach 4 percent of worldwide annual turnover. Discovery cost: in litigation, everything we keep can be requested and must be searched and reviewed, often at a cost per document.
A one-page summary that says, for example, 'we hold 40 TB of customer data older than five years, containing 30 million people's records, costing 18,000 per month and adding exposure in every breach scenario' is far more persuasive than a general warning.
3Building the Policy With the Right Owners
Retention is not an engineering decision alone. Legal knows the minimum periods the law requires, such as tax records or financial transaction records. Security knows the threat picture. Business owners know which data actually supports decisions or products. We bring them together and write a policy that defines data categories (customer profiles, orders, payments, logs, analytics events, support tickets), a retention period for each, the trigger that starts the clock (account closure, order completion, creation date), and how legal holds pause deletion for specific data during litigation or investigations.
The key principle is finite defaults. Any dataset without an explicit period gets a default, for example 13 months for logs and events, and keeping it longer requires a named owner and a reason. That one rule flips the default from keep to delete.
| Category | Retention | Clock starts | Owner |
|---|---|---|---|
| Application logs | 90 days | Creation | Platform |
| Analytics events (raw) | 13 months | Creation | Data team |
| Analytics aggregates | 7 years | Creation | Data team |
| Orders and invoices | 10 years | Order completion | Finance |
| Customer profile | 2 years | Account closure | Product |
| Support tickets | 3 years | Ticket closed | Support |
4Making Retention Automatic and Provable
A policy on paper changes nothing. Every store in the data catalog gets a category tag, and the platform turns that tag into automated behaviour: partition drops in databases, TTLs on tables and caches, topic retention in Kafka, lifecycle rules in object storage, and expiry in the warehouse. Manual deletion does not scale and cannot be audited, so the goal is that no team writes its own cleanup job.
Each automated deletion writes evidence: which dataset, which range, how many records, when. A dashboard shows every store with its category, its policy and whether data older than the policy exists. A store with expired data is a finding, like a failing security scan, and has an owner who must fix it.
5Rolling It Out Without Breaking Things
We do not start everywhere at once. We rank datasets by size and risk and begin with the biggest and riskiest, for example raw clickstream with IP addresses or old customer exports in shared buckets, because they give the largest drop in cost and exposure for the least effort. Before deleting, we archive to cold storage for a short grace period, perhaps 90 days, so that if someone discovers a real need, the data can be restored and the policy adjusted. That grace period is what calms the fear of irreversible mistakes.
Every quarter we report to leadership: storage removed, records no longer exposed, monthly spend saved, and the share of stores covered by automated retention. Showing a steady trend, such as coverage rising from 20 to 80 percent over a year, keeps the support going and makes retention a normal part of how the company runs.
- Find dataset in inventorysize, records, owner
- Does it have a category and period?YesAutomate deletionNoAssign category, default is finite
- Under legal hold?YesPause deletion, record reasonNoArchive for 90 day grace
- Delete and record evidencedashboard and quarterly report
4 steps in order. Play them, or step through them one at a time.
6Follow-up questions
What do you say to a team that insists they need the raw data forever?
I ask what decision the data supports and how often they used data older than a year in the last year. Often the honest answer is never, or only in aggregated form. Then we keep aggregates or anonymised samples for the long term and delete the raw records on schedule. If they really need raw data longer, the policy allows an exception with an owner, a reason and a review date, so it is a decision rather than a habit.
How do legal holds work in practice?
When litigation or an investigation is expected, legal issues a hold that names the people, accounts or date ranges involved. The retention platform marks the affected data so automated deletion skips it, records who placed the hold, and lists all active holds on the dashboard. When legal releases the hold, normal retention resumes and the data is deleted on the next run.
How do you measure success?
By outcomes we can count: terabytes removed, number of personal records no longer held past their period, monthly cost saved, percentage of stores with automated retention, and the number of stores holding expired data, which should trend to zero. These numbers go into the quarterly report.
7Conclusion
In this answer, we saw that ending 'keep everything' is a change in ownership and defaults more than a technical task. We made the cost visible in storage spend, breach impact, regulatory exposure and discovery cost, wrote a policy with legal, security and business owners that gives every category a finite period and handles legal holds, automated retention per store with evidence, and rolled it out starting with the largest and riskiest datasets, using a short archive grace period and quarterly progress reports to keep support.
Open with
I would start by making the cost of keeping everything visible: what we spend each month on old data including backups and replicas, how many people's records are exposed in each store if it leaks, our exposure under GDPR's storage limitation principle, and what legal discovery costs us when everything is searchable.
Then, if they want more
With that, I would bring legal, security and business owners together to write a retention policy with data categories, a retention period for each, the event that starts the clock, and a legal hold process. The important rule is finite defaults: any dataset without an explicit period gets one, and keeping data longer needs an owner and a reason.
Then every store in the catalog is tagged with its category and the platform enforces it automatically through partition drops, TTLs, topic retention and storage lifecycle rules, writing evidence for every deletion, because manual cleanup never scales.
I would start with the largest and riskiest datasets, archive deleted data for a short grace period so people trust the process, and report every quarter on storage removed, records no longer exposed, money saved and coverage of automated retention.
About this answer
- Last updated
- 12 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- PostgreSQL documentation, MySQL reference manual
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Your company keeps all data forever because 'it might be useful'. Storage cost, breach...": https://scrivio-interview-library.netlify.app/databases/analytics-and-cdc/b53ec7a3b0/