Courseiva
Machine Learning Implementation and OperationshardMultiple ChoiceObjective-mapped

MLS-C01 Practice Question: Machine Learning Implementation and Operations

Exhibit

Refer to the exhibit.

2023-01-01 12:00:00,123 INFO - Starting training
2023-01-01 12:00:01,456 ERROR - Unable to read data from /opt/ml/input/data/training
2023-01-01 12:00:01,457 INFO - Training completed

A SageMaker training job log shows the exhibit. The training job fails immediately after starting. The training data is supposed to be provided via Pipe mode from S3. What is the most likely cause?

⚠ Common exam trap

The key distinction is between immediate job failures (caused by infrastructure configuration like Pipe mode channels) versus runtime failures (caused by permissions, memory, or hyperparameters), leading candidates to mistakenly attribute the error to S3 permissions or script issues.

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

The input data channel is not properly configured

The training job fails immediately after starting, which is characteristic of a Pipe mode configuration issue. In Pipe mode, SageMaker streams data from S3 directly to the algorithm via a Unix FIFO pipe, and if the input data channel is not properly configured (e.g., missing or incorrect S3 path, wrong channel name, or mismatched content type), the training job will fail at launch without any data being read. The log exhibit likely shows an error such as 'Unable to read from pipe' or 'NoSuchKey', confirming the channel misconfiguration.

Answer analysis

Option-by-option breakdown

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

  • The input data channel is not properly configured

    Why this is correct

    The training job is looking for data at /opt/ml/input/data/training, but Pipe mode should provide a pipe.

  • The instance type does not have enough memory

    Why it's wrong here

    Memory issues would cause different errors.

  • The S3 bucket has insufficient permissions

    Why it's wrong here

    Permissions would cause an error when reading from S3, not a missing file.

  • The training script is using File mode instead of Pipe mode

    Why it's wrong here

    If using Pipe mode, the path should be a pipe, not a directory.

  • The hyperparameters are incorrectly specified

    Why it's wrong here

    Hyperparameters would not cause a missing data file error.

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

One of 1,672 original MLS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.