Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Google Cloud · Professional Machine Learning Engineer

Training on Agent Platform

Professional Machine Learning Engineer · Lesson 9 of 19 · 1:07:15

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Prepare for the Google Cloud Professional Machine Learning Engineer exam, on the official exam guide. In this lesson: organizing training data (BigQuery, Cloud Storage, NFS shares, managed datasets), Cloud Storage FUSE, serverless training with prebuilt or custom containers from Artifact Registry, training clusters, Tabular Workflows, Kubeflow on GKE, and Ray on Agent Platform. Includes three original practice questions, with Cymbal Insurance, a fictional car and home insurer, as the example.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

Beyond the notebook

Cymbal Insurance's damage severity model has outgrown its notebook. It now learns from three hundred thousand photos, adjusters' voice notes, and policy tables. And it must retrain on GPUs every week, without anyone's laptop involved.

Organizing training data

Structured data, like policy and claim tables, belongs in BigQuery. Unstructured data, like text documents, speech recordings, images, and video, belongs in Cloud Storage, and very large file sets can also sit on NFS shares, with Filestore or NetApp Volumes. A managed dataset links the files and their labels, with training, validation, and test splits. And the same managed dataset can train both an AutoML model and a custom model, so the two can be compared fairly.

Bringing data into training

Data from other systems lands first in BigQuery or Cloud Storage: Dataflow transforms it on the way, BigQuery Data Transfer Service schedules loads from other applications, and Storage Transfer Service copies files from other clouds. Inside the training code, structured data comes straight from BigQuery tables. Files come from Cloud Storage through Cloud Storage FUSE, which mounts buckets under a slash G C S folder, so the code opens them like local files. And checkpoints and trained models go back to Cloud Storage.

Serverless training

Agent Platform serverless training runs your own code in a container. A prebuilt container covers TensorFlow or PyTorch, while a custom container, stored in Artifact Registry, holds any framework and any dependency, including newer scikit-learn or XGBoost versions, whose prebuilt images no longer get updates. You submit a custom job with the machine type, the accelerators, and the disk, and Google Cloud provisions the resources, runs the job, and releases them, so you pay only while it runs. A training pipeline can also start from a managed dataset, and upload the result to Model Registry. And for long, large jobs that need assured capacity, training clusters reserve the hardware.

Other ways to train

Other options fit other teams. AutoML trains with no code, as seen in lesson two. Tabular Workflows are managed pipelines for tabular data, built on Agent Platform Pipelines, and the End-to-End AutoML workflow lets you control each step, its hardware, and its logs. Kubeflow on GKE suits a team that already runs Kubernetes and wants full control, but that team then manages the cluster. And Ray on Agent Platform runs existing Ray code with few changes, for distributed work.

Recap

Let's recap. Structured data goes in BigQuery, and text, speech, images, and video go in Cloud Storage or on NFS shares, with managed datasets for labels and splits. Data from other systems lands first through Dataflow or transfer services, and Cloud Storage FUSE lets code open bucket files like local files. Serverless training runs prebuilt or custom containers, from Artifact Registry, and you pay only while the job runs. Training clusters reserve capacity for large jobs. And Tabular Workflows, Kubeflow on GKE, and Ray give other levels of control.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. Training code written for local files must now train on two million photos in a Cloud Storage bucket, with as few code changes as possible. What should the team do?

    • Copy all the photos to the job's disk first
    • Read them through Cloud Storage FUSE under /gcs/
    • Load the photo files into a BigQuery table
    • Rewrite the data loader for the Storage API
    Show the answer

    Read them through Cloud Storage FUSE under /gcs/

    Cloud Storage FUSE mounts the bucket under the slash G C S folder, so the code keeps opening files by path. “Copy all the photos to the job's disk first” would copy two million photos onto one disk before every run. “Load the photo files into a BigQuery table” would push photo files into a warehouse table that the code cannot open as files. And “Rewrite the data loader for the Storage API” would mean rewriting the training code, which the team wants to avoid.

  2. The training code needs a specific GPU library and an in-house package, and neither one is in the prebuilt images. How should the team run it on Agent Platform?

    • A prebuilt PyTorch container, as it is
    • AutoML with the same training data
    • Each data scientist's laptop GPU
    • A custom container in Artifact Registry
    Show the answer

    A custom container in Artifact Registry

    A custom container in Artifact Registry holds the library and the package, and serverless training runs it as is. “A prebuilt PyTorch container, as it is” would lack the library and the package, which are not in those images. “AutoML with the same training data” is codeless, and cannot run the team's own training code. And “Each data scientist's laptop GPU” would bring back the laptops, with no GPUs to share.

  3. The pricing team likes AutoML for tabular data, but it needs to choose the hardware of each step, and to inspect each step's logs. What should it use?

    • The End-to-End AutoML tabular workflow
    • Standard AutoML with a bigger budget
    • Kubeflow on a new GKE cluster
    • BigQuery ML linear models
    Show the answer

    The End-to-End AutoML tabular workflow

    The End-to-End AutoML tabular workflow keeps AutoML's modeling, and exposes each step, with its hardware and its logs. “Standard AutoML with a bigger budget” would hide the steps behind one setting, the training budget. “Kubeflow on a new GKE cluster” would mean building and running a whole cluster to get those controls. And “BigQuery ML linear models” would replace AutoML with handwritten SQL models.