Amazon
MLS-C01 · Question #216
A machine learning (ML) specialist wants to bring a custom training algorithm to Amazon SageMaker. The ML specialist implements the algorithm in a Docker container that is supported by SageMaker…
The correct answer is B. Specify the training program in the ENTRYPOINT instruction in the Dockerfile. https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html
Machine Learning Implementation and Operations
Question
A machine learning (ML) specialist wants to bring a custom training algorithm to Amazon SageMaker. The ML specialist implements the algorithm in a Docker container that is supported by SageMaker. How should the ML specialist package the Docker container so that SageMaker can launch the training correctly?
Options
- ASpecify the server argument in the ENTRYPOINT instruction in the Dockerfile.
- BSpecify the training program in the ENTRYPOINT instruction in the Dockerfile.
- CInclude the path to the training data in the docker build command when packaging the container.
- DUse a COPY instruction in the Dockerfile to copy the training program to the /opt/ml/train
How the community answered
(27 responses)- A4% (1)
- B93% (25)
- C4% (1)
Explanation
https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html
Topics
#SageMaker Custom Containers#Dockerfile ENTRYPOINT#ML Training Environment#Container Packaging
Community Discussion
No community discussion yet for this question.