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.

MediumSystem Design
52 practiced
Design a partitioning scheme for a multi-tenant SaaS application's events table where tenants vary from tiny to very large. Requirements: per-tenant queries must be fast, cross-tenant analytics must be supported, and tenant-onboarding must be low friction. Discuss shard strategy, isolation (per-tenant schemas vs shared schema), and how to handle tenant hotspots and rebalancing.
MediumTechnical
36 practiced
You are given a simple SQL table schema and asked to optimize common queries. Table `orders(order_id PK, customer_id, created_at, status, total_cents)`. Typical queries: fetch recent orders for a customer, compute daily sales, and get order by id. Propose indexes and partitioning strategies to optimize these queries and explain write amplification or maintenance costs those choices introduce.
EasyTechnical
74 practiced
Explain ACID and BASE consistency models. Give one concrete example of a system or database that prefers ACID and one that prefers BASE, and explain the trade-offs in terms of developer complexity, latency, and failure modes.
HardSystem Design
49 practiced
A legacy monolithic application uses a single Oracle instance. You're tasked with migrating to a microservices architecture and deciding data platforms per service. Outline a migration strategy that minimizes downtime, ensures data integrity, and prevents cascading failures. Discuss patterns (strangling, dual-write, anti-corruption), polyglot persistence choices by service, and rollback plans.
EasyTechnical
45 practiced
You need to store metrics from IoT sensors producing a measurement every second per device. Explain why a time-series database might be preferable to a general-purpose RDBMS. List two time-series engines and describe the storage/retention features they provide (compression, downsampling, rollups).

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.