Domain 2: Collaborating Within and Across Teams to Manage Data and Models (Part 1 of 2)
This lesson covers 5 exam topics: Organizing and Exploring ML Data, Choosing a Preprocessing Tool, Feature Store, Data Privacy and PII, Notebooks: Workbench and Colab Enterprise. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.
1. Organizing and Exploring ML Data
Central question: How should different data types be organized for experiments, training and serving?
Facts (general practice, Google Cloud products verified)
- Tabular data usually lives in BigQuery; images, audio, video and documents in Cloud Storage, referenced by URIs in tables or manifest files.
- Agent Platform managed datasets organize data, labels and splits for AutoML and custom training (data preparation overview).
- Split data into training, validation and test sets; for time series split by time to avoid leakage.
- Explore distributions, missing values and class balance before training; BigQuery ML.FEATURE_INFO gives quick statistics.
Exam traps
- Random split for time series. Leaks the future; split by time.
- Copying images into BigQuery. Keep files in Cloud Storage and reference them.
2. Choosing a Preprocessing Tool
Central question: Which preprocessing tool fits the scale and complexity?
Facts (general practice, Google Cloud products verified)
| Tool | Best for |
|---|---|
| BigQuery (SQL) | Large structured data already in BigQuery; joins, aggregations, feature SQL |
| Dataflow (Apache Beam) | Large-scale batch and streaming pipelines; same code for both; serverless autoscaling |
| Apache Spark (Dataproc, Serverless for Apache Spark) | Existing Spark jobs and libraries, large distributed processing |
| In-memory Python (pandas, scikit-learn) | Data that fits on one machine; quick exploration in notebooks |
- Choose by data size, batch vs streaming, existing code and team skills; prefer serverless options to reduce operations.
- Dataflow is the choice when the same transformation must run on streaming data in production.
Exam traps
- pandas on 2 TB. Use BigQuery or Dataflow.
- Rewriting working Spark jobs when Dataproc or Serverless for Apache Spark can run them.
3. Feature Store
Central question: How does Agent Platform Feature Store manage and serve features?
Facts
- Feature Store is a managed, cloud-native feature store that uses BigQuery tables or views as the offline store; it serves the latest feature values online directly from BigQuery data sources (Feature Store overview).
- Setup: prepare data in BigQuery (each column a feature, each row an ID), optionally register feature groups and features (Feature Registry), create an online store and feature views, then serve.
- Online serving types: Bigtable online serving for large volumes (terabytes) with scheduled or continuous sync; optimized online serving is deprecated; for embeddings use Vector Search (online serving types).
- Shared, consistent feature definitions across teams reduce duplicate work and training-serving skew.
Exam traps
- A separate offline store in Agent Platform. BigQuery is the offline store.
- Choosing optimized online serving for a new project. It's deprecated; use Bigtable online serving.
4. Data Privacy and PII
Central question: How do you protect PII in ML data?
Facts
- Sensitive Data Protection discovers, classifies and de-identifies sensitive data (for example masking, tokenization, bucketing) across Cloud Storage, BigQuery and more (Sensitive Data Protection overview).
- Use least-privilege IAM, VPC Service Controls perimeters and CMEK for training data and models.
- Minimize data: drop identifiers not needed as features; pseudonymized data is still personal data.
Design guidance
- De-identify before data reaches notebooks or prompts; keep raw PII in a restricted project.
- For gen AI, also screen prompts and responses with Model Armor.
Exam traps
- Training on raw PII 'because the model needs it'. Remove or tokenize identifiers that aren't predictive.
- Relying on notebook access controls alone. De-identify the data itself.
5. Notebooks: Workbench and Colab Enterprise
Central question: Which notebook environment fits, and how do you secure it?
Facts
| Agent Platform Workbench | Colab Enterprise | |
|---|---|---|
| What | Jupyter-based instances you configure (CPU or GPU) | Managed, collaborative notebooks; runtimes provisioned on demand |
| Strengths | Prepackaged frameworks, Git sync, full control of the VM | Sharing through IAM, templates, little infrastructure to manage |
- Workbench instances are Jupyter notebook development environments, prepackaged with frameworks, CPU-only or GPU-enabled (Workbench introduction).
- Colab Enterprise notebooks are shared with users or groups through IAM, and runtimes can use runtime templates (Colab Enterprise introduction).
- Security practices: dedicated service accounts with least privilege, no public IPs, VPC Service Controls, CMEK, no secrets in notebooks (use Secret Manager), idle shutdown.
Exam traps
- Sharing a notebook by copying files around. Share through IAM in Colab Enterprise.
- Default service account with broad roles. Use a custom least-privilege account.
References
- PMLE exam guide — checked Oct 26, 2026
- Data preparation overview — checked Oct 26, 2026
- Feature Store overview — checked Oct 26, 2026
- Online serving types — checked Oct 26, 2026
- Sensitive Data Protection overview — checked Oct 26, 2026
- Workbench introduction — checked Oct 26, 2026
- Colab Enterprise introduction — checked Oct 26, 2026
Check your understanding
Where do images live?Show answerHide answer
Answer
Cloud Storage.Streaming feature computation?Show answerHide answer
Answer
Dataflow.Offline store location?Show answerHide answer
Answer
BigQuery.Find and mask PII in BigQuery?Show answerHide answer
Answer
Sensitive Data Protection.Collaborative notebook with no VM management?Show answerHide answer
Answer
Colab Enterprise.