exam questions

Exam Professional Machine Learning Engineer All Questions

View all questions & answers for the Professional Machine Learning Engineer exam

Exam Professional Machine Learning Engineer topic 1 question 162 discussion

Actual exam question from Google's Professional Machine Learning Engineer
Question #: 162
Topic #: 1
[All Professional Machine Learning Engineer Questions]

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?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
desertlotus1211
1 month, 4 weeks ago
Selected Answer: A
Scikit-learn generally relies on CPU-based computations and does not natively leverage GPUs for most algorithms. Answer A is the best first step to improve training time without sacrificing model performance
upvoted 1 times
...
vini123
2 months, 3 weeks ago
Selected Answer: B
Minimal changes – You can quickly migrate your existing scikit-learn code to Vertex AI Training using CPU instances. ✅ Vertex AI prebuilt containers already support scikit-learn with CPU (no extra setup needed). ✅ Lower cost than distributed training or switching to another framework. ✅ Good for establishing a baseline – Once you see how long it takes on Vertex AI, you can decide if further optimization (like distributed training) is needed.
upvoted 1 times
...
lunalongo
4 months, 3 weeks ago
Selected Answer: B
B) The statement asks the FIRST STEP to take. Considering: - Scikit-learn's limited and non-universal GPU support - Higher cost associated with GPU instances The first sensible approach would indeed be to first migrate the model to Vertex AI using CPUs to establish a baseline training time. This allows for a direct comparison with the existing training setup and helps determine if the improvement from CPU to GPU is necessary.
upvoted 1 times
...
rajshiv
5 months ago
Selected Answer: D
I think it is D. The optimal approach to improve training time in Vertex AI Training is to leverage the parallel processing power of GPUs.
upvoted 1 times
...
TanTran04
10 months ago
Selected Answer: B
Scikit-learn is not intended to be used as a deep-learning framework and it does not provide any GPU support. (Ref: https://stackoverflow.com/questions/41567895/will-scikit-learn-utilize-gpu). So I go with B
upvoted 2 times
...
AzureDP900
10 months, 2 weeks ago
You decided to migrate to Vertex AI, If you have a model that requires significant computational resources and doesn't rely heavily on specialized GPU operations (like those in option D), then option B might still be a good choice. However, if your model is computationally intensive or involves complex neural network architectures I would go with D instead of B.
upvoted 1 times
...
AnnaR
1 year ago
B is correct, because scikit only has CPU support for the following services: - prebuilt containers for custom training (this is the case here) - prebuilt containers for predictions and explanations - Vertex AI Pipelines - Vertex AI Workbench user-managed notebooks https://cloud.google.com/vertex-ai/docs/supported-frameworks-list#scikit-learn_2
upvoted 4 times
...
Carlose2108
1 year, 2 months ago
Selected Answer: B
scikit-learn no GPU support.
upvoted 1 times
...
guilhermebutzke
1 year, 2 months ago
Selected Answer: D
Scikit-learn doesn't natively support GPUs for training. However, many scikit-learn algorithms rely on libraries like NumPy and SciPy. These libraries can leverage GPUs if they're available on the system, potentially benefiting scikit-learn models indirectly.
upvoted 1 times
...
b1a8fae
1 year, 3 months ago
Selected Answer: B
SK-Learn offers no GPU support. Answer is B!
upvoted 3 times
...
VMHarry
1 year, 4 months ago
Selected Answer: D
GPU helps speeding up training process
upvoted 1 times
...
vale_76_na_xxx
1 year, 4 months ago
Why no A?
upvoted 1 times
...
mlx
1 year, 4 months ago
B. Train your model using Vertex AI Training with CPUs. No GPUs for ScikitLearn, but parrallelize/distribute training is a good way to increase model building
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago