Courseiva
ML Model Development →hardMultiple Choice

MLA-C01 ML Model Development Practice Question

A company is training a deep learning model using SageMaker and wants to reduce the time spent on data loading from Amazon S3 during training. The training dataset consists of many small files. Which approach is MOST effective to accelerate data loading?

⚠ Common exam trap

The trap here is assuming that Pipe mode always accelerates data loading, but for many small files its per-file overhead can make it slower than consolidating files and using File mode.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Package the small files into a few large files (e.g., TFRecord or RecordIO) and use File mode.

Many small files cause high S3 request overhead. Consolidating them into a few large files in a format like TFRecord or RecordIO reduces the number of requests and allows efficient sequential reads. File mode then downloads these large files quickly to local storage, significantly speeding up data loading compared to streaming many small files or adding instances.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Use SageMaker Pipe mode to stream data directly from S3.

    Why it's wrong here

    Pipe mode streams data from S3 directly to the training container without downloading the entire dataset first. However, for many small files, Pipe mode can be inefficient because each file may require a separate request, and the streaming overhead can outweigh benefits. It is better suited for large files or when the dataset is too large to fit on disk.

  • ✗

    Increase the number of training instances in the cluster.

    Why it's wrong here

    Adding more instances increases compute capacity but does not address the bottleneck of loading many small files from S3. Each instance will still face the same I/O overhead, and the problem may be exacerbated by concurrent S3 requests. This approach does not solve the data loading inefficiency and may increase cost without improving training time.

  • ✗

    Enable SageMaker Debugger to monitor data loading metrics.

    Why it's wrong here

    Debugger provides visibility into resource utilization and can help identify I/O bottlenecks, but it does not accelerate data loading. It is a monitoring tool, not a performance optimization. While useful for diagnosis, enabling Debugger alone will not reduce the time spent loading data from S3.

  • ✓

    Package the small files into a few large files (e.g., TFRecord or RecordIO) and use File mode.

    Why this is correct

    Combining many small files into a few large files reduces the number of S3 requests and improves I/O throughput. Using File mode then downloads these larger files quickly to the training instance's storage, allowing the training script to read them efficiently. This approach is the most effective for accelerating data loading when dealing with many small files.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every MLA-C01 question from scratch — 665 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint

This MLA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MLA-C01 exam.