Quick revision
The short answer
I would start with an inventory of every store by workload, data size, criticality and owning team, to find where a database was chosen out of preference rather than fit. Then, with platform teams, define a small supported set with standard backups, security and observability and clear criteria for when to use each, consolidate where migrating costs less than keeping a store, starting with low-risk systems, connect everything to a common analytics platform through events or change data capture, and govern new adoption through architecture review with a time-boxed exception process.
What to remember
In this answer, we saw how to bring order to a sprawl of databases. We built an inventory by workload, size, criticality and ownership to separate good fits from preferences, defined a small supported set backed by platform teams with standard backups, security and observability and clear criteria for use, consolidated only where migration costs less than keeping a store, starting with low-risk systems, integrated data through events or change data capture into a common analytics platform, and governed new adoption through architecture review with time-boxed exceptions.
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 start with an inventory of every store by workload, data size, criticality and owning team, to find where a database was chosen out of preference rather than fit. Then, with platform teams, define a small supported set with standard backups, security and observability and clear criteria for when to use each, consolidate where migrating costs less than keeping a store, starting with low-risk systems, connect everything to a common analytics platform through events or change data capture, and govern new adoption through architecture review with a time-boxed exception process.
Why this question is asked
Every database in this list is a good product, and each was probably a reasonable choice for the team that made it. The problem is the sum: five sets of skills, five backup procedures, five security reviews, five on-call playbooks, and data scattered so widely that a simple cross-domain report takes a quarter to build. Interviewers ask this leadership question to see whether we can bring order without halting teams or forcing risky migrations for the sake of tidiness. In this answer, we will take stock with an inventory, define a supported set, decide where consolidation pays, solve data integration separately from consolidation, and set up governance that prevents the sprawl from returning.
1Taking Stock With an Inventory
We cannot decide anything without knowing what we have. For each database deployment we record the workload it serves, its data size and growth, its criticality (does an outage stop revenue?), the owning team and how many people can operate it, its cost including people, its version and support status, and how its data reaches the rest of the company. A typical result is surprising: perhaps 40 deployments, where a few of them carry most of the critical traffic and a long tail of small clusters are owned by one or two people each.
The inventory also shows fit. For each deployment we ask whether its access patterns match what the store is good at. Redis as a cache and Cassandra for a high-volume time series are good fits. MongoDB used as a relational database with application-side joins, or Neo4j holding a small lookup table, suggest a choice made from familiarity or curiosity. Those mismatches are the first candidates for change.
| Store | Workload | Criticality | Fit |
|---|---|---|---|
| Redis (6 clusters) | Caching, sessions, rate limits | High | Good |
| Cassandra (2 clusters) | Event history, 80 TB | High | Good |
| DynamoDB (9 tables) | Carts, idempotency keys | High | Good |
| MongoDB (4 clusters) | Orders with app-side joins | Medium | Poor: relational shape |
| Neo4j (1 cluster) | Supplier lookup, 2 GB | Low | Poor: no traversals |
2Defining a Small Supported Set
Next we decide which stores the company supports as products. A supported store has a platform team or a named owning group that provides standard provisioning, backups with tested restores, security configuration, monitoring and dashboards, upgrade paths and on-call expertise. That makes each supported store cheaper and safer for every team that uses it. We usually support one relational database such as PostgreSQL, one cache such as Redis, and one or two specialised stores where real workloads need them, perhaps Cassandra or DynamoDB for very large key-based workloads.
Each supported store comes with clear criteria for use, written as questions: is the data relational with transactions across entities? Use PostgreSQL. Is it a cache or ephemeral state? Redis. Is it a key-based workload beyond what one PostgreSQL cluster can handle? The wide-column or key-value store. Stores outside the set are tolerated where they exist, but not offered for new systems.
3Consolidating Where It Pays
Migrating databases is expensive and risky, so we only do it where the numbers favour it. For each candidate we estimate the ongoing cost of keeping it, licence, infrastructure, the share of engineers needed to operate it, and the risk of key-person dependency, and compare it with the one-off cost of migration: rewriting the data access code, moving and verifying data, and running both for a while. The small Neo4j cluster holding a 2 GB lookup table might take two weeks to move into PostgreSQL and save a licence and a specialised skill; that is an easy yes. A 50 TB Cassandra cluster that fits its workload well is not a candidate at all.
We start with low-risk, high-return migrations, which build confidence and patterns, such as standard dual-write and verification tooling, before tackling anything critical. Each migration has an owner, a success criterion and a date for decommissioning the old store, because a migration that leaves both stores running has added cost instead of removing it.
- Does it fit the workload and is it in the supported set?YesKeep, adopt platform standardsNoNext question
- Is migration cheaper than keeping it for 3 years?YesPlan migration, low-risk firstNoTolerate, reduce key-person risk
- Migrate, verify, decommissionowner, criterion, date
3 steps in order. Play them, or step through them one at a time.
4Integrating Data Without Moving It All
Consolidation will never bring all data into one database, and it does not need to. The integration problem, analysts and other teams needing data from many stores, is solved separately by publishing changes to a common platform. Each store emits its changes either as domain events through Kafka, written by the owning service, or through change data capture from the database log, using connectors where they exist. The events land in a shared analytics platform, a warehouse or lakehouse, with documented schemas and owners.
This gives everyone one place to query across domains, and it decouples analytics from the operational choice of database. A team on DynamoDB and a team on PostgreSQL both appear in the warehouse in the same way, which takes away much of the pain that made the sprawl visible in the first place.
- Operational storesPostgreSQL, Redis, Cassandra, DynamoDB, MongoDB
- Change capturedomain events or CDC connectors
- Kafkashared topics with schemas and owners
- Analytics platformwarehouse or lakehouse, one place to query
4 layers, from the top down. Step through them one at a time.
5Governing New Adoption
Without governance the sprawl comes back within a few years. New systems choose from the supported set through the normal architecture review, using the published criteria. A team that believes it needs something else can ask for an exception, but the exception is time-boxed and has conditions: a written case for why the supported stores do not fit, an owning team that commits to operating it, and a review date, for example after 12 months, when the store either becomes part of the supported set because it proved its value, or is retired.
The tone matters. Governance that only says no makes teams route around it. Governance that makes the supported path the easiest one, with templates, self-service provisioning and good documentation, and that has a fair way to say yes to genuine new needs, keeps teams on board. We report progress to leadership with simple numbers: number of distinct stores, share of deployments on the supported set, cost per store and data available in the analytics platform.
6Follow-up questions
How do you handle a team that refuses to migrate off its preferred database?
If their store fits the workload and the team can operate it, migration may not be worth it, and we leave it tolerated while asking them to adopt standard backups, security and monitoring. If it does not fit and costs the company more, we show the numbers and agree on a timeline, with platform help to make the migration as cheap as possible. Decisions are based on cost and risk, not on taste, including our own.
Why not pick one database for everything?
Because workloads genuinely differ. A cache, a high-volume time series and a transactional ledger have different needs, and forcing them into one store creates its own cost and risk. The goal is a small, deliberate set, not a single store.
What is the first thing you would do in your first month?
Build the inventory with the teams, because every later decision depends on it, and talk to the people who operate each store about their pain. The inventory alone often reveals quick wins, such as a store with no tested backups, that build trust for the larger changes.
7Conclusion
In this answer, we saw how to bring order to a sprawl of databases. We built an inventory by workload, size, criticality and ownership to separate good fits from preferences, defined a small supported set backed by platform teams with standard backups, security and observability and clear criteria for use, consolidated only where migration costs less than keeping a store, starting with low-risk systems, integrated data through events or change data capture into a common analytics platform, and governed new adoption through architecture review with time-boxed exceptions.
Open with
I would start with an inventory of every database deployment: what workload it serves, data size and growth, how critical it is, which team owns it and how many people can run it, its cost and how its data reaches the rest of the company.
Then, if they want more
That shows where a store fits its workload and where it was chosen for preference, like MongoDB doing relational work with application-side joins, or a graph database holding a small lookup table.
Then, with the platform teams, I would define a small supported set, for example PostgreSQL, Redis and one store for very large key-based workloads, each with standard provisioning, tested backups, security and observability, plus clear criteria for when to use which.
I would consolidate only where migration is cheaper than keeping the store over a few years, starting with low-risk, high-return cases, each with an owner and a decommission date.
Data integration I would solve separately, by publishing changes through domain events or change data capture into Kafka and a common analytics platform, so analysts get one place to query regardless of the operational store.
Finally, new systems choose from the supported set through architecture review, with a time-boxed exception process for real new needs, and I would report progress to leadership with simple numbers.
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
- Redis documentation, MongoDB 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 "Over ten years your organisation adopted MongoDB, Cassandra, DynamoDB, Redis and Neo4j...": https://scrivio-interview-library.netlify.app/databases/nosql-fundamentals/081d03fb0a/