mediumMultiple SelectObjective-mapped
MLA-C01 Practice Question: Deploying a machine learning model using…
A company is deploying a machine learning model using SageMaker hosting. They need to support multiple versions of the model for A/B testing. Which TWO actions are required to set up the A/B test? (Choose two.)
⚠ Common exam trap
Many candidates confuse shadow variants (which are for passive monitoring) with production variants (which are for active traffic splitting), leading them to select Option A instead of understanding that A/B testing requires explicit traffic routing via variant weights.
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
✓
Configure the endpoint to route a percentage of traffic to each variant using initial variant weight
SageMaker endpoints use `initial variant weight` to distribute traffic among production variants. By setting this weight, you can route a specific percentage of inference requests to each model version, enabling A/B testing without changing the endpoint configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable shadow variants to capture traffic for the new model without affecting users
Why it's wrong here
Shadow variants are used for canary testing, not A/B testing.
- ✗
Set up a batch transform job to compare performance offline
Why it's wrong here
Batch transform is not for real-time A/B testing.
- ✓
Configure the endpoint to route a percentage of traffic to each variant using initial variant weight
Why this is correct
Traffic splitting is achieved via variant weights.
- ✗
Register both models in SageMaker Model Registry
Why it's wrong here
Model registry is optional; A/B testing can be done without it.
- ✓
Create an endpoint with two production variants, each serving a different model version
Why this is correct
Production variants host the models.
Go deeper
Related to this question
About these practice questions
One of 835 original MLA-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This MLA-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 MLA-C01 exam.