AWS Certified Machine Learning – Specialty — Question 89

A Machine Learning Specialist wants to bring a custom algorithm to Amazon SageMaker. The Specialist implements the algorithm in a Docker container supported by Amazon SageMaker.
How should the Specialist package the Docker container so that Amazon SageMaker can launch the training correctly?

Answer options

Correct answer: C

Explanation

The correct answer is C because configuring the training program as an ENTRYPOINT allows Amazon SageMaker to execute it directly when the container starts. Options A and B do not provide the necessary execution context for SageMaker, and option D is incorrect as simply copying the program does not ensure it runs correctly.