InterviewStack.io LogoInterviewStack.io

Database Selection and Trade Offs Questions

How to evaluate and choose data storage systems and architectures based on workload characteristics and business constraints. Coverage includes differences between relational and nonrelational families such as document stores, key value stores, wide column stores, graph databases, time series databases, and search engines; mapping query patterns and latency requirements to storage options; trade offs between strong consistency and eventual consistency and their impact on availability and complexity; partition key design, replication strategies, and high availability considerations; operational concerns including backups, monitoring, vendor and cost trade offs, migration or hybrid strategies, and when to adopt polyglot persistence. Senior level discussion includes selecting specific managed services and reasoning about expected load patterns, failure modes, and operational burden.

EasyTechnical
35 practiced
Explain polyglot persistence, including when it is valuable and common architecture patterns that combine multiple data stores. Describe the operational and developer pitfalls to avoid and sketch a minimal architecture that uses an RDBMS for transactions, a document store for flexible profiles, and a search engine for product lookup.
EasyTechnical
37 practiced
Explain differences between full backups, incremental backups, snapshots, and point-in-time recovery (PITR). For a transactional OLTP database with 99.95% SLA and RPO 15 minutes, recommend a backup and retention approach and explain operational tradeoffs and testing you would perform.
EasyTechnical
40 practiced
Describe typical graph database use cases and explain why graph databases outperform relational joins for deep traversals. Provide an example design for social recommendations using a graph DB and outline scaling concerns such as partitioning and cross-shard traversals.
MediumTechnical
44 practiced
Propose a monitoring and alerting strategy for a stack containing Postgres, Elasticsearch, Cassandra, and Redis. Define key metrics to collect for each store, example SLOs and alert thresholds, correlation signals between stores and application layers, and runbook triggers for common incidents like slow queries or node failures.
HardSystem Design
45 practiced
Design architecture for a multi-tenant OLAP analytics platform that must serve sub-minute ad hoc queries over tens of TBs per tenant. Cover storage format choices, compute scaling, partitioning per tenant, data isolation/quotas, pre-aggregation strategies, caching, concurrency control, and cold versus hot tiering.

Unlock Full Question Bank

Get access to hundreds of Database Selection and Trade Offs interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.