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.

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.

HardTechnical
50 practiced

You are building a data lake to support both streaming ingestion and large analytical queries. Compare Parquet, Avro, and ORC file formats. Discuss schema evolution, compression, predicate pushdown, splitability, and suitability for append-heavy vs read-heavy workloads. Recommend formats for raw event storage vs aggregated analytical tables and justify your choices.

EasyTechnical
51 practiced

Explain the difference between columnar and row-based storage formats for analytical workloads. Describe how each affects I/O patterns, compression effectiveness, CPU usage, and memory behavior. Give concrete examples of query types (aggregations, scans, point lookups) where one format is preferable over the other and why.

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.

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.