InterviewStack.io LogoInterviewStack.io

Database and Data Platform Selection Questions

Evaluation and selection of database and data platform technologies to meet analytical and operational needs. Covers assessment of relational, non relational, columnar, and specialized systems such as time series and search engines; data warehouse platforms and cloud analytics platforms; query patterns and workload characteristics; consistency and transactional guarantees; partitioning and clustering strategies; storage formats and compression; performance and scalability trade offs; operational complexity and administration overhead; data ingestion and incremental loading patterns; pricing and cloud platform considerations; and how to choose the right solution based on data volume, concurrency, latency requirements, and total cost of ownership.

MediumTechnical
49 practiced
Design a pattern to implement cross-service consistency for an order-processing workflow that writes to an OLTP orders DB and also writes events to an analytics warehouse. Compare implementing distributed transactions (2PC) vs eventual consistency via SAGA or outbox + CDC. Consider failure modes, latency, and developer experience.
MediumTechnical
36 practiced
You must design a hot/cold storage tiering strategy for log data: hot tier for last 30 days with fast query response, cold tier for 2 years of archived logs with infrequent access. Explain data placement, file formats, compaction, lifecycle policies, and how to implement transparent query routing between tiers.
EasyTechnical
49 practiced
Given table events(event_id bigint PK, user_id bigint, event_type varchar, event_ts timestamp, properties jsonb), write a SQL query (PostgreSQL) that computes for every day in the past 30 days the number of active users (distinct user_id) and a 7-day rolling average of daily active users. Include sample input rows and expected output format in your answer.
MediumTechnical
36 practiced
Explain strategies to handle heavy cardinality joins in a data warehouse: consider pre-aggregation, sharded/bucketed joins, bloom-filter pushdown, and approximate algorithms. Provide guidance on when to use each and how these approaches affect accuracy and query latency.
EasyTechnical
46 practiced
Explain the CAP theorem in distributed databases in the context of an online banking ledger versus an analytics warehouse. For each system, state which guarantees (consistency, availability, partition tolerance) are most important and why.

Unlock Full Question Bank

Get access to hundreds of Database and Data Platform Selection interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.