Google Cloud Professional Machine Learning Engineer — Question 311

You need to train an XGBoost model on a small dataset. Your training code requires custom dependencies. You need to set up a Vertex AI custom training job. You want to minimize the startup time of the training job while following Google-recommended practices. What should you do?

Answer options

Correct answer: D

Explanation

The correct answer is D because it allows for the separation of data storage in Cloud Storage while packaging the training application and its dependencies in a custom container, which is efficient and aligns with Google’s best practices. Options A and C incorrectly package the data with the container, which can increase startup time, while option B does not fully leverage a custom container for both the application and dependencies.