MLA-C02

Introduction to ML Data Sources, Storage and Formats

Where ML and AI data comes from, how to store it by cost, performance, structure and compliance, which formats to use and how to fix capacity problems.

  • 5 lessons
  • Module quiz

Every machine learning project begins with data, which usually lives in object stores, file systems and databases. Before a model can be trained or an AI application built, that data must be extracted, stored where training jobs and applications can read it efficiently, and saved in a suitable format.

Amazon S3 is the central store for training data, model artefacts and documents for RAG. High-throughput training reads data from FSx for Lustre linked to S3, or streams it with the FastFile and Pipe input modes. Data is extracted from databases such as Amazon RDS and DynamoDB, typically by exporting it to S3. Formats matter too: columnar Parquet suits analytics, built-in algorithms expect particular formats, and foundation model customisation and batch inference use JSON Lines.

What the exam expects

Questions test matching the storage service and input mode to the throughput a training job needs, choosing the data format for analytics, built-in algorithms and foundation model customisation, and fixing capacity problems such as S3 request limits, which are at least 3,500 writes and 5,500 reads per second per prefix.

How this module is organised

Extracting Training Data from AWS Data Sources explains how data is extracted from databases and other sources. Choosing Storage for ML Data by Cost, Performance, Structure and Compliance compares the storage services. Choosing Data Formats for ML Workloads explains which format suits which use. Ingesting and Organizing Unstructured Data covers unstructured data, and Troubleshooting Ingestion and Storage Capacity Limits covers common capacity problems.

  1. Extracting Training Data from AWS Data Sources Lesson 1
  2. Choosing Storage for ML Data by Cost, Performance, Structure and Compliance Lesson 2
  3. Choosing Data Formats for ML Workloads Lesson 3
  4. Ingesting and Organizing Unstructured Data Lesson 4
  5. Troubleshooting Ingestion and Storage Capacity Limits Lesson 5
  6. Practise and review
  7. Checkpoint Practice activities across the module
  8. Test your knowledge 4 questions