Courseiva
ModelinghardMultiple ChoiceObjective-mapped

MLS-C01 SageMaker PyTorch Container Practice Question

A machine learning engineer is deploying a PyTorch model to SageMaker. The model requires custom inference logic. Which approach should the engineer use?

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

Create a custom inference script and use the SageMaker PyTorch container

SageMaker allows you to provide a custom inference script (entry point) when using the PyTorch container, enabling custom inference logic. Option A is wrong because the built-in container as-is would not incorporate custom logic. Option B is wrong because SageMaker Ground Truth is for labeling, not model deployment. Option C is wrong because SageMaker Processing is for data processing, not inference.

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 a SageMaker built-in PyTorch container as-is

    Why it's wrong here

    SageMaker built-in PyTorch container as-is does not support custom inference logic without modification.

  • Use SageMaker Ground Truth to deploy the model

    Why it's wrong here

    SageMaker Ground Truth is for labeling, not for deploying models.

  • Use SageMaker Processing to run inference

    Why it's wrong here

    SageMaker Processing is designed for data processing, not for running inference.

  • Create a custom inference script and use the SageMaker PyTorch container

    Why this is correct

    Creating a custom inference script and using the SageMaker PyTorch container allows you to define custom processing logic for inference.

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.