Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Machine Learning Engineer Exam - Topic 6 Question 104 Discussion

Posted by Tu on Jul 11, 2025 at 05:47 PM

You manage a team of data scientists who use a cloud-based backend system to submit training jobs. This system has become very difficult to administer, and you want to use a managed service instead. The data scientists you work with use many different frameworks, including Keras, PyTorch, theano, scikit-learn, and custom libraries. What should you do?

Suggested Answer: A

The best option for using a managed service to submit training jobs with different frameworks is to use Vertex AI Training. Vertex AI Training is a fully managed service that allows you to train custom models on Google Cloud using any framework, such as TensorFlow, PyTorch, scikit-learn, XGBoost, etc. You can also use custom containers to run your own libraries and dependencies. Vertex AI Training handles the infrastructure provisioning, scaling, and monitoring for you, so you can focus on your model development and optimization. Vertex AI Training also integrates with other Vertex AI services, such as Vertex AI Pipelines, Vertex AI Experiments, and Vertex AI Prediction. The other options are not as suitable for using a managed service to submit training jobs with different frameworks, because:

Configuring Kubeflow to run on Google Kubernetes Engine and submit training jobs through TFJob would require more infrastructure maintenance, as Kubeflow is not a fully managed service, and you would have to provision and manage your own Kubernetes cluster. This would also incur more costs, as you would have to pay for the cluster resources, regardless of the training job usage. TFJob is also mainly designed for TensorFlow models, and might not support other frameworks as well as Vertex AI Training.

Creating a library of VM images on Compute Engine, and publishing these images on a centralized repository would require more development time and effort, as you would have to create and maintain different VM images for different frameworks and libraries. You would also have to manually configure and launch the VMs for each training job, and handle the scaling and monitoring yourself. This would not leverage the benefits of a managed service, such as Vertex AI Training.

Setting up Slurm workload manager to receive jobs that can be scheduled to run on your cloud infrastructure would require more configuration and administration, as Slurm is not a native Google Cloud service, and you would have to install and manage it on your own VMs or clusters. Slurm is also a general-purpose workload manager, and might not have the same level of integration and optimization for ML frameworks and libraries as Vertex AI Training.Reference:

Vertex AI Training | Google Cloud

Kubeflow on Google Cloud | Google Cloud

TFJob for training TensorFlow models with Kubernetes | Kubeflow

Compute Engine | Google Cloud

Slurm Workload Manager


Get Premium Professional Machine Learning Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
28 comments · newest first
CA
Carisa 10 months ago
VM images could lead to versioning issues, not ideal.
KE
Kenneth 10 months ago
Slurm seems overkill for just training jobs, right?
GO
Goldie 10 months ago
Wait, can Vertex AI really handle all those frameworks?
LA
Lazaro 11 months ago
Vertex AI Training supports multiple frameworks, sounds good!
RU
Rutha 11 months ago
I think Kubeflow is more flexible for custom setups.
LA
Lashunda 11 months ago
Slurm sounds familiar, but I can't recall if it's the best fit for our cloud setup. I thought it was more for on-premise clusters.
ZE
Zena 11 months ago
I feel like using VM images on Compute Engine might be too manual and not really a managed service, but it could work if we need specific environments.
PE
Peggie 11 months ago
I remember practicing with Kubeflow, and it seemed powerful, but I wonder if setting it up would be too complex for our needs.
JO
Josephine 12 months ago
I think Vertex AI Training could be a good choice since it supports multiple frameworks, but I'm not entirely sure how well it integrates with custom libraries.
WE
Wendell 12 months ago
Slurm workload manager could be an interesting approach, but I'm not sure how well it would integrate with the cloud infrastructure. I'll need to look into that more.
RI
Rima 1 year ago
Creating VM images on Compute Engine might work, but it feels a bit more manual than the other options. I'll have to weigh the pros and cons carefully.
TI
Timothy 1 year ago
Kubeflow on GKE could be a solid choice, but I'm not super familiar with it. I'll need to do some reading on how to configure it properly.
CH
Charolette 1 year ago
Vertex AI Training seems like a good option since it can handle multiple frameworks. I'll need to research how to set that up and make sure it meets the team's needs.
TA
Tandra 1 year ago
Hmm, this looks like a tricky one. I'll need to carefully consider the different options and how they might work with the variety of frameworks the team uses.
DA
Daren 1 year ago
I prefer creating a library of VM images on Compute Engine for more control.
CO
Colby 1 year ago
But configuring Kubeflow on GKE could also be a good choice.
EU
Eun 1 year ago
I agree with Elouise, it's the most flexible option.
JU
Jutta 1 year ago
Option C seems like a lot of overhead. Do I really want to be the VM image librarian? Nah, Vertex AI is the way to go, for sure.
EL
Elouise 1 year ago
I think we should use Vertex AI Training for any framework.
JO
Joesph 1 year ago
Haha, Slurm? What is this, the 90s? I'm going with Vertex AI, keep it simple and let Google handle the heavy lifting.
ST
Staci 1 year ago
↳ replying to Joesph
User 1: Haha, Slurm? What is this, the 90s?
KE
Kerry 1 year ago
I'd go with option B. Kubeflow can handle all those different frameworks, and it'll be easier to manage than a bunch of custom VM images.
KA
Kayleigh 1 year ago
↳ replying to Kerry
I agree, Kubeflow seems like the best option to handle all those different frameworks.
IZ
Izetta 1 year ago
↳ replying to Kerry
B) Configure Kubeflow to run on Google Kubernetes Engine and submit training jobs through TFJob.
PA
Pauline 1 year ago
↳ replying to Kerry
A) Use the Vertex AI Training to submit training jobs using any framework.
BE
Bettina 1 year ago
Vertex AI Training sounds like the way to go. I don't want to deal with the hassle of setting up Kubeflow or managing VMs. That's just too much work.
ES
Essie 1 year ago
↳ replying to Bettina
Vertex AI Training is definitely the easiest option. No need to deal with setting up Kubeflow or managing VMs.
ST
Stephane 1 year ago
↳ replying to Bettina
A) Use the Vertex AI Training to submit training jobs using any framework.
0/2000 characters

Save Cancel