Google Cloud Professional Machine Learning Engineer — Question 156
You built a custom ML model using scikit-learn. Training time is taking longer than expected. You decide to migrate your model to Vertex AI Training, and you want to improve the model’s training time. What should you try out first?
Answer options
- A. Train your model in a distributed mode using multiple Compute Engine VMs.
- B. Train your model using Vertex AI Training with CPUs.
- C. Migrate your model to TensorFlow, and train it using Vertex AI Training.
- D. Train your model using Vertex AI Training with GPUs.
Correct answer: B
Explanation
Using Vertex AI Training with CPUs is a good starting point as it allows you to leverage the managed infrastructure without the complexity of distributed training or GPU utilization. Options A and D may provide better performance but also come with higher complexity and potential costs, while option C requires additional effort to migrate the model to TensorFlow.