Domain 2: Collaborating Within and Across Teams to Manage Data and Models (Part 2 of 2)
This lesson covers 4 exam topics: Prototyping in Notebooks, Experiments and Experiment Tracking, Evaluating Predictive and Gen AI Models, Artifacts, Versions and Lineage. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.
1. Prototyping in Notebooks
Central question: How do you prototype models in notebooks?
Facts (general practice, Google Cloud products verified)
- Workbench and Colab Enterprise support common frameworks such as PyTorch, scikit-learn, TensorFlow and JAX.
- Model Garden foundation and open models can be called or deployed from notebooks to build prototypes quickly.
- Prototype on a sample, track runs with Experiments, then move the code into training jobs and pipelines for scale.
Exam traps
- Training the production model in a notebook. Move to custom training jobs and pipelines.
- Prototyping on all the data. Start on a sample.
2. Experiments and Experiment Tracking
Central question: Where should experiments run and be tracked?
Facts
- Agent Platform Experiments tracks steps, inputs (algorithm, parameters, datasets) and outputs (models, checkpoints, metrics) of experiment runs and compares them; runs incur no extra charge (Experiments introduction).
- Agent Platform Pipelines runs ML workflows defined with Kubeflow Pipelines (KFP) or TensorFlow Extended (TFX) serverlessly; pipeline runs can be added to experiments (Pipelines introduction).
- Kubeflow Pipelines on GKE is the self-managed option when a team needs to run KFP itself.
- TensorBoard integrates for training visualization and profiling.
Exam traps
- Spreadsheets of hyperparameters. Use Experiments.
- Running KFP on GKE when serverless Pipelines meets the need. More to operate.
3. Evaluating Predictive and Gen AI Models
Central question: How do you evaluate predictive and gen AI models?
Facts
| Task | Metrics |
|---|---|
| Classification | Precision, recall, F1, AUC ROC / AUC PR, confusion matrix, log loss |
| Regression | MAE, RMSE, R-squared |
| Forecasting | MAE, RMSE, MAPE, WAPE |
| Gen AI | Adaptive or static rubrics (LLM-as-a-judge), computation metrics (ROUGE, BLEU) with ground truth, custom functions |
- Agent Platform model evaluation computes metrics for trained models and can run as part of pipelines (model evaluation introduction).
- The Gen AI evaluation service uses adaptive rubrics (recommended), static rubrics, computation-based metrics and custom functions; judge models can be configured (evaluation overview).
- Choose metrics by business cost: favor recall when missing a positive is costly (fraud, disease), precision when false alarms are costly.
Exam traps
- Accuracy on imbalanced data. Use precision, recall, F1 or AUC PR.
- BLEU for open-ended answers without references. Use rubric-based LLM-as-a-judge.
4. Artifacts, Versions and Lineage
Central question: How do you track artifacts, versions and lineage?
Facts
- Agent Platform ML Metadata records a graph: artifacts and executions are nodes, events link them as inputs or outputs, and contexts group them; it builds on the open-source ML Metadata (MLMD) library from TFX (ML Metadata introduction).
- Lineage answers what data and parameters produced a model and where a dataset was used, supporting debugging, reruns and governance audits.
- Pipelines record lineage automatically; Experiments tracks runs; Model Registry tracks versions.
Exam traps
- Naming files with dates to track lineage. Use ML Metadata.
- Confusing Model Registry versions with lineage. Registry versions models; Metadata records how they were made.
References
- PMLE exam guide — checked Oct 26, 2026
- Choose a training method — checked Oct 26, 2026
- Experiments introduction — checked Oct 26, 2026
- Pipelines introduction — checked Oct 26, 2026
- Model evaluation — checked Oct 26, 2026
- Gen AI evaluation service — checked Oct 26, 2026
- ML Metadata introduction — checked Oct 26, 2026
Check your understanding
From notebook to repeatable training?Show answerHide answer
Answer
Custom training job / pipeline.Compare runs' parameters and metrics?Show answerHide answer
Answer
Experiments.1% fraud rate, metric?Show answerHide answer
Answer
Recall / AUC PR, not accuracy.Which dataset trained model v7?Show answerHide answer
Answer
ML Metadata lineage.Try an open model quickly?Show answerHide answer
Answer
Model Garden from the notebook.