Courseiva
Data EngineeringeasyMultiple ChoiceObjective-mapped

MLS-C01 Data Engineering Practice Question

A machine learning team is using Amazon SageMaker to train models on a large dataset stored in Amazon S3. The dataset is 5 TB in size and is partitioned by date. The team wants to minimize data transfer costs and reduce training time by caching frequently accessed data locally on the training instances. The training instances are EC2 instances with attached Amazon EBS volumes. The team is considering using SageMaker Pipe mode to stream data directly from S3, but they are concerned about network bandwidth. Which approach should the team use to optimize data loading for training?

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

Use Amazon FSx for Lustre as a high-performance file system linked to the S3 bucket, and mount it on the training instances.

Amazon FSx for Lustre is natively integrated with Amazon SageMaker as a data source, providing a high-performance file system that can be linked directly to an S3 bucket. It automatically caches frequently accessed data from S3 on the file system, reducing data transfer costs and training time by avoiding repeated downloads. The caching capability addresses network bandwidth concerns effectively. Option B is incorrect: SageMaker File mode uses EBS volumes, not Amazon EFS, and is not designed as a shared, cached file system across training jobs. Option C is incorrect: copying the entire 5 TB dataset to EBS volumes before each training job is time-consuming, increases costs, and does not provide efficient caching across jobs. Option D is incorrect: SageMaker Pipe mode streams data directly from S3 without caching, so it does not reduce repeated data transfers and may still face bandwidth issues.

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 Amazon FSx for Lustre as a high-performance file system linked to the S3 bucket, and mount it on the training instances.

    Why this is correct

    Correct. Amazon FSx for Lustre provides a high-performance file system that integrates with S3 and caches data locally on the training instances, reducing data transfer costs and training time.

  • Use SageMaker File mode with Amazon EFS, which allows multiple training instances to share the same file system and caches data from S3.

    Why it's wrong here

    Incorrect. SageMaker File mode uses EBS volumes, not Amazon EFS, and does not provide a shared, cached file system across multiple jobs as described.

  • Increase the size of the EBS volumes attached to the training instances and copy the entire dataset to the volumes before training.

    Why it's wrong here

    Incorrect. Copying the entire 5 TB dataset to EBS volumes before training is inefficient, time-consuming, and costly, and does not cache data across training jobs.

  • Use SageMaker Pipe mode to stream data from S3 directly to the training algorithm, which automatically caches data in memory.

    Why it's wrong here

    Incorrect. SageMaker Pipe mode streams data from S3 directly without caching, so it does not reduce data transfer for repeated access and may still encounter network bandwidth issues.

Visual reference

R1 R2 R3 R4 10 100 10 100 OSPF picks R1→R2→R4 (cost 20) over R1→R3→R4 (cost 200)

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 MLS-C01 question from scratch — 1,672 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 by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This MLS-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 MLS-C01 exam.