Question 344 of 1,755
ModelingmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to use SageMaker’s distributed data parallelism with multiple instances. This approach splits the 50 GB dataset across several ml.p3.2xlarge instances, enabling each to process a distinct subset of the data in parallel, which directly reduces wall-clock training time from 48 hours to under 12 hours by achieving near-linear scaling—for example, four instances can yield roughly a 4x speedup. On the AWS Certified Machine Learning Specialty MLS-C01 exam, this scenario tests your understanding of how distributed data parallelism on SageMaker minimizes training time for large datasets without altering model architecture or data loading methods, and a common trap is to mistakenly choose model parallelism (which splits the model layers) or a faster instance type (which offers limited gains). Remember the key distinction: data parallelism splits the data, model parallelism splits the model—for large datasets, data parallelism is the scaling solution.

MLS-C01 Modeling Practice Question

This MLS-C01 practice question tests your understanding of modeling. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company is using Amazon SageMaker to train a deep learning model for image segmentation. The training job uses a single ml.p3.2xlarge instance and takes 48 hours to complete. The team needs to reduce training time to under 12 hours to meet a deadline. The dataset is 50 GB of images stored in S3. The team currently uses File mode to download the data to the training instance. The model architecture is a convolutional neural network (CNN) with 50 layers. The team has access to multiple instances of the same type. Which approach will most effectively reduce training time?

Question 1mediummultiple choice
Full question →

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's distributed data parallelism with multiple instances.

Option C is correct because SageMaker's distributed data parallelism splits the 50 GB dataset across multiple ml.p3.2xlarge instances, allowing each instance to process a subset of the data in parallel. This can reduce training time from 48 hours to under 12 hours, assuming near-linear scaling with the number of instances (e.g., 4 instances for a 4x speedup). The approach directly addresses the need to reduce wall-clock time without altering the model architecture or data loading method.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Reduce the number of layers in the CNN to speed up training.

    Why it's wrong here

    Reducing model complexity may degrade accuracy and is not a reliable method to meet the deadline.

  • Increase the batch size on the single instance to process more data per iteration.

    Why it's wrong here

    Increasing batch size on a single instance may not reduce total training time significantly and can cause out-of-memory errors.

  • Use SageMaker's distributed data parallelism with multiple instances.

    Why this is correct

    Distributed training across instances parallelizes computation and can achieve near-linear speedup.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Switch to Pipe mode to stream data from S3, reducing data loading time.

    Why it's wrong here

    While Pipe mode helps with data loading, the primary bottleneck is likely computation; it won't reduce training time from 48 to 12 hours.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may confuse data loading optimization (Pipe mode) with compute parallelism, overlooking that the 48-hour bottleneck is GPU compute time, not I/O, and that distributed training is the only viable method to achieve a 4x speedup without altering the model.

Detailed technical explanation

How to think about this question

SageMaker's distributed data parallelism uses the AllReduce algorithm (e.g., NCCL-based ring all-reduce) to synchronize gradients across instances after each mini-batch, enabling near-linear scaling for CNN training. The ml.p3.2xlarge instance has a single NVIDIA V100 GPU with 16 GB memory, so scaling to 4 instances provides 4 GPUs and 64 GB aggregate memory, allowing larger effective batch sizes while reducing per-instance computation. In practice, the speedup is often 3.5x-3.8x due to communication overhead, but this still meets the 12-hour target.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related MLS-C01 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free MLS-C01 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this MLS-C01 question test?

Modeling — This question tests Modeling — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use SageMaker's distributed data parallelism with multiple instances. — Option C is correct because SageMaker's distributed data parallelism splits the 50 GB dataset across multiple ml.p3.2xlarge instances, allowing each instance to process a subset of the data in parallel. This can reduce training time from 48 hours to under 12 hours, assuming near-linear scaling with the number of instances (e.g., 4 instances for a 4x speedup). The approach directly addresses the need to reduce wall-clock time without altering the model architecture or data loading method.

What should I do if I get this MLS-C01 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

3 more ways this is tested on MLS-C01

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company uses Amazon SageMaker to train a custom TensorFlow model for image classification. The training job runs on a single ml.p3.2xlarge instance. The dataset contains 500,000 images stored in S3. The training time is too long (over 24 hours). The data scientist wants to reduce training time without changing the model architecture. The dataset is already in TFRecord format. The training script uses the default TensorFlow data pipeline. Which change will MOST significantly reduce training time?

hard
  • A.Use SageMaker Pipe mode and increase the number of data files.
  • B.Use SageMaker's distributed data parallelism with multiple instances.
  • C.Switch the input mode from File to Pipe.
  • D.Optimize the data pipeline using tf.data.Dataset.prefetch and cache.

Why B: Option B is correct. Using SageMaker's distributed data parallelism with multiple GPUs reduces training time proportionally. Option A is wrong because File mode may cause I/O bottlenecks. Option C is wrong because optimizing data pipeline helps but less than adding more compute. Option D is wrong because Pipe mode streams data but does not reduce computation.

Variation 2. A company uses Amazon SageMaker to train a deep learning model for image classification. The training dataset consists of 500,000 images, each 256x256 pixels, stored in S3. The team uses a single ml.p3.2xlarge instance for training. The training time is unacceptably long (over 48 hours). The team wants to reduce training time without sacrificing model accuracy. They have already optimized the data pipeline by using SageMaker Pipe mode and sharding the S3 dataset. The model is a ResNet-50 implemented in TensorFlow. The team is considering the following options: A) Switch to a ml.p3.16xlarge instance which has 8 GPUs and more memory. B) Implement distributed data parallelism using Horovod across multiple instances. C) Use SageMaker's built-in Hyperparameter Tuning to find optimal hyperparameters. D) Reduce the image resolution to 128x128 to speed up training. Which option will MOST effectively reduce training time while maintaining accuracy?

hard
  • A.Switch to a ml.p3.16xlarge instance
  • B.Reduce the image resolution to 128x128
  • C.Implement distributed data parallelism using Horovod across multiple instances
  • D.Use SageMaker's built-in Hyperparameter Tuning

Why C: Using multiple instances with Horovod for distributed data parallelism can scale training linearly with the number of GPUs, significantly reducing time. A larger single instance (ml.p3.16xlarge) provides 8 GPUs but still limited by single instance. Hyperparameter tuning does not directly reduce training time. Reducing resolution may lose accuracy.

Variation 3. A company is using Amazon SageMaker to train a deep learning model on a large dataset. The training job is taking too long. The team wants to reduce training time without changing the model architecture. Which action should they take?

medium
  • A.Increase the learning rate by a factor of 10
  • B.Use SageMaker's distributed training with multiple instances
  • C.Reduce the number of epochs
  • D.Reduce the batch size

Why B: SageMaker's distributed training with multiple instances splits the dataset and model computations across several machines, enabling parallel processing that significantly reduces wall-clock training time. This approach leverages data parallelism or model parallelism without altering the model architecture, directly addressing the need for faster training.

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.