AWS Certified Machine Learning – Specialty — Question 189

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?

Answer options

Correct answer: B

Explanation

The correct answer is B because specifying the training program in the ENTRYPOINT instruction tells SageMaker how to start the training process when launching the container. Options A, C, and D are incorrect as they either do not address the training initiation or involve unnecessary steps that do not ensure proper execution of the training algorithm.