Black Friday sale: an extra 40% off every course until Monday, November 30.New Year sale: an extra 30% off every course until Friday, January 1.Memorial Day sale: an extra 25% off every course until Monday, May 31.SysAdmin Day sale: an extra 25% off every course until Sunday, August 1.Back to School sale: an extra 25% off every course until Sunday, August 22.Labor Day sale: an extra 25% off every course until Monday, September 6.Black Friday sale: an extra 40% off every course until Monday, November 29.New Year sale: an extra 30% off every course until Saturday, January 1.Last day of our Black Friday sale: an extra 40% off every course.Last day of our New Year sale: an extra 30% off every course.Last day of our Memorial Day sale: an extra 25% off every course.Last day of our SysAdmin Day sale: an extra 25% off every course.Last day of our Back to School sale: an extra 25% off every course.Last day of our Labor Day sale: an extra 25% off every course.Last day of our Black Friday sale: an extra 40% off every course.Last day of our New Year sale: an extra 30% off every course. Ends at midnight ETChoose your certification →

Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

2.1.1. Data Formats for ML Workloads

💡 First Principle: Data formats control two things that matter enormously at scale: how much you store (compression) and how fast you read (columnar vs. row access). Choosing the right format before ingestion prevents expensive reformatting later—and the exam tests your ability to match formats to access patterns.

Not all data formats are created equal for ML. A format that works well for transactional databases (row-oriented, like CSV) performs terribly for analytical ML workloads where you typically need a few columns across millions of rows. Understanding this distinction is fundamental.

Row-oriented formats store complete records together. When you read one field, you read the entire row. These are efficient when you need all columns for a given record—like serving a customer profile. CSV and JSON are the most common row-oriented formats.

Columnar formats store each column separately. When you read one feature, you skip all other columns entirely. These are efficient when you need a few features across millions of records—which is exactly what model training does. Apache Parquet, ORC, and Avro are columnar or semi-columnar formats.

FormatOrientationCompressionBest ForExam Signal
ParquetColumnarExcellent (Snappy, gzip)ML training, analytics, large datasets"Efficient analytics," "columnar," "cost-effective storage"
ORCColumnarExcellentHive/Hadoop ecosystems, EMR workloads"Hive," "EMR," "optimized row columnar"
CSVRowNone (unless zipped)Small datasets, simple interchange"Human-readable," "simple," "legacy systems"
JSONRowNone (unless compressed)Semi-structured data, APIs, config"Nested data," "API responses," "flexible schema"
AvroRow (schema evolution)GoodStreaming, schema evolution needs"Schema changes," "Kafka," "streaming"
RecordIORecord-basedGoodSageMaker built-in algorithms"SageMaker built-in," "training optimization," "protobuf"
ProtobufBinary serializedExcellentSageMaker pipe mode, high-performance"Pipe mode," "streaming training data"

⚠️ Exam Trap: RecordIO and Protobuf are specific to SageMaker's built-in algorithms and pipe mode. If a question mentions SageMaker built-in algorithms and asks about the most efficient training format, the answer is RecordIO—not Parquet. But if the question is about general-purpose storage for analytics and ML, Parquet is almost always the answer. Watch for which context the question describes.

Reflection Question: A team stores 500 GB of training data as JSON files in S3. Training jobs take 6 hours. Without changing the model, what single change to the data format would most reduce training time, and why?

See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder•26 professional certifications earned