InterviewStack.io LogoInterviewStack.io

Data Architecture and Pipelines Questions

Designing data storage, integration, and processing architectures. Topics include relational and NoSQL database design, indexing and query optimization, replication and sharding strategies, data warehousing and dimensional modeling, ETL and ELT patterns, batch and streaming ingestion, processing frameworks, feature stores, archival and retention strategies, and trade offs for scale and latency in large data systems.

HardSystem Design
45 practiced
Architect a vector embedding index for nearest-neighbor search at large scale: billions of vectors, sub-50ms query latency, and high update throughput. Discuss indexing choices (HNSW, IVF + PQ/OPQ), memory vs disk tiers, sharding and replication, batching queries, recall vs throughput trade-offs, and how you would support incremental updates and deletions without full reindexing.
EasyTechnical
86 practiced
List the pros and cons of using JSON-based event payloads for transport versus typed binary formats like Avro or Protobuf in the context of streaming ML pipelines. Discuss human-readability, payload size, schema enforcement, compatibility, and serializer/deserializer overhead during high-throughput ingestion.
MediumTechnical
43 practiced
Create a retention and archival policy for AI training datasets, derived features, and model artifacts that balances regulatory requirements (e.g., auditability), reproducibility, and storage cost. Include classification tiers, TTLs, archival stores (e.g., S3 IA / Glacier), retrieval SLAs, and processes for legal holds and immutable snapshots for experiments.
MediumTechnical
53 practiced
Describe a layered approach to enforce data quality in production pipelines: validation at ingestion, unit tests for ETL, profiling and distribution checks, anomaly detection, and automated correction workflows. Mention specific tools you would use (e.g., Great Expectations, TFDV, custom checks) and the metrics to surface via dashboards.
EasyTechnical
52 practiced
Compare row-oriented and columnar storage formats in the context of ML data pipelines. Specifically, explain when to use Parquet, Avro, and JSON for different stages (raw ingestion, feature engineering, analytics, and training). Discuss compression, read/write patterns, schema evolution, and how each format impacts downstream ETL/ELT and training performance.

Unlock Full Question Bank

Get access to hundreds of Data Architecture and Pipelines interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.