A model trained in one AWS account fails after deployment because the pre-processing container expects GPU libraries that were available in training but missing in the inference environment. Which AWS capability is the most appropriate to enforce consistent runtime dependencies across training and deployment?
Answer
SageMaker Model Registry plus automated model deployment to a pre-provisioned instance type with the same container image, SageMaker training and inference containers with the same Docker image (or build artifacts) and explicit dependency pinning
Explanation
B supports consistent deployment by standardizing the runtime and deployment configuration via the model lifecycle. D directly addresses missing GPU libraries by using the same container image/build with pinned dependencies.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
You need to choose between logistic regression and XGBoost for a binary classification problem with severe class imbalance and nonlinear decision boundaries. Which approach best aligns to advanced evaluation and robust training under imbalance?
View question →
A multi-class problem is evaluated with macro-averaged F1, and the model underperforms on minority classes. You want to improve minority-class recall without causing excessive precision loss. Which technique is most appropriate?
View question →
A team uses SageMaker pipelines to orchestrate training. They need reproducible runs with strict control over training data versions, code, and hyperparameters. What should they rely on as the strongest mechanism to guarantee this reproducibility?
View question →
For a streaming feature pipeline feeding a model, you observe that inference latency spikes when using a real-time feature retrieval call. Which design change is most likely to reduce latency while preserving data freshness?
View question →
A dataset includes sensitive attributes. You must prevent leakage of these attributes while still using them for training-time checks. Which approach best satisfies leakage prevention while enabling governance?
View question →
In the described scenario, which action most directly mitigates training-serving skew for a feature used in both offline training and real-time inference?
View question →