Quick revision
The short answer
I would explain it in business terms: when the network between regions fails, each region can either keep accepting changes and risk conflicting records, or refuse some changes and risk errors for customers, and no technology removes that choice. Then I would classify data by what inconsistency costs, giving money and inventory strong guarantees and letting feeds and profiles tolerate delay, choose a store per class, design processes such as idempotency, reconciliation and compensation that absorb inconsistency, and set measurable targets that we test with failover drills and conflict monitoring, with a named owner for each decision.
What to remember
In this answer, we turned the availability versus consistency trade-off into a business decision: during a network failure, accept changes and reconcile later, or refuse some changes and show errors. We classified data by the cost of inconsistency, mapped each class to a supported store, built idempotency, reconciliation and compensation into processes, and set measurable targets that we test with failover drills and conflict monitoring, each with a named owner.
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 explain it in business terms: when the network between regions fails, each region can either keep accepting changes and risk conflicting records, or refuse some changes and risk errors for customers, and no technology removes that choice. Then I would classify data by what inconsistency costs, giving money and inventory strong guarantees and letting feeds and profiles tolerate delay, choose a store per class, design processes such as idempotency, reconciliation and compensation that absorb inconsistency, and set measurable targets that we test with failover drills and conflict monitoring, with a named owner for each decision.
Why this question is asked
Executives hear two messages that seem to contradict each other: the business must be available everywhere, all the time, and the numbers must always be right. Engineers know that during a network failure those goals pull in opposite directions, but explaining it in terms of CAP theorem and quorums loses the room. Interviewers ask this leadership question to see whether we can translate a deep technical trade-off into decisions the business can own. In this answer, we will frame the trade-off in business language, classify data by the cost of being wrong, map classes to stores, design processes that tolerate inconsistency, and set targets that we actually test.
1Framing the Trade-off for Executives
I would avoid the acronyms and use a story. Imagine our European and American data centers lose contact for ten minutes. A customer in Paris and her partner in New York both spend from the same joint account. We have two choices. Either both regions keep accepting payments, and we may later discover the account was overdrawn, which is a conflict to sort out. Or one region refuses payments for that account until contact returns, and a customer sees an error at checkout.
Neither choice is a bug; it is a business decision about which failure we prefer, and it can be different for each kind of data. The CAP theorem says exactly this: during a partition, a system chooses between availability and consistency. Its refinement, PACELC, adds that even without failures, stronger consistency across regions costs latency, because regions must talk to each other before confirming.
Framed this way, the question for executives changes from can we have both to where do we want which, and what does each cost us.
2Classifying Data by the Cost of Inconsistency
Next we classify data with the business owners, using the cost of being wrong as the yardstick. Money movements, balances and the last units of inventory are expensive to get wrong: overdrafts, double-sold items, regulatory trouble. Orders and bookings sit in the middle: a conflict is costly but can be detected and fixed. Feeds, recommendations, profiles and view counts are cheap to get wrong: a few seconds of staleness is invisible.
Each class gets a written policy: strong consistency, even at the cost of rejecting some requests during failures, for the first; eventual consistency with detection and repair for the second; and plain eventual consistency for the third.
| Class | Examples | During a partition | Store type |
|---|---|---|---|
| Critical | Balances, payments, last-unit stock | Reject or queue some writes | Strongly consistent DB, home region |
| Important | Orders, bookings | Accept, then reconcile | Regional DB + events + checks |
| Tolerant | Feeds, profiles, counters | Accept everything | Eventually consistent, multi-region |
3The Right Store for Each Class
The classes map onto technology choices that the platform teams support. Critical data lives in strongly consistent databases: a relational database or distributed SQL system, or a home region per account in a NoSQL store, accepting slightly higher latency for writes. Tolerant data uses eventually consistent, multi-region stores such as Cassandra or DynamoDB global tables, which keep every region writable and fast. Important data often uses a regional strongly consistent store, with events replicated to other regions for reading.
Notice what this avoids: forcing every service onto the most expensive, slowest guarantee because some data needs it, or putting money in a store that silently resolves conflicts with last writer wins.
4Processes That Tolerate Inconsistency
Technology choices reduce inconsistency but never eliminate it, so the business processes must absorb what remains. Idempotency means every operation carries a unique request id, so a retried payment is applied once. Reconciliation means regular jobs compare our records with each other and with external ones, such as payment provider settlements, and raise every difference. Compensation means that when something goes wrong, we have a defined business action: refund the double charge, offer the customer a voucher for the oversold item, apologise automatically.
Banks have worked this way for centuries. They accept that branches and systems disagree temporarily and rely on ledgers and end-of-day reconciliation. Presenting it to executives this way makes inconsistency a managed business risk rather than a technical mystery.
5Setting Targets and Testing Them
Finally, each class gets measurable targets: for critical data, zero lost or duplicated transactions and a maximum time payments may be refused during a regional failure; for important data, how quickly conflicts must be detected and resolved; for tolerant data, maximum replication lag. These become part of the service objectives.
Targets are only real if tested. We run regional failover drills, at first in staging and then in production during quiet hours, where we cut a region off and measure rejected writes, conflicts and reconciliation time. Dashboards count conflicts and reconciliation differences continuously. Each decision has an owner, a business leader who signed off on the policy and an engineering owner who keeps the system within it, and the policies are reviewed yearly or after any incident.
- Explain the choice in business termsAccept and reconcile, or refuse and error
- Classify data with business ownersCritical, important, tolerant
- Choose a supported store per classStrong, regional + events, eventual
- Build idempotency, reconciliation, compensationAbsorb what remains
- Set targets per classLost writes, conflict resolution time, lag
- Test with drills, monitor conflictsOwners review yearly
6 steps in order. Play them, or step through them one at a time.
6Follow-up questions
What if executives insist on both availability and consistency for everything?
I would show them the cost in concrete terms: strong consistency across three regions for every write adds cross-region latency, perhaps 100 ms or more per write, and during a network failure some regions must refuse writes. Then I would ask which customer experiences they are willing to degrade. Usually, once they see that feeds and profiles do not need it, the demand narrows to the data that genuinely matters.
How do you know the classification is right?
We check it against incidents and reconciliation results. If tolerant data regularly causes customer complaints, it belongs in a stricter class; if critical data never sees conflicts and the strong guarantees cost a lot, we can discuss relaxing it. The yearly review uses that evidence.
7Conclusion
In this answer, we turned the availability versus consistency trade-off into a business decision: during a network failure, accept changes and reconcile later, or refuse some changes and show errors. We classified data by the cost of inconsistency, mapped each class to a supported store, built idempotency, reconciliation and compensation into processes, and set measurable targets that we test with failover drills and conflict monitoring, each with a named owner.
Open with
I would explain it without jargon first. If the network between our regions fails, each region can either keep accepting changes, which keeps customers happy but can create conflicting records, like an overdrawn joint account, or refuse some changes until regions can talk again, which keeps records right but shows customers errors.
Then, if they want more
No database removes that choice, and even when nothing fails, strong consistency across regions costs latency. So the question is not whether we can have both, but where we want which. Then I would classify data with the business by the cost of being wrong.
Money and the last units of inventory are critical and get strong guarantees, even if that means refusing some writes during a failure. Orders and bookings are important: accept them, detect conflicts and reconcile. Feeds, profiles and counters are tolerant and can be eventually consistent everywhere.
Each class maps to a supported store: strongly consistent or home-region databases for critical data, regional stores with events for important data, and multi-region eventually consistent stores for the rest. Since some inconsistency always remains, processes must handle it: idempotency keys, reconciliation jobs and defined compensation like refunds.
Finally I would set targets per class, test them with regional failover drills, monitor conflicts, and give every decision a business owner and an engineering owner.
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
- Apache Cassandra documentation, Amazon DynamoDB developer guide
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 "Choosing between availability and consistency used to be a database feature choice. Now...": https://scrivio-interview-library.netlify.app/databases/cassandra-and-dynamodb/5a14f84de0/