In a SageMaker distributed training job, a practitioner wants to ensure deterministic results across restarts and scaling changes. Which combination best addresses this?
Answer
Set fixed seeds for all frameworks, enable deterministic ops where available, use identical data sharding strategy, and pin dependency versions
Explanation
Determinism requires controlling seeds, ensuring deterministic kernels/ops, keeping the same data partition/shuffling behavior, and avoiding version-dependent numerical differences.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A model is trained with a custom loss that enforces a monotonic relationship between one feature and the prediction, but at inference time the monotonicity is violated for some requests. Which diagnosis is most plausible?
View question →
A regression model trained in SageMaker shows heteroscedastic residuals: variance increases with predicted value. Which training change is most defensible for uncertainty-aware predictions?
View question →
You observe that your model’s ROC-AUC is stable, but business metrics (precision at a fixed recall) degrade after retraining. What is the most likely root cause and best remedy?
View question →
A multi-tenant workload uses SageMaker endpoints with per-tenant isolation requirements for both performance and security. Which deployment pattern best meets these constraints?
View question →
Your training pipeline includes a feature engineering step that changes over time (new categories appear). To prevent training-serving skew, what is the best approach in AWS ML workflows?
View question →
During model evaluation, you compare two candidate models with different calibration quality. Which approach is most appropriate if the goal is reliable probability estimates (not just ranking)?
View question →