Quick revision
The short answer
I would define a short list of supported databases, perhaps three, that come with platform support: automated backups, monitoring, upgrades, on-call expertise and a service template. Anything else is allowed through an exception process that requires a written need and a team that owns operating it. We measure what each technology really costs in incidents, expertise and licences, offer migration paths away from stores we stop supporting, and revisit the list on a regular schedule so the policy follows real needs rather than freezing them.
What to remember
In this answer, we designed a database policy that balances autonomy with operational cost. A small supported set comes with concrete platform support: provisioning, backups, monitoring, upgrades and on-call expertise. Other technologies are allowed through a light exception process with a written need and an owning team. We measure each technology's cost in incidents, expertise and licences, provide migration paths away from stores we retire, and revisit the list regularly so it follows real needs.
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 define a short list of supported databases, perhaps three, that come with platform support: automated backups, monitoring, upgrades, on-call expertise and a service template. Anything else is allowed through an exception process that requires a written need and a team that owns operating it. We measure what each technology really costs in incidents, expertise and licences, offer migration paths away from stores we stop supporting, and revisit the list on a regular schedule so the policy follows real needs rather than freezing them.
Why this question is asked
Six databases adopted over the years usually means six sets of backup scripts, six kinds of on-call knowledge, and at least one database that only one person understands. Each choice made sense locally, but together they cost the company in incidents and in people who cannot move between teams. Interviewers ask this leadership question to see whether we can create a policy that reduces that cost without becoming a bureaucracy teams route around. In this answer, we will look at why autonomy alone leads here, set the supported list and what support means, design the exception process, measure cost, provide migration paths, and keep the policy alive.
1Why Pure Autonomy Ends With Six Databases
Team autonomy is valuable: the team closest to the problem knows its needs best. But the cost of a database is mostly paid after the choice, by operations, and often by people outside the team. A team adopting a new store weighs its features against their own effort, while the company also pays for the backup system, the monitoring dashboards, the security patching, the specialist knowledge and the incident response that the new store needs. When those costs are invisible to the choosing team, every local decision is rational and the total is not.
So the policy's job is to make those costs visible and shared, not to take the choice away. It should make the supported path the easiest one and keep a door open for genuine needs.
2Define a Small Supported Set
We start by choosing a small set of databases the platform fully supports, for example PostgreSQL for relational data, Redis for caching and ephemeral data, and one search or document store if the company genuinely needs it. The choice comes from what the company already runs widely and what covers the most needs.
Supported must mean something concrete, otherwise the list is just a preference. For each supported store, the platform provides automated provisioning through a service template, backups with tested restores, monitoring and alerting with standard dashboards, security patching and version upgrades, documented runbooks, and people with expertise who are on call. A team choosing a supported store gets all of that on day one, which is the real incentive to stay on the list.
| Capability | Supported store | Exception store |
|---|---|---|
| Provisioning | template, minutes | owning team |
| Backups and restore tests | platform, automated | owning team, reviewed yearly |
| Monitoring and alerts | standard dashboards | owning team must provide |
| Upgrades and patching | platform | owning team |
| On-call expertise | platform rotation | owning team rotation |
3The Exception Process
Sometimes a team really needs something else, such as a time-series database for metrics at a scale PostgreSQL handles poorly, or a graph database for a relationship-heavy feature. The exception process exists for that, and it should be light but real. The team writes a short proposal: the need, why the supported stores do not meet it, with numbers where possible, which team owns operating it including on-call, backups and upgrades, and how it would migrate away if needed. An architecture group reviews it within an agreed time, say two weeks, so the process does not become a silent veto.
Approved exceptions are recorded with their owner and a review date. If several teams request the same technology, that is a signal to consider adding it to the supported set, with platform investment.
- Does a supported store meet the need?YesUse it via the service templateNoWrite an exception proposal
- Need, owner, on-call and exit plan written?YesArchitecture review within 2 weeksNoProposal returned
- Approved?YesRecord owner and review dateNoUse a supported store
- Same exception requested 3+ times?YesConsider adding to supported setNoStays an exception
4 steps in order. Play them, or step through them one at a time.
4Measure What Each Technology Costs
The policy gains credibility when it rests on numbers. For each database technology in use, we collect the incidents it caused or contributed to over the past year, the hours spent on operations and upgrades, how many engineers can operate it confidently, licence or managed-service costs, and how many services depend on it. A simple yearly table might show that one store used by two services caused a quarter of all database incidents and depends on one person.
These numbers do two things. They justify which stores are supported and which are on the way out, and they show teams with exceptions what their choice costs, which often leads them to migrate on their own.
5Migration Paths Away From Unsupported Stores
Declaring a store unsupported without help simply leaves teams stuck. For each store we want to retire, the platform provides a migration path: a recommended target among the supported stores, tooling or examples for backfilling data and running both stores in parallel, and help from people who have done it. We set a realistic timeline, perhaps a year, prioritise by risk, starting with stores that have an unhealthy licence, no expertise, or the most incidents, and we never force a migration that costs more than it saves. Some stores stay as owned exceptions indefinitely, and that is fine if the owner accepts the cost.
6Revisit the List Regularly
Needs change: a new class of workload appears, a database's licence changes, a managed service makes a store cheap to run, or a supported store falls behind. So the list has a review date, for example once a year, where we look at the cost numbers, exception requests and industry changes, and add, keep or deprecate entries. Publishing the reasoning with each change keeps trust: teams see that the policy follows evidence and that their exception requests can change it.
7Follow-up questions
How do you get teams to accept the policy?
By making the supported path clearly better: provisioning in minutes, backups and on-call included. Most teams prefer that to running a database themselves. Involving senior engineers from several teams in choosing the list also helps, because then it is their policy too.
What about a team that already runs an unsupported database well?
If they own it fully, including on-call, backups and upgrades, and its cost is reasonable, it can continue as a recorded exception. The policy targets unowned or costly stores, not teams that carry their own choice responsibly.
How many supported databases is right?
As few as cover most needs, typically two to four. Each one requires real platform investment, so the number is limited by how many the platform team can support well, not by how many are interesting.
8Conclusion
In this answer, we designed a database policy that balances autonomy with operational cost. A small supported set comes with concrete platform support: provisioning, backups, monitoring, upgrades and on-call expertise. Other technologies are allowed through a light exception process with a written need and an owning team. We measure each technology's cost in incidents, expertise and licences, provide migration paths away from stores we retire, and revisit the list regularly so it follows real needs.
Open with
I would start by explaining why we ended up with six databases: each team weighed features against its own effort, but the company pays for backups, monitoring, patching, expertise and incidents, and those costs were invisible to the choosing team.
Then, if they want more
So the policy makes them visible rather than taking choice away. First, a small supported set, maybe PostgreSQL, Redis and one search or document store, chosen from what we already run widely. Supported has to mean something concrete: provisioning from the service template, backups with tested restores, standard monitoring, upgrades, runbooks and an on-call rotation with real expertise.
That is the incentive. Second, an exception process for genuine needs, like time-series at scale. The team writes a short proposal with the need, why the supported stores don't fit, who owns operations and on-call, and an exit plan, and gets an answer within two weeks, so it isn't a silent veto.
If several teams ask for the same thing, that is a signal to support it. Third, measure cost per technology: incidents, operational hours, how many people can run it, licences. Those numbers justify the list and often persuade teams on their own. Fourth, migration paths away from stores we retire, with tooling, help and a realistic timeline, prioritised by risk.
And finally, review the list yearly and publish the reasoning, so the policy follows evidence.
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
- Spring Data reference
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 "Teams have adopted six different databases over the years. How would you create a...": https://scrivio-interview-library.netlify.app/databases/spring-data-nosql/8c6ddef4f8/