Scrivio Interview library
LeadershipPrincipal6 min read · updated 12 November 2026

After a silent data corruption incident that went unnoticed for weeks, the CTO asks how to make data integrity a company-level property rather than a per-team concern. What do you propose?

I would make integrity a defined, funded and measured property instead of a habit some teams have. That means writing integrity expectations per class of data, such as financial data reconciling daily, building shared platform capabilities like checksums, automated restore verification and a reconciliation framework, making integrity checks part of every service's readiness review, giving every dataset a named owner and escalation path, and analysing incidents by how long detection took so that number keeps falling.

Why this question is asked

When corruption goes unnoticed for weeks, the damage is rarely the bad data alone. It spreads into backups, reports and downstream systems, and the cleanup costs far more than prevention would have. A CTO asking to make integrity company-level is really asking why each team had to invent its own protection, and why nobody noticed. Interviewers ask this to see whether a senior engineer can turn a technical lesson into standards, funding and ownership without burying teams in process. In this answer, we will look at why per-team integrity fails, then go through the proposal: expectations by data class, platform capabilities, readiness reviews, ownership, and incident analysis focused on detection time, with a rollout plan.

1Why Per-Team Integrity Fails

Imagine the incident that triggered the question. A storage problem truncated pages in a billing table. Nobody read those rows for five weeks, so nobody saw errors. Backups kept copying the damage, and by the time a customer complained about an old invoice, the oldest clean backup had already expired. Some teams in the company had checksums and restore tests; the billing team did not, because it had never been asked and never had time.

That is the typical pattern. Integrity work is invisible when it succeeds, so under delivery pressure it is the first thing a team skips. The teams that do it each build their own scripts, at different quality. And no one can answer simple questions such as which databases had a verified restore this month. The fix is not to ask teams to try harder; it is to make the safe path the default and to make gaps visible.

2Define Expectations per Data Class

Not all data deserves the same effort, so the first step is a short written standard that sorts data into classes and says what each class requires. Engineers can then decide quickly what applies to their service, and leadership can see the cost of each level.

Integrity expectations by data class
Data classExampleExpectation
Financialledger, invoices, payoutsreconciles daily with source; restore verified weekly
Customer coreaccounts, orders, consentcomplete and correct; amcheck weekly; restore verified weekly
Operationalinventory, scheduleschecksums on; restore verified monthly
Derivedsearch index, caches, warehouse copiesrebuildable from source; counts compared daily

The classes make the conversation concrete. A team owning financial data knows it must reconcile daily and prove a restore weekly; a team owning event logs knows a monthly restore is enough. Writing these expectations down also turns integrity from an opinion into a requirement that can be reviewed.

3Fund Platform Capabilities, Not Team Heroics

Standards without tools become paperwork. So the proposal asks for funding for a small platform effort that makes each expectation cheap. Checksums enabled on every managed cluster by default, with a migration plan for old ones. Automated restore verification that restores every database on its schedule and runs amcheck and row count checks. A reconciliation framework where a team writes a SQL query, a source of truth and a threshold, and the platform runs it, stores the results and alerts.

In numbers, this might be three or four engineers for two quarters, then one or two to run it. Set that against the incident: weeks of engineering cleanup, customer credits and audit questions. The economic case is easy to make once the incident cost is written down, and the CTO needs that case to protect the investment against feature pressure.

4Make Integrity Part of Service Readiness

Most companies already review a new service before it goes live, checking monitoring, on-call and capacity. We add integrity to that checklist. A service that stores customer or financial data cannot launch until its data class is declared, its databases are registered for restore verification, checksums are on, and, for financial data, a reconciliation exists. Existing services are reviewed once on a schedule, highest class first.

This works because it sits at the moment teams already expect a review, and because the platform makes each item a configuration step rather than a project. The review checks that something exists and runs; it does not ask teams to write essays.

5Ownership and Escalation

Every dataset needs a named owning team, recorded in the service catalog, which receives the alerts and decides on repairs. Shared datasets, such as a customer table used by several services, have one owner and declared consumers. There is also an escalation path: a checksum failure pages the database on-call immediately, a failed reconciliation on financial data reaches the owning team's lead within hours, and a dataset without an owner is flagged to the engineering director every week until it has one.

Clear ownership is what the incident lacked. When the billing data broke, it was not obvious whether the billing team, the database team or the storage team should have noticed.

6Learn From Incidents by Measuring Detection Time

Incident reviews usually focus on what broke. For integrity, the most useful number is how long the damage existed before we noticed, because that decides how far it spreads and whether a clean backup still exists. So every data incident review records the time the damage began, the time it was detected, who detected it (a check or a customer), and which layer should have caught it.

We report these numbers quarterly alongside coverage numbers: percentage of databases with checksums, with a restore verified within their required interval, and with an owner. The goal for the next year might be that no integrity incident is found by a customer, and that median detection time falls from weeks to under a day. Those are measurable promises the CTO can hold the organisation to.

Step throughRolling out the integrity program
  1. Write data classes and expectationsone page, agreed with security and finance
  2. Build platform checkschecksums, restore verification, reconciliation
  3. Cover financial data firstthe billing incident's class
  4. Add integrity to readiness reviewsnew services, then existing ones
  5. Report coverage and detection timequarterly, to engineering leadership

5 steps in order. Play them, or step through them one at a time.

7Follow-up questions

How do you avoid this becoming bureaucracy that teams resent?

By making the platform do the work and keeping the standard short. If enabling restore verification is one line in a service's configuration and a reconciliation is one SQL query, teams adopt it. The review checks that checks exist and pass, not long documents. We also start with the data classes where the risk is obvious, so early wins build support.

What if a team says they have no time for reconciliation work?

For financial data the expectation is not optional, and that is a leadership decision we make explicit, with the incident as the reason. We help by pairing a platform engineer with the team for the first reconciliation and by counting the work as part of the roadmap rather than extra. For lower classes, the requirements are lighter, so the cost matches the risk.

How do you know the program worked?

By the numbers we promised: coverage rising toward 100 percent for the high classes, detection time falling, and integrity incidents found by checks rather than customers. A good signal is the first incident after the program, where a restore verification or reconciliation alert catches damage within a day and the runbook resolves it quietly.

8Conclusion

In this answer, we saw why integrity fails when each team handles it alone: the work is invisible, skipped under pressure and impossible to audit. The proposal turns it into a company property with written expectations per data class, funded platform capabilities that make checks cheap, integrity items in readiness reviews, a named owner and escalation path for every dataset, and incident analysis that tracks detection time and coverage so improvement is measurable.

What to say in the interviewAbout 80 seconds aloud

Open with

I'd say the lesson from the incident is that integrity can't depend on each team remembering to do it, because it's invisible work that gets skipped under pressure.

Then, if they want more

So I'd propose four things. First, a short written standard with data classes. Financial data must reconcile daily with its source and have a verified restore every week; customer core data must be complete and correct with weekly checks; derived data must be rebuildable.

Second, I'd ask for funding for platform capabilities so that meeting the standard is cheap: checksums on by default, automated restore verification that restores and checks every database on schedule, and a reconciliation framework where a team only writes a query and a threshold.

That's maybe three or four engineers for two quarters, which is small next to the cost of this incident. Third, integrity becomes part of service readiness reviews, so no service with customer or financial data launches without being registered, and every dataset has a named owner and an escalation path.

Fourth, data incident reviews always measure how long the damage existed before we noticed and which layer should have caught it. I'd report that, plus coverage, every quarter, with a goal that customers never find our corruption before we do.

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.
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 "After a silent data corruption incident that went unnoticed for weeks, the CTO asks how...": https://scrivio-interview-library.netlify.app/databases/database-operations/7c0551253e/