A data scientist wants to support both batch inference and real-time inference while reusing the same trained model and pre/post-processing logic. Which SageMaker approach best fits?
Answer
Use SageMaker endpoints for online inference and Batch Transform for offline inference, with shared model artifacts and inference scripts
Explanation
Batch Transform supports offline predictions and endpoints support real-time inference, typically reusing the same training artifacts and scripts.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which IAM approach is commonly used to restrict access for SageMaker execution roles to only specific S3 paths and resources?
View question →
Passage: A retail analytics team deploys a forecasting model to predict weekly demand. The model runs daily in batch to refresh inventory forecasts and also serves on-demand predictions for a pricing dashboard. After two months, the team notices prediction errors increasing. They compare current feature distributions with those from training and find a drift in one key attribute. The team needs a workflow to detect issues early, capture evidence for investigation, and decide whether retraining is required. They also want to control access to raw data and logs because customer fields are sensitive.
View question →
In SageMaker, what is the purpose of a pipeline step that runs a processing job?
View question →
Which statement best describes Amazon SageMaker Feature Store's role in a ML solution?
View question →
You train a model and deploy it to an endpoint. To ensure the data and predictions remain consistent with training over time, which capability should you use?
View question →
Which AWS service is best suited for deploying and managing a machine learning model endpoint with autoscaling and traffic routing based on ML traffic demand?
View question →