Courseiva
Machine Learning Implementation and OperationshardMultiple ChoiceObjective-mapped

MLS-C01 Practice Question: Machine Learning Implementation and Operations

A company is using Amazon SageMaker to train a model using a custom Docker container. The training script writes model artifacts to the `/opt/ml/model` directory. The training job completes successfully, but the model artifacts are not uploaded to the S3 output path specified in the training job. The company has verified that the SageMaker execution role has the necessary S3 permissions. The Docker container is built using a base image that is not one of the official SageMaker Docker images. What is the MOST likely reason for the failure to upload model artifacts?

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 custom container does not include the SageMaker training toolkit, which handles artifact uploads.

The SageMaker training toolkit is required in custom containers to handle the automatic upload of model artifacts to S3. Without it, even if the script writes to /opt/ml/model and has correct permissions, SageMaker cannot perform the upload. Option B is correct because the container lacks the toolkit. Option A is incorrect because the entry point is unrelated to the upload failure. Option C is incorrect as the output path formatting would cause a different error. Option D is incorrect because permissions were already verified.

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 training script's entry point is not correctly specified in the container.

    Why it's wrong here

    Wrong: The script runs successfully, so entry point is likely correct.

  • The custom container does not include the SageMaker training toolkit, which handles artifact uploads.

    Why this is correct

    Correct: Without the toolkit, SageMaker does not automatically upload artifacts.

  • The output path in the training job configuration is incorrectly formatted.

    Why it's wrong here

    Wrong: The output path is specified correctly and the job completes.

  • The SageMaker execution role does not have s3:PutObject permission on the output bucket.

    Why it's wrong here

    Wrong: Permissions have been verified.

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.