Google Cloud Professional Machine Learning Engineer — Question 112
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. Migrate your model to TensorFlow, and train it using Vertex AI Training.
- B. Train your model in a distributed mode using multiple Compute Engine VMs.
- C. Train your model with DLVM images on Vertex AI, and ensure that your code utilizes NumPy and SciPy internal methods whenever possible.
- D. Train your model using Vertex AI Training with GPUs.
Correct answer: C
Explanation
The correct answer is C because utilizing DLVM images on Vertex AI allows for optimized performance, and leveraging NumPy and SciPy can significantly speed up computations. Option A is incorrect as migrating to TensorFlow does not guarantee improvements in training time. Option B may help but requires additional setup and resources. Option D, while beneficial, may not be the most efficient initial approach compared to optimizing code execution with existing libraries.