Quick revision
The short answer
Data has gravity: storage at rest is cheap, but moving data across regions or providers is charged per GB, so it is usually cheaper to bring compute to the data than data to the compute. We compare real options with real numbers, such as running an engine next to the data on open table formats, replicating only curated or aggregated tables, or moving the primary copy if most use is elsewhere, and we shrink bytes before anything moves. The policy is that every cross-region or cross-provider flow has an owner, a cost estimate, a review and residency checks, with lock-in weighed openly.
What to remember
In this answer, we saw that data gravity comes from cheap storage and per-GB transfer charges, so 400 TB a month across clouds costs tens of thousands of dollars a month. We compared bringing an engine to the data on open table formats, replicating only curated or aggregated tables, and moving the primary copy, and we shrank bytes with columnar formats, compression, pruning and pre-aggregation. We set a policy with an owner, cost estimate, review and residency check for every cross-boundary flow, and weighed lock-in honestly by keeping data in open formats.
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.
Data has gravity: storage at rest is cheap, but moving data across regions or providers is charged per GB, so it is usually cheaper to bring compute to the data than data to the compute. We compare real options with real numbers, such as running an engine next to the data on open table formats, replicating only curated or aggregated tables, or moving the primary copy if most use is elsewhere, and we shrink bytes before anything moves. The policy is that every cross-region or cross-provider flow has an owner, a cost estimate, a review and residency checks, with lock-in weighed openly.
Why this question is asked
As companies grow, data ends up in one place and the people who want to use it end up somewhere else: a team that prefers another cloud's warehouse, an acquisition on a different provider, a region added for latency. The surprise is always the same. Storing petabytes costs a manageable amount, but reading them from elsewhere costs a fortune in transfer fees. Interviewers ask this leadership question to see whether we can reason with numbers, offer options rather than a refusal, and set a policy that lasts beyond one request. In this answer, we will explain data gravity with the numbers in the overview, compare the options, reduce the bytes that move, set the cross-boundary policy, weigh lock-in, and discuss when we would accept the egress cost.
1Data Gravity in Numbers
Cloud providers charge little to store data and little or nothing to move data in, but they charge per GB for data leaving a region or leaving the provider for the internet or another cloud. List prices are a few cents per GB, with discounts at volume and differences between providers, so check current rates. At, say, 5 to 9 cents per GB, 400 TB a month is roughly 20,000 to 36,000 dollars every month, over 240,000 dollars a year, for reading data that already exists. Storage of the 3 PB itself, by comparison, is billed whether anyone reads it or not.
That asymmetry is what people mean by data gravity: large data sets attract the compute that uses them, because moving the compute is a one-time effort while moving the data is a recurring bill. So our default position is that compute runs where the data lives, and any exception needs a reason worth its transfer cost.
2The Options, Compared With Real Numbers
The first option is to bring the engine to the data. Many engines, including Spark, Trino, Snowflake, Databricks and the native warehouses of several clouds, can read open file and table formats, such as Parquet files organised as Apache Iceberg or Delta Lake tables, directly from object storage in the data's region. The new team could use an engine that runs in our region, or their preferred warehouse's ability to query external tables, as long as the compute runs next to the data.
The second option is to replicate only what they need. Analytics teams rarely need 3 PB of raw events; they need curated, cleaned tables and aggregates, often a few percent of the raw size. Replicating 10 TB of curated tables once and then a few hundred GB of daily changes costs far less than reading 400 TB a month.
The third option is to move the primary copy, if most of the company's use of this data is now in the other cloud. That is a one-time transfer of 3 PB, expensive but bounded, plus the work of moving the pipelines that write it. It is the right choice only when the centre of gravity of use has really moved.
| Option | Transfer per month | Main cost or risk |
|---|---|---|
| Read raw data across clouds as asked | about 400 TB | egress bill larger than the team's budget |
| Engine next to the data on Iceberg or Delta | close to 0 | team learns or adopts another engine |
| Replicate curated and aggregated tables | a few TB of changes | pipeline to build and own |
| Move the primary copy | 3 PB once | large one-off cost and migration effort |
3Reducing Bytes Before They Move
Whatever option we choose, the bytes that do move should be as few as possible. Columnar formats such as Parquet let a query read only the columns it needs, often 5 of 100. Compression with zstd or Snappy typically cuts size several times. Partitioning tables by date and other common filters lets engines skip whole files, called partition pruning. Pre-aggregating, for example daily totals per customer instead of every event, can shrink a table by orders of magnitude. Together these routinely cut transfer by ten times or more compared with shipping raw JSON events, so they can turn an unaffordable option into an affordable one.
4A Policy for Data That Crosses Boundaries
One request is easy to handle; the point of leadership is the next fifty. So we write a short policy. Every flow of data across regions or providers has a named owner and a written cost estimate, transfer per month times the rate, plus the cost of the destination. Flows above a threshold, say 1,000 dollars a month, go through an architecture review that asks whether the compute could move instead. Sensitive data needs a residency and access check before it moves, because personal data leaving a region may break legal commitments, and every copy is another place to secure and to delete from when a customer asks.
We also make the costs visible: transfer costs tagged by flow and reported to the owning team monthly, with anomaly alerts. Teams then see the price of their architecture choices instead of discovering it in a finance review.
- Team requests a data flowsource, destination, volume
- Can compute run next to the data?YesUse local engine on open formatsNoEstimate transfer cost
- Can bytes be reduced?YesCurate, aggregate, columnar, compressNoKeep full volume
- Sensitive or regulated data?YesResidency and access check firstNoContinue
- Approve with owner, budget and alert
5 steps in order. Play them, or step through them one at a time.
5Weighing Lock-In Honestly
The cheapest option today is not always the best for the next five years. If the cheapest path is to load everything into one provider's proprietary warehouse format, we save on transfer now but may tie the company to that engine's pricing and features for years. Keeping the primary data in open table formats like Iceberg or Delta in object storage keeps the door open: several engines from several vendors can read the same tables, so we can change engines without moving data. That flexibility is worth some cost, and a good leader states the trade openly instead of letting the cheapest quote decide silently.
6Follow-up questions
What would make you accept the egress cost anyway?
When the value clearly exceeds it, and the alternatives are worse. Examples are a short, bounded project such as a one-time model training run where moving the compute would take months, a regulatory or disaster-recovery need for a copy in another region or provider, or a business case where the analytics team's output is worth far more than the transfer. Even then, we reduce the bytes first and set an end date or a review for the flow.
Is egress between regions of the same provider cheaper?
Usually yes, inter-region transfer within one provider is priced lower than internet or cross-cloud egress, but it is still per GB and adds up at hundreds of terabytes. Transfer between zones in the same region is also often charged, which surprises teams running chatty clusters across zones.
How do you handle a team that insists on their preferred warehouse?
We show the numbers for each option, offer the curated replication or external-table approach that lets them keep their tool, and make the remaining cost part of their budget. When the cost sits with the team that benefits, the decision usually becomes sensible quickly.
7Conclusion
In this answer, we saw that data gravity comes from cheap storage and per-GB transfer charges, so 400 TB a month across clouds costs tens of thousands of dollars a month. We compared bringing an engine to the data on open table formats, replicating only curated or aggregated tables, and moving the primary copy, and we shrank bytes with columnar formats, compression, pruning and pre-aggregation. We set a policy with an owner, cost estimate, review and residency check for every cross-boundary flow, and weighed lock-in honestly by keeping data in open formats.
Open with
My starting point is data gravity. Storing data is cheap, but every gigabyte that leaves a region or a provider is charged, so 400 terabytes a month at a few cents per gigabyte is tens of thousands of dollars a month, every month.
Then, if they want more
So my default is to move compute to the data. I would lay out options with numbers. One, run an engine next to the data: if the raw data is in Parquet with Iceberg or Delta tables, many engines can query it in place, so transfer is close to zero.
Two, replicate only what the team really needs, curated and aggregated tables, which might be a few terabytes of changes a month instead of 400. Three, move the primary copy if most of the use really is in the other cloud, which is a one-off 3 petabyte cost.
Before anything moves, I reduce bytes with columnar formats, compression, partition pruning and pre-aggregation, which often cuts volume tenfold. Then I set a policy: every cross-region or cross-provider flow has an owner, a cost estimate and a review above a threshold, and sensitive data gets a residency and access check.
I would also be honest about lock-in: open table formats keep our options open even if a proprietary path looks cheaper today.
About this answer
- Last updated
- 13 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 official documentation for the version you use. 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 "How do you decide where data should live and where compute should run, and what policy...": https://scrivio-interview-library.netlify.app/architecture/storage-and-pipelines/2ee3cd4c77/