A machine learning engineer is using Amazon SageMaker to train a model. They want to use a custom training script. Which of the following are required to use a custom script?
Answer
The script must be compatible with the SageMaker training toolkit, The script must define a training function
Explanation
Custom scripts must be compatible with the SageMaker training toolkit and define a training function. They do not need to be in a Docker container, uploaded to S3, or written in Python (though Python is common).
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A machine learning engineer is training a model on a dataset with 10,000 examples and 500 features. They notice that the training error is very low but the validation error is high. Which of the following techniques are most appropriate to address this issue?
View question →
In Amazon SageMaker, which of the following are valid methods to provide training data to a training job?
View question →
A company wants to deploy a machine learning model for real-time inference with low latency. The model is large and requires GPU acceleration. Which AWS service is most suitable for this deployment?
View question →
When preparing data for a machine learning model, which of the following are common data preprocessing steps?
View question →
A machine learning engineer is using Amazon SageMaker Automatic Model Tuning. Which of the following are valid hyperparameter tuning strategies?
View question →
Which of the following metrics are appropriate for evaluating a binary classification model when the classes are imbalanced?
View question →