Skip to content
Google Cloud Certified Professional Machine Learning Engineer (PMLE) Exam Prep

Lesson 5 of 10 · 16 min

x
5/10

Domain 3: Scaling Prototypes into ML Models (Part 1 of 2)

This lesson covers 5 exam topics: Choosing the Model Type and Product, Deployment Strategy and Interpretability, Organizing and Ingesting Training Data, Custom Training on Agent Platform, Troubleshooting Training Failures. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.

1. Choosing the Model Type and Product

Video lesson: PMLE 16/38: Choosing the Model Type and Product

Central question: Which model type and which Google Cloud product fit the task?

Facts

NeedModel typeProduct
Time series with trend and seasonality, in SQLARIMA_PLUSBigQuery ML
Tabular prediction, minimal ML skillClassification / regressionAutoML (tabular)
Complex patterns, unstructured inputs, custom lossDNNCustom training
Language and multimodal generationLLMGemini / Model Garden, tuning
Repeatable multi-step workflowAnyAgent Platform Pipelines
  • Training choices range from AutoML (minimal effort) and BigQuery ML (SQL) to custom training (full control) and Ray (distributed Python) (choose a training method).
  • Trade-offs: simpler models are cheaper, faster and easier to explain; complex models may be more accurate but cost more to train and serve.

Exam traps

  • DNN for 5,000 tabular rows. A simpler model or AutoML usually fits.
  • Custom training when BigQuery ML meets the need in SQL.

2. Deployment Strategy and Interpretability

Video lesson: PMLE 17/38: Deployment Strategy and Interpretability

Central question: How do deployment and interpretability requirements shape the model?

Facts

  • Deployment strategy follows latency and volume: online endpoints for real-time requests, batch inference for scheduled scoring, edge for offline or on-device use.
  • Interpretability: if regulators or users need explanations, prefer interpretable models (linear, tree-based) or add feature attributions.
  • Agent Platform Explainable AI methods: Sampled Shapley (tabular, non-differentiable models), Integrated Gradients (differentiable models), XRAI (image regions; best for natural images, use Integrated Gradients for lab or x-ray images) (ExplanationSpec reference).

Exam traps

  • Deep model with no explanations for credit decisions. Choose interpretable models or attributions.
  • XRAI for x-ray images. Use Integrated Gradients for non-natural images.

3. Organizing and Ingesting Training Data

Video lesson: PMLE 18/38: Organizing and Ingesting Training Data

Central question: How should training data be organized and ingested?

Facts (general practice, Google Cloud products verified)

  • Structured data in BigQuery; unstructured (images, audio, video, text files) in Cloud Storage; training jobs read from both.
  • Use efficient formats for large training sets (for example TFRecord, Parquet, sharded files) and keep data in the same region as training.
  • Custom training can mount Cloud Storage as a file system (Cloud Storage FUSE) or an NFS share for large datasets.

Exam traps

  • Cross-region data reads during training. Co-locate data and training.
  • One giant CSV. Shard files for parallel reads.

4. Custom Training on Agent Platform

Video lesson: PMLE 19/38: Custom Training on Agent Platform

Central question: How do you run custom training on Google Cloud?

Facts

  • Custom training gives complete control: any algorithm, loss or metric, from single-node to multi-node distributed jobs (choose a training method).
  • Package code with a prebuilt training container (TensorFlow, PyTorch, scikit-learn, XGBoost) or a custom container with your own dependencies (containers overview).
  • Serverless training provisions and releases resources per job; training clusters reserve dedicated capacity (for example A100 or H100 GPUs) for large, long-running jobs.
  • Other options: Kubeflow on GKE (self-managed), Ray on Agent Platform, and Tabular Workflows (managed AutoML pipelines with more control).

Exam traps

  • Custom container when a prebuilt container already has the framework. More to maintain.
  • Serverless training for a months-long job that needs guaranteed GPUs. Use training clusters or reservations.

5. Troubleshooting Training Failures

Video lesson: PMLE 20/38: Troubleshooting Training Failures

Central question: How do you troubleshoot training failures?

Facts (general practice, Google Cloud tools verified)

SymptomLikely cause and fix
Out of memory (OOM)Reduce batch size, use larger memory or more accelerators, gradient accumulation
Loss is NaN or explodesLower learning rate, gradient clipping, check input scaling and bad values
Training loss low, validation loss highOverfitting: regularization, dropout, more data, early stopping
Both losses highUnderfitting: bigger model, better features, longer training
Job fails to startQuota, permissions (service account), container or region issues
Slow trainingInput pipeline bottleneck; profile with TensorBoard Profiler
  • Check job logs in Cloud Logging, use TensorBoard and the TensorBoard Profiler for performance, and an interactive shell to debug a running container.

Exam traps

  • Adding GPUs when the input pipeline is the bottleneck. Profile first.
  • More epochs to fix overfitting. That makes it worse.

References

  1. PMLE exam guide — checked Oct 26, 2026
  2. Choose a training method — checked Oct 26, 2026
  3. ExplanationSpec reference — checked Oct 26, 2026
  4. Feature attributions for classification and regression — checked Oct 26, 2026
  5. Data preparation overview — checked Oct 26, 2026
  6. Containers overview — checked Oct 26, 2026
  7. Tabular Workflows — checked Oct 26, 2026
  8. TensorBoard Profiler — checked Oct 26, 2026

Check your understanding

  • Forecast inside the warehouse?Show answer

    Answer

    ARIMA_PLUS in BigQuery ML.
  • Explain a boosted-tree tabular model?Show answer

    Answer

    Sampled Shapley.
  • Where do training images live?Show answer

    Answer

    Cloud Storage.
  • PyTorch with a niche C++ library?Show answer

    Answer

    Custom container.
  • Validation loss rising while training loss falls?Show answer

    Answer

    Overfitting.
Previous

Progress is saved in this browser.

Next Lesson