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

Report an error
QuestionBack to list