Courseiva
Data EngineeringmediumMultiple ChoiceObjective-mapped

MLS-C01 Data Engineering Practice Question

A data scientist is training a deep learning model using a large dataset stored in S3. The training job runs on a SageMaker training instance with a GPU. The data engineer notices that the GPU utilization is low, and the training is I/O bound. The data is read directly from S3 using the SageMaker SDK. Which change should the data engineer recommend to improve GPU utilization?

⚠ Common exam trap

A common mix-up: candidates confuse 'mounting S3' (which is not natively supported without third-party tools like s3fs-fuse) with SageMaker's built-in Pipe mode, or they incorrectly assume that increasing batch size will compensate for slow data loading.

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 SageMaker Pipe mode to stream data directly from S3 to the training container.

SageMaker Pipe mode streams data directly from S3 to the training container, eliminating the need to download the entire dataset to disk. This reduces I/O latency and keeps the GPU fed with data, improving utilization. The current I/O bottleneck occurs because the SDK reads data from S3 as files, causing the GPU to wait for data.

Answer analysis

Option-by-option breakdown

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

  • Increase the batch size in the training script to process more data per step.

    Why it's wrong here

    Larger batch size may cause out-of-memory errors and does not address I/O bottleneck.

  • Mount the S3 bucket to the training instance using Amazon Elastic File System (EFS).

    Why it's wrong here

    EFS introduces network latency and does not improve I/O performance.

  • Use SageMaker Pipe mode to stream data directly from S3 to the training container.

    Why this is correct

    Pipe mode eliminates disk I/O, allowing data to be streamed directly to the GPU.

  • Copy the entire dataset to an Amazon EBS volume attached to the training instance.

    Why it's wrong here

    Copying data to EBS still involves disk I/O and increases training start time.

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

This MLS-C01 question is part of Courseiva's 1,672-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.