Courseiva
Machine Learning Implementation and OperationshardMultiple ChoiceObjective-mapped

MLS-C01 Practice Question: Machine Learning Implementation and Operations

Network Topology
aws sagemaker create-endpoint-configendpoint-config-name my-configproduction-variants '[{"VariantName":"variant1"Refer to the exhibit.

An engineer runs the AWS CLI command in the exhibit to create a SageMaker endpoint configuration. The endpoint is created successfully, but when invoked, the inference response is slow. The engineer wants to test with a different instance type. Which action should the engineer take?

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

Update the endpoint configuration with the new instance type and then update the endpoint

To change the instance type for an existing SageMaker endpoint, you must first update the endpoint configuration with the new instance type, then update the endpoint to use the updated configuration. Option D describes this correct procedure. Option B is incorrect because the update-endpoint API does not directly accept an instance type parameter; it updates the endpoint to use a new endpoint configuration. Option A creates a new endpoint, which is less efficient. Option C deletes the endpoint unnecessarily.

Answer analysis

Option-by-option breakdown

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

  • Create a new endpoint configuration and use it to create a new endpoint

    Why it's wrong here

    This creates a second endpoint, not updating the existing one.

  • Modify the existing endpoint directly using the update-endpoint API with a new instance type parameter

    Why it's wrong here

    Update-endpoint takes an endpoint config name, not instance type directly.

  • Delete the endpoint and create a new one with the desired instance type

    Why it's wrong here

    Deleting the endpoint is unnecessary and causes downtime, as SageMaker allows updating an existing endpoint to use a new endpoint configuration that specifies the desired instance type. This approach avoids service interruption. The option is tempting because many cloud resources are immutable, requiring deletion and recreation for fundamental changes. It would be correct if the endpoint's name needed to change, or if a complete redeployment from scratch was genuinely preferred over an update.

  • Update the endpoint configuration with the new instance type and then update the endpoint

    Why this is correct

    You can update the endpoint configuration and then call update-endpoint to apply changes.

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.