A machine learning engineer has trained a model and wants to deploy it for real-time inference. The model requires preprocessing of input data before prediction. Which of the following approaches allows the preprocessing to be included in the endpoint?
Answer
Create an inference pipeline with a preprocessing container and the model container.
Explanation
SageMaker inference pipelines allow you to deploy a sequence of containers, where the first container handles preprocessing and the second handles prediction. Client-side preprocessing is possible but not included in the endpoint, and batch transform is for offline processing.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A machine learning engineer is preparing a dataset for a binary classification model. The dataset contains 95% negative examples and 5% positive examples. Which evaluation metric is most appropriate to assess the model's performance on the positive class?
View question →
A machine learning engineer wants to reduce the size of a trained neural network model before deploying it to a resource-constrained edge device. Which technique should they use?
View question →
A machine learning engineer is using Amazon SageMaker to train a model on a large dataset stored in Amazon S3. They want to minimize training time. Which input mode should they use?
View question →
A machine learning engineer needs to ensure that a deployed model provides explanations for its predictions. Which SageMaker feature should they use?
View question →
A machine learning engineer is training a model on a dataset with missing values. Which of the following are appropriate strategies to handle missing data? (Select TWO.)
View question →
A machine learning engineer is using Amazon SageMaker to deploy a model for real-time inference. They need to automatically scale the endpoint based on traffic. Which SageMaker feature should they use?
View question →