Reviewed by Aditya Kumar Β· Last reviewed 2026-03-24
Serialization: Object β bytes (JSON, Avro, Protobuf). Deserialization: Bytes β object. WHY: Storage, transmission. TRADE-OFFS: Avro/Protobuf for schema evolution in Kafka; Parquet for columnar. Spark uses Kryo for shuffles....
Serialization: Object β bytes (JSON, Avro, Protobuf). Deserialization: Bytes β object. WHY: Storage, transmission. TRADE-OFFS: Avro/Protobuf for schema evolution in Kafka; Parquet for columnar. Spark uses Kryo for shuffles. COST: Schema-based formats add overhead but enable evolution; avoid pickle for cross-language.
Red Flag: 'JSON for everything.' Pro-Move: 'Kafka: Avro for evolution; Parquet for storage; we benchmarked Kryo vs JavaβKryo 30% smaller shuffles.'
According to DataEngPrep.tech, this is one of the most frequently asked General/Other interview questions, reported at 1 company. DataEngPrep.tech maintains an editor-reviewed database of 1,863 data engineering interview questions across 7 categories.