Question 831 of 1,755
Machine Learning Implementation and OperationseasyMultiple ChoiceObjective-mapped

Quick Answer

The correct choice is to create a SageMaker inference pipeline that includes a preprocessing step to normalize the input data before passing it to the model. This is necessary because the linear regression model was trained on normalized features, and the inference pipeline preprocessing in SageMaker ensures that raw inference requests are transformed to match the training distribution before reaching the model container. On the AWS Certified Machine Learning Specialty MLS-C01 exam, this scenario tests your understanding of real-time inference architecture versus batch processing—a common trap is confusing a batch transform job (which is asynchronous) with a real-time inference pipeline. Remember that for real-time endpoints, you must chain preprocessing and prediction containers in a single pipeline, not retrain or change instance types. A useful memory tip: “Pipeline before prediction” ensures the data format matches what the model learned.

MLS-C01 Practice Question: Machine Learning Implementation and Operations

This MLS-C01 practice question tests your understanding of machine learning implementation and operations. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company uses Amazon SageMaker to deploy a model for real-time inference. The model is a linear regression model that was trained using the SageMaker built-in Linear Learner algorithm. The endpoint is configured with an ml.m5.large instance. After deployment, the company notices that the endpoint returns incorrect predictions. The training data was normalized, but the inference requests send raw feature values without normalization. What should the company do to fix the issue?

Question 1easymultiple choice
Full question →

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 SageMaker inference pipeline that includes a preprocessing step to normalize the input data before passing it to the model.

The model expects normalized input. The inference pipeline must include a preprocessing step to normalize the data. Using a SageMaker inference pipeline with a preprocessing container (e.g., scikit-learn) before the model container is the correct approach. Option B is correct. Option A (retrain with raw data) is a viable alternative but would require retraining and may reduce model performance. Option C (transform job) is for batch inference, not real-time. Option D (change instance type) does not address the data mismatch.

Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.

Answer analysis

Option-by-option breakdown

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

  • Retrain the model using raw data without normalization.

    Why it's wrong here

    Wrong: While possible, this is not the best practice; it may reduce accuracy and requires retraining.

  • Change the endpoint instance type to a GPU instance to handle the raw data.

    Why it's wrong here

    Wrong: Instance type does not affect the need for normalization.

  • Create a SageMaker inference pipeline that includes a preprocessing step to normalize the input data before passing it to the model.

    Why this is correct

    Correct: This ensures real-time raw data is normalized before inference.

    Related concept

    Static NAT maps one inside address to one outside address.

  • Use a batch transform job to preprocess the data before sending it to the endpoint.

    Why it's wrong here

    Wrong: Batch transform is not real-time; it adds latency and complexity.

Common exam traps

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Detailed technical explanation

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

Key takeaway

NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related MLS-C01 NAT questions on configuration and troubleshooting.

Related practice questions

Related MLS-C01 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free MLS-C01 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this MLS-C01 question test?

Machine Learning Implementation and Operations — This question tests Machine Learning Implementation and Operations — Static NAT maps one inside address to one outside address..

What is the correct answer to this question?

The correct answer is: Create a SageMaker inference pipeline that includes a preprocessing step to normalize the input data before passing it to the model. — The model expects normalized input. The inference pipeline must include a preprocessing step to normalize the data. Using a SageMaker inference pipeline with a preprocessing container (e.g., scikit-learn) before the model container is the correct approach. Option B is correct. Option A (retrain with raw data) is a viable alternative but would require retraining and may reduce model performance. Option C (transform job) is for batch inference, not real-time. Option D (change instance type) does not address the data mismatch.

What should I do if I get this MLS-C01 question wrong?

Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related MLS-C01 NAT questions on configuration and troubleshooting.

What is the key concept behind this question?

Static NAT maps one inside address to one outside address.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 20, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.