InterviewStack.io LogoInterviewStack.io

Database Selection and Trade-offs Questions

Choosing the right database and data platform for a workload: relational versus NoSQL versus specialized stores, managed versus self-hosted, and matching technology to consistency, scale, cost, and query needs. Covers structuring the decision, naming trade-offs, and defending a recommendation. A judgment-heavy interview surface for architects and senior engineers.

EasyTechnical
34 practiced

List and compare main database categories relevant to BI: relational, key-value, document, wide-column, columnar/OLAP stores, time-series DBs, and search engines. For each, provide a one-sentence summary of the kinds of BI workloads it fits best and one example production system.

HardTechnical
35 practiced

You must design a reconciliation and backfill process to repair historical aggregates after discovering a bug in upstream ETL that affected the last 90 days of data. Describe safeguards to run backfills without impacting ongoing reporting, how to compute diffs, ensure idempotency, and validate results before flip to corrected metrics.

MediumSystem Design
38 practiced

Describe incremental loading strategies: watermark-based incremental extracts, Change Data Capture (CDC), and full-refresh. For a dataset with 20 TB of daily delta and a requirement to keep dashboards up-to-date within 15 minutes, propose an architecture and justify your choice.

HardTechnical
36 practiced

Write an efficient SQL MERGE (or equivalent) to perform an SCD Type 2 update for a customers table with columns: customer_id, name, email, valid_from, valid_to, is_current. Provide the SQL and explain how you avoid long locks or full-table scans when updating 100M rows.

HardSystem Design
39 practiced

Design a strategy to satisfy GDPR 'right to be forgotten' for a BI platform that stores raw events in a data lake, aggregated metrics in a data warehouse, and archives in cold storage. Cover deletion, pseudonymization, auditing, and how to ensure aggregated metrics either exclude or correctly reflect deletions.

Unlock Full Question Bank

Get access to all 44 Database Selection and Trade-offs interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.