A training job spends most of its first 20 minutes downloading a 2 TB dataset from S3 before training begins. Which input setting reduces that delay?
- Exam domain
- Deployment and Orchestration of ML and AI Workflows24% of the exam
- Difficulty
- Medium
- In this mock
- 22 questions on this domainPractise this domain
Why the exam asks this
Task 3.3: Implement automated orchestration and CI/CD pipelines for MLOps and AI workloads.
Objective in the exam guide: Skill 3.3.3: Configure training and inference jobs.
Data loading can dominate training time and cost on large datasets. Choosing the input mode is a simple, high-impact configuration.
Why B is the answer
Fast file mode, which streams data from S3 as the job reads it
Fast file mode starts training without downloading everything first, streaming files on access.
Remember: Large datasets and slow starts: stream input with fast file mode.
How it works
SageMaker training jobs can access S3 data in file mode, fast file mode or pipe mode.
File mode downloads all data before training starts. Fast file mode exposes the files immediately and streams them as they are read.
Fast file mode supports random access, unlike pipe mode, which streams data sequentially.
Clues in the question
The words that point to the answer, and what each one tells you.
- Downloading 2 TB before training begins
- File mode's download step.
In detail
- File mode downloads the whole dataset before training starts.
- Pipe mode also streams, but fast file mode supports random access.
Side by side with look-alikes
| Mode | Starts training | Access |
|---|---|---|
| Fast file mode | Immediately | Random access |
| Pipe mode | Immediately | Sequential stream |
| File mode | After full download | Local files |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Lowering the learning rateWrong
The learning rate does not affect data loading.
B. Fast file mode, which streams data from S3 as the job reads itRight
Large datasets and slow starts: stream input with fast file mode.
C. File mode with a larger EBS volumeWrongMost tempting
File mode still downloads everything first.
Why it tempts: More disk space makes the download possible. But it still has to finish before training starts.
D. Copying the data to a notebook firstWrong
An extra copy adds time.
In practice
- Use fast file mode for large S3 datasets, unless you need local copies.
Use case
An illustrative scenario, not a real incident.
Switching to fast file mode lets a job start training within a minute instead of twenty.
See how it works
xychart-beta x-axis ["File mode", "Fast file mode"] y-axis "Minutes before training" 0 --> 25 bar [20, 1]
How to read this chart
- File mode spends about twenty minutes downloading before any training happens.
- Fast file mode starts almost at once and streams data as needed.
- On paid instances, those minutes are pure cost.