InterviewStack.io LogoInterviewStack.io

Storage Formats, Partitioning, and Serialization Questions

Physical storage layout for analytics data. Covers columnar and row format internals and their trade-offs (Parquet row groups and column chunks, ORC stripes, Avro), serialization choices, compression codec and column-encoding selection, partitioning and clustering or bucketing strategy including partition-key choice and pruning, the small-file problem and compaction, file-size and row-group tuning, and open table formats (Iceberg, Delta Lake, Hudi) at the layout and metadata level: ACID commits, snapshots and time travel, manifest and metadata-tree structure, schema and partition evolution, and the catalog that tracks them. The scope is how data is laid out on disk and what that layout makes cheap or expensive. Tuning the queries that read it, and choosing which managed platform to run it on, are covered separately.

MediumTechnical
67 practiced

Compare compression codecs snappy, gzip, zstd, and lz4 for Parquet files in cloud analytics workloads. Discuss compression ratio, CPU cost on write and read, impact on query latency, and storage cost. Explain practical scenarios where each codec is a reasonable default.

MediumSystem Design
39 practiced

Design a storage layout for petabyte-scale time-series feature tables that must support efficient time-range queries and point-in-time joins for training backfills. Discuss partitioning strategies, file formats, compaction, bloom filters/indexes, and metadata services to locate partitions quickly.

EasyTechnical
45 practiced

Compare Parquet, ORC, Avro, and JSON as storage formats for a modern data lake used by analytics teams. For each format mention whether it is columnar or row-based, typical compression and encoding support, metadata features such as rowgroups or stripes, schema evolution support, and common use cases where you would prefer it.

MediumTechnical
42 practiced

Compare row-oriented storage (e.g., Postgres) vs columnar storage (BigQuery, Snowflake) for ML workloads. Discuss how storage format affects compression, IO patterns for feature retrieval (many features vs few), update cost, and best practices for batch training vs low-latency online serving.

HardSystem Design
53 practiced

Architect a lakehouse that supports ACID updates, compaction, versioned time-travel, and efficient incremental reads for model training using technologies such as Delta Lake, Iceberg, or Hudi. Explain transaction metadata scaling, compaction strategies, and how your design supports both analytical scans and point-updates.

Unlock Full Question Bank

Get access to all 11 Storage Formats, Partitioning, and Serialization interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.