You deploy a model that requires feature normalization parameters computed from training data. Which design most reliably keeps training-serving consistency under model versioning?
Answer
Store preprocessing artifacts (e.g., scaler parameters) alongside the model in the model artifact package and load them in the container
Explanation
Packaging preprocessing parameters with the model ensures the same transformations are applied across versions, maintaining consistency and reducing operational drift.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
In a multi-stage MLOps flow, you want to automatically promote a new model version only if it meets both quality and fairness constraints. What is the most appropriate AWS mechanism for implementing these checks before deployment?
View question →
In a multi-model endpoint scenario, you want to reduce latency while keeping model-specific preprocessing. Which approach most directly supports per-request routing without duplicating infrastructure?
View question →
You must train a regression model in SageMaker and use early stopping. The metric is noisy and occasionally improves briefly. Which configuration choice most robustly avoids premature stopping while still limiting overfitting?
View question →
A team investigates prediction drift after a new data distribution appears. They collect a sample of recent requests and compare input feature statistics to the training baseline. They observe a strong shift in one feature with stable overall label distribution. Which root-cause mitigation is most aligned to this evidence?
View question →
You are using distributed training with a built-in algorithm and need to ensure reproducibility across runs. Which practice most directly improves deterministic behavior?
View question →
A dataset has severe class imbalance and you are evaluating a classifier. Which evaluation strategy best reflects real-world cost when false negatives are far more expensive than false positives?
View question →