CertPrepNow
Google CloudGCP-PMLE6 domains

GCP-PMLE Exam Notes

Last-minute traps, must-know facts, and scenario tips for the Google Professional Machine Learning Engineer exam.

General Exam Tips

  • 1.Every question has a 'best' answer among several technically valid options — identify the ONE constraint that eliminates the others (latency, budget, team skill set, data location, or 'no labeled data') before picking your answer
  • 2.When a scenario says the team 'knows SQL' or the data is 'already in BigQuery,' that is the exam's signal to choose BigQuery ML over custom training, even if custom training could also work
  • 3.When a scenario says 'no labeled data' or 'general purpose,' that is the signal for a pre-built API. When it says 'we have labeled data but limited ML expertise,' that is the signal for AutoML. Do not swap these two
  • 4.Vertex AI Pipelines (Kubeflow) is almost always the right orchestrator for ML workflows on this exam. Cloud Composer/Airflow is a distractor unless the question explicitly mentions existing Airflow DAGs or non-ML orchestration
  • 5.Domain 3 (Scaling Prototypes, 21%) and Domain 4 (Serving and Scaling Models, 20%) together are 41% of the exam — budget your study time accordingly and do not neglect distributed training and prediction-serving mechanics
  • 6.Latency language in a question ('real-time', 'sub-100ms', 'immediate') always points to online prediction via Vertex AI Endpoints. Throughput/cost language ('50 million records nightly', 'periodic scoring') always points to batch prediction
  • 7.Autoscaling on Vertex AI Endpoints is REACTIVE — it cannot instantly absorb a sudden spike. If the question describes a predictable traffic surge (flash sale, product launch), the correct answer is pre-scaling or setting a higher minimum replica count, not just 'enable autoscaling'
  • 8.Data drift vs concept drift is tested repeatedly: unchanged input distribution + falling accuracy = concept drift (relationship changed). Changed input distribution = data drift. Both may trigger retraining but for different diagnostic reasons
  • 9.TPUs are tied to TensorFlow/JAX. If a question mentions PyTorch or custom CUDA kernels, the accelerator answer is GPU, never TPU, regardless of scale
  • 10.The exam was updated October 2024 to add generative AI (Model Garden, Agent Builder, RAG). These questions are a minority — do not let them crowd out study time for pipelines, serving, and monitoring which still dominate
Domain 121% of exam

Scaling Prototypes into ML Models

Must-Know Facts

  • Data parallelism replicates the FULL model on every worker and splits the data — use it when the model fits on one device but training is slow. Model parallelism splits the MODEL itself across devices — use it only when the model does not fit in a single device's memory
  • TPUs are optimized for large-scale TensorFlow and JAX workloads with massive batch sizes. GPUs are the general-purpose choice and are required for PyTorch or custom CUDA operations
  • Vertex AI Vizier performs hyperparameter tuning using BAYESIAN OPTIMIZATION by default — it is more sample-efficient than grid search (exhaustive, expensive) or random search (faster than grid but less efficient than Bayesian)
  • Transfer learning means starting from a PRE-TRAINED model and fine-tuning on your smaller domain-specific dataset. It is not training from scratch, and it reduces both data and compute requirements
  • A large gap between training accuracy and validation accuracy (e.g., 98% vs 72%) is the classic signature of OVERFITTING = high variance. Fix with regularization (L1/L2), dropout, more data, or a simpler model — never with more epochs or more layers
  • Low accuracy on BOTH training and validation sets is UNDERFITTING = high bias. Fix by increasing model complexity, adding features, or training longer — the opposite remedy from overfitting
  • Framework selection: TensorFlow for production pipelines with the TFX ecosystem, PyTorch for research flexibility and dynamic graphs, scikit-learn for classical ML on small tabular data, XGBoost/boosted trees for structured tabular problems
  • Model explainability methods differ by data type: Shapley values work generically across tabular/structured data, XRAI is optimized for image region-based attribution, integrated gradients work well for differentiable models including images and text
  • Vertex AI Experiments tracks metrics, parameters, and artifacts ACROSS TRAINING RUNS for comparison — it is a research/prototyping tool, not a production traffic-splitting mechanism
  • Evaluation metric selection must match the business framing: precision/recall/F1/AUC-ROC for classification, RMSE/MAE/R-squared for regression — a question stating 'costly false negatives' always points to maximizing recall

Common Traps

TrapChoosing data parallelism when the question says the model does not fit in a single GPU's memory
RealityData parallelism replicates the entire model on every device — if the model itself does not fit, replicating it does not help. Model parallelism, which shards the model across devices, is the correct answer whenever memory (not just speed) is the bottleneck
TrapPicking TPU because the workload is 'large-scale' without checking the framework
RealityTPUs are tied to TensorFlow and JAX. If the scenario mentions PyTorch, custom CUDA kernels, or framework flexibility, GPUs are correct regardless of scale. Framework compatibility overrides raw throughput in this decision
TrapResponding to an overfitting scenario (train 98%, validation 72%) with 'add more layers' or 'train longer'
RealityBoth increase model capacity, which worsens overfitting. The fix is regularization (L1/L2), dropout, early stopping, data augmentation, or simplifying the architecture — techniques that constrain capacity, not expand it
TrapTreating grid search as the default or 'safest' hyperparameter tuning method because it is exhaustive
RealityGrid search is computationally expensive and scales poorly with the number of hyperparameters. Vertex AI Vizier's Bayesian optimization is the preferred, exam-favored answer because it uses prior trial results to intelligently narrow the search space
TrapDescribing transfer learning as 'retraining from scratch with a bigger dataset'
RealityTransfer learning explicitly starts from a pre-trained model's learned weights and fine-tunes only some layers on new, typically smaller, domain-specific data. It exists specifically to reduce data and compute needs compared to training from scratch
TrapUsing Vertex AI Experiments when the question is actually asking about production canary rollout or A/B testing
RealityVertex AI Experiments compares training runs during development. Production traffic routing between model versions is handled by TRAFFIC SPLITTING on Vertex AI Endpoints — a Domain 4 concept, not Domain 3

Confusing Pairs

Data ParallelismModel Parallelism

Data parallelism: full model copied to each worker, data batches split across workers, results aggregated — use when training speed is the bottleneck and the model fits on one device. Model parallelism: the model itself is sharded across devices — use ONLY when the model is too large to fit in a single device's memory. Data parallelism is far more common and simpler to implement

GPUTPU

GPU: general-purpose accelerator, required for PyTorch and custom CUDA ops, broad framework support. TPU: Google-designed, optimized specifically for large-scale TensorFlow/JAX with massive batch sizes and maximum throughput. If the framework is not TensorFlow or JAX, default to GPU no matter how large the workload

OverfittingUnderfitting

Overfitting: high training accuracy, much lower validation accuracy — high variance, model memorized noise. Fix: regularize, simplify, add data. Underfitting: low accuracy on both sets — high bias, model too simple. Fix: increase complexity, add features, train longer. The exam gives you both numbers — compare them before answering

Grid SearchRandom SearchBayesian Optimization (Vertex AI Vizier)

Grid search: exhaustive, tests every combination, most expensive. Random search: samples combinations randomly, faster than grid but not adaptive. Bayesian optimization (Vizier default): uses results of prior trials to choose the next configuration intelligently, minimizing total trials needed. When the question asks for 'efficient' or 'minimize training runs,' the answer is Vizier/Bayesian optimization

Vertex AI ExperimentsVertex AI Vizier

Experiments: tracks and COMPARES results across runs you already executed (metrics, params, artifacts) — a record-keeping and comparison tool. Vizier: actively SEARCHES the hyperparameter space and proposes new trials to run — an optimization engine. Experiments looks backward; Vizier looks forward

Scenario Tips

If the question asks about:

A team is training a very large TensorFlow language model and it does not fit in the memory of a single GPU...

Answer:

Use model parallelism to shard the model itself across multiple devices. Since the framework is TensorFlow at massive scale, TPUs with model parallelism are a strong combined answer if both are offered

Distractor to avoid:

Data parallelism replicates the whole model per device and will not solve a memory-fit problem. Quantization may help but sacrifices model quality and is not the primary fix for a training-time memory constraint

If the question asks about:

A model scores 98% on training data and 72% on validation data...

Answer:

This is overfitting. Apply L2 regularization and/or dropout, or reduce model complexity

Distractor to avoid:

More epochs, more layers, or a higher learning rate all increase capacity or training intensity, which worsens the train/validation gap rather than closing it

If the question asks about:

An engineer needs to find optimal learning rate, batch size, and layer count while minimizing the number of training runs...

Answer:

Use Vertex AI Vizier, which applies Bayesian optimization to intelligently select the next hyperparameter configuration based on prior results

Distractor to avoid:

Grid search guarantees coverage but is the most expensive option. Manual tuning is inconsistent and unscalable. Random search is a middle ground but less efficient than Vizier's Bayesian approach

If the question asks about:

A stakeholder asks why the model denied a specific loan applicant, and the model is a boosted tree trained on structured tabular data...

Answer:

Use Shapley values via Vertex AI Explainability to attribute the individual prediction to specific input features

Distractor to avoid:

XRAI is optimized for image region attribution, not tabular data. Model Monitoring tracks drift over time, not individual prediction explanations

Last-Minute Facts

1Data parallelism = split DATA, replicate model. Model parallelism = split MODEL, use only when model does not fit on one device
2TPU = TensorFlow/JAX only. PyTorch or custom CUDA = GPU, regardless of scale
3Overfitting = train >> validation accuracy = high variance = regularize/simplify. Underfitting = both low = high bias = add complexity
4Vertex AI Vizier = Bayesian optimization by default, more efficient than grid or random search
5Transfer learning = fine-tune a PRE-TRAINED model on new data, not training from scratch
6Vertex AI Experiments = compares completed training runs. Vizier = actively searches for the next hyperparameter config
7Shapley values = tabular feature attribution. XRAI = image region attribution. Integrated gradients = differentiable models generally
Domain 220% of exam

Serving and Scaling Models

Must-Know Facts

  • Online prediction via Vertex AI Endpoints is for real-time, low-latency, user-facing inference (fraud scoring, chatbots, recommendations at request time) and supports autoscaling and traffic splitting
  • Batch prediction has NO persistent endpoint — it spins up compute, processes a large dataset, writes results, and shuts down, making it the cost-effective choice whenever latency is not a constraint
  • Autoscaling on Vertex AI Endpoints is REACTIVE, not predictive. It reacts to observed load after the fact and cannot instantly absorb a sudden spike. For known future spikes (product launch, sale), pre-scale by raising the minimum replica count ahead of time
  • Traffic splitting on Vertex AI Endpoints routes a configurable percentage of production requests to each deployed model version, enabling canary releases and gradual rollouts — this is DIFFERENT from Vertex AI Experiments, which only tracks training runs
  • Model optimization for serving has three distinct techniques: quantization (reduces numeric precision to shrink size/latency, may reduce accuracy), pruning (removes unnecessary weights/connections), and distillation (trains a smaller 'student' model to mimic a larger 'teacher')
  • Serving infrastructure choices: Vertex AI Endpoints is the managed, exam-preferred option for ML-specific serving; Cloud Run is valid for containerized custom serving logic; GKE is used when you need full Kubernetes control — Vertex AI Endpoints wins by default on this exam unless the scenario explicitly requires custom infrastructure
  • Cost optimization for batch workloads includes preemptible/Spot VMs (since jobs are not latency-sensitive and can tolerate interruption) and right-sizing machine types instead of always choosing the largest instance
  • Model Registry manages VERSIONING and governance metadata for models — the underlying model binary artifact can live in Cloud Storage. Registry is a governance layer, not a storage location itself

Common Traps

TrapRecommending 'just enable autoscaling' for a scenario describing a predictable, sudden traffic spike (e.g., a flash sale starting at a known time)
RealityAutoscaling reacts to load that has already arrived — there is a ramp-up delay while new replicas spin up. For predictable spikes, the correct answer is to pre-scale by increasing minimum replica count or capacity ahead of the event, not relying on reactive autoscaling alone
TrapChoosing an online Vertex AI Endpoint for a nightly batch scoring job on 50 million records where latency does not matter
RealityMaintaining a persistent online endpoint for periodic bulk scoring wastes money on idle capacity. Batch prediction spins resources up only when needed and shuts down afterward — it is the cost-optimal choice whenever latency is not a stated requirement
TrapConfusing traffic splitting on Endpoints with Vertex AI Experiments when a question describes a gradual production rollout of a new model version
RealityTraffic splitting operates on LIVE production traffic across deployed endpoint versions. Experiments only tracks offline training run metadata and cannot route real user requests. If the scenario mentions 'production traffic' or 'canary,' the answer must reference Endpoints traffic splitting
TrapAssuming quantization is a free win with no downside
RealityQuantization reduces model size and inference latency by lowering numeric precision, but it CAN reduce prediction accuracy. The exam tests whether you recognize this trade-off rather than treating optimization techniques as strictly beneficial
TrapDefaulting to Cloud Run or GKE for any model-serving question because they sound more 'production-grade'
RealityVertex AI Endpoints is the Google-recommended, managed serving layer purpose-built for ML models with autoscaling, traffic splitting, and monitoring built in. Cloud Run/GKE are correct only when the scenario explicitly requires custom container orchestration beyond what Endpoints offers

Confusing Pairs

Online Prediction (Vertex AI Endpoints)Batch Prediction

Online: persistent endpoint, real-time low-latency responses, autoscaling, costs money while idle. Batch: no persistent endpoint, spins up/down per job, high throughput, no latency guarantee, cost-efficient for periodic large-scale scoring. The question's latency requirement is always the deciding signal

Traffic Splitting (Endpoints)Vertex AI Experiments

Traffic splitting: routes a percentage of LIVE production requests between deployed model versions for canary/A-B rollout. Experiments: tracks and compares training run metrics/parameters offline, before deployment. One operates on production traffic; the other operates on training history

QuantizationPruningDistillation

Quantization: reduces numeric precision (e.g., float32 to int8) to shrink size and speed inference, may cost accuracy. Pruning: removes low-importance weights/connections from an already-trained model. Distillation: trains an entirely new smaller model to mimic a larger teacher model's outputs. All three trade some fidelity for serving efficiency, but via different mechanisms

Vertex AI Model RegistryCloud Storage (model artifacts)

Model Registry: governance layer for VERSIONING, metadata, lineage, and lifecycle management of models. Cloud Storage: the actual physical location where model binaries/artifacts are stored. Registry references and organizes artifacts; it does not replace the storage layer underneath

Scenario Tips

If the question asks about:

A fraud detection model must score transactions with sub-100ms latency and traffic varies 100x throughout the day...

Answer:

Deploy to a Vertex AI Endpoint with autoscaling configured to handle the variable load in real time

Distractor to avoid:

Batch prediction cannot meet a sub-100ms real-time requirement — it processes data periodically, not per-request

If the question asks about:

A company knows a major marketing campaign will drive a 10x traffic spike starting at 9am tomorrow...

Answer:

Pre-scale the endpoint by raising the minimum replica count ahead of the known spike, in addition to keeping autoscaling enabled for anything beyond the forecast

Distractor to avoid:

Relying solely on autoscaling risks a lag during the ramp-up window right when the spike begins, since autoscaling is reactive

If the question asks about:

50 million customer records must be scored nightly with no latency requirement, and cost must be minimized...

Answer:

Use Vertex AI Batch Prediction, which provisions compute only for the job duration and shuts down afterward

Distractor to avoid:

A persistent online endpoint (with or without autoscaling) would incur unnecessary idle cost for a workload that has no real-time requirement

If the question asks about:

An engineer wants to gradually shift production traffic from an old model version to a new one while monitoring live performance...

Answer:

Configure traffic splitting on the Vertex AI Endpoint to route a percentage of requests to each version

Distractor to avoid:

Vertex AI Experiments only compares offline training runs — it has no mechanism to route live production requests

Last-Minute Facts

1Online prediction = real-time, low latency, persistent endpoint. Batch prediction = periodic, high throughput, no persistent endpoint
2Autoscaling is REACTIVE — pre-scale minimum replicas ahead of known/predictable spikes
3Traffic splitting (Endpoints, production) is NOT Vertex AI Experiments (training-time comparison)
4Quantization, pruning, distillation all trade some accuracy/fidelity for smaller/faster serving
5Vertex AI Endpoints is the exam-preferred managed serving layer over Cloud Run/GKE unless custom infra is explicitly required
6Model Registry = versioning/governance metadata; Cloud Storage = where the binary artifact actually lives
Domain 318% of exam

Automating and Orchestrating ML Pipelines

Must-Know Facts

  • Vertex AI Pipelines (built on Kubeflow Pipelines) is the near-universal correct orchestrator for ML workflows on this exam — component definition, parameter passing, and DAG structure are all built on the Kubeflow Pipelines SDK
  • Pipeline components must be DECOUPLED, independently testable, and containerized. A scenario describing tightly-coupled steps (e.g., preprocessing directly calling the training function) signals that the fix is refactoring into separate containerized components with defined interfaces
  • CI/CD for ML extends beyond code testing — it includes DATA VALIDATION, model evaluation against a threshold, and staged/gated deployment as pipeline stages, not just unit tests
  • Cloud Build handles the CI/CD build-test-deploy mechanics; Vertex AI Pipelines handles the ML-specific workflow orchestration. These two services are typically paired, not substituted for one another
  • Automated retraining triggers can be schedule-based (fixed cron), data-driven (new data arrival), or monitoring-driven (drift/performance threshold exceeded). When a question specifies drift-based triggering, a fixed schedule is the wrong answer even if it 'sounds automated'
  • Vertex AI Model Monitoring can detect drift and publish an event (e.g., via Pub/Sub) that triggers a Vertex AI Pipeline run for retraining — this is the standard drift-triggered retraining architecture
  • Artifact management (training data, model binaries, evaluation metrics, pipeline outputs) is handled through Artifact Registry (containers/packages) and Cloud Storage (data/model files), with metadata and lineage tracked via Vertex AI Metadata
  • A/B testing and canary deployment in production is a traffic-splitting concern on Endpoints (Domain 4), while champion/challenger evaluation logic can be embedded as an automated pipeline stage that gates promotion of a new model

Common Traps

TrapChoosing Cloud Composer/Airflow as the orchestrator for an ML training-and-deployment workflow
RealityVertex AI Pipelines (Kubeflow) is purpose-built for ML workflows and is the Google-recommended, exam-favored answer. Cloud Composer is correct only when the scenario explicitly references existing Airflow DAGs or orchestration that spans non-ML systems
TrapTreating scheduled/cron retraining as always the 'automated' correct answer
RealityIf the scenario specifically describes triggering retraining based on detected DATA DRIFT (not a calendar), the correct architecture is monitoring-triggered (e.g., Model Monitoring plus Pub/Sub plus Pipelines), not a fixed schedule
TrapLeaving tightly coupled preprocessing and training logic as-is and adding a feature flag or a second parallel pipeline to handle changes
RealityThe best-practice fix for tightly coupled steps is to REFACTOR into separate, independently testable, containerized pipeline components with defined interfaces — not to patch around the coupling with flags or duplicate pipelines
TrapDescribing ML CI/CD as equivalent to standard software CI/CD (build, unit test, deploy)
RealityML CI/CD must additionally include data validation and model evaluation against a quality/performance threshold before deployment is allowed to proceed — these are ML-specific gates absent from typical software pipelines
TrapUsing Vertex AI Experiments to answer a question about production canary rollout inside a pipeline context
RealityEven within a pipeline/automation context, production A/B testing and canary rollout are executed via Endpoint traffic splitting, not Experiments, which remains scoped to offline training-run comparison

Confusing Pairs

Vertex AI Pipelines (Kubeflow)Cloud Composer (Airflow)

Vertex AI Pipelines: serverless, purpose-built for ML workflows, native integration with Vertex AI services, near-default correct answer for ML orchestration questions. Cloud Composer: managed Airflow for general-purpose, multi-system orchestration — correct only when existing Airflow infrastructure or non-ML orchestration needs are explicitly stated

Schedule-Triggered RetrainingDrift-Triggered Retraining

Schedule-triggered: fixed cadence (e.g., daily/weekly) regardless of whether performance has degraded — simple but can retrain unnecessarily or too late. Drift-triggered: Model Monitoring detects a threshold breach and fires an event (often via Pub/Sub) that launches a pipeline run — responds to actual model health rather than the calendar

Cloud Build (CI/CD mechanics)Vertex AI Pipelines (ML orchestration)

Cloud Build: builds, tests, and deploys code/containers as part of the CI/CD process. Vertex AI Pipelines: orchestrates the actual ML workflow steps (data prep, train, evaluate, deploy). A well-designed architecture uses Cloud Build to build/test pipeline components and Vertex AI Pipelines to run the ML workflow itself — they are complementary, not competing

Scenario Tips

If the question asks about:

A team wants the model to retrain automatically only when data drift exceeds a threshold, not on a fixed schedule...

Answer:

Use Vertex AI Model Monitoring to detect drift and publish an event via Pub/Sub that triggers a Vertex AI Pipelines run for retraining

Distractor to avoid:

A Cloud Scheduler cron job retrains on a fixed cadence regardless of actual model health, which does not satisfy a drift-based trigger requirement

If the question asks about:

A pipeline has preprocessing directly calling the training function, and a team member wants to update preprocessing without breaking training...

Answer:

Refactor preprocessing and training into separate containerized pipeline components with defined interfaces so each can be updated and tested independently

Distractor to avoid:

Feature flags, parallel pipelines, or single-artifact versioning all work around the coupling instead of resolving it at the architecture level

If the question asks about:

An ML engineer needs CI/CD infrastructure for a pipeline that includes data validation, training, evaluation, and deployment...

Answer:

Use Cloud Build for CI/CD mechanics (build, test, deploy triggers) paired with Vertex AI Pipelines for ML workflow orchestration

Distractor to avoid:

Cloud Composer is not a CI/CD tool, and generic tools like Jenkins/Cloud Functions are not the Google-native, exam-preferred combination for this workload

Last-Minute Facts

1Vertex AI Pipelines (Kubeflow) beats Cloud Composer (Airflow) as the ML orchestrator answer almost every time on this exam
2Drift-based retraining trigger = Model Monitoring + Pub/Sub + Pipelines, NOT a fixed cron schedule
3Tightly coupled pipeline steps = fix by refactoring into separate containerized, independently testable components
4ML CI/CD = code testing PLUS data validation PLUS model evaluation gates — more than plain software CI/CD
5Cloud Build = CI/CD mechanics. Vertex AI Pipelines = ML workflow orchestration. They pair together, they do not substitute for each other
6Production canary/A-B testing is still an Endpoint traffic-splitting concept, even inside a pipeline-automation question
Domain 416% of exam

Collaborating Within and Across Teams to Manage Data and Models

Must-Know Facts

  • Vertex AI Feature Store is the fix whenever a scenario describes MULTIPLE TEAMS independently re-engineering the same features, or inconsistent feature values between training and serving (training-serving skew) — it provides a single centralized source with both online (low-latency) and offline (point-in-time, batch) serving
  • Training-serving skew specifically means the features computed at training time differ from the features computed at serving/prediction time — Feature Store solves this by using the SAME feature computation and storage layer for both paths
  • Vertex AI Workbench provides managed Jupyter notebooks for prototyping; MANAGED notebooks auto-idle/shut down for cost efficiency, while USER-MANAGED notebooks give more configuration control but require manual lifecycle management
  • Vertex AI Experiments tracks metrics, parameters, and artifacts to COMPARE model architectures and hyperparameter runs — it is a development-time tool, not a production monitoring or A/B testing tool
  • Model Registry provides governance: versioning, access control via IAM, lineage, and metadata for models across their lifecycle — distinct from Feature Store (which manages features, not models)
  • Data quality practices include schema validation, anomaly detection in incoming data pipelines, and handling drift — these belong to the collaboration/governance domain because they are typically shared responsibilities across data engineering and ML engineering teams
  • BigQuery is the primary tool for SQL-based large-scale data exploration; Vertex AI Workbench notebooks are used for interactive, code-based (Python) exploration and prototyping — teams often use both depending on the task and audience

Common Traps

TrapRecommending BigQuery materialized views or ad hoc caching when a scenario describes inconsistent features between training and serving across teams
RealityMaterialized views cache query RESULTS but do not guarantee the same feature computation logic is applied consistently at both training and serving time. Vertex AI Feature Store is purpose-built to eliminate training-serving skew by centralizing feature definitions and serving
TrapAssuming Vertex AI Experiments can be used for production A/B testing between model versions
RealityExperiments is scoped to comparing training runs during development (metrics, hyperparameters, artifacts). Production A/B testing/canary rollout is a traffic-splitting function on Vertex AI Endpoints, a completely different service and domain
TrapTreating Model Registry as a place where the actual model binary must live
RealityModel Registry stores versioning metadata, lineage, and governance information; the underlying model artifact/binary is typically stored in Cloud Storage and simply referenced by the Registry
TrapDefaulting to user-managed notebooks for every collaboration scenario because they 'give more control'
RealityVertex AI Workbench MANAGED notebooks are the better fit for most collaborative, cost-conscious team scenarios because they auto-idle and require less operational overhead. User-managed notebooks are appropriate only when specific custom configuration is explicitly required

Confusing Pairs

Vertex AI Feature StoreVertex AI Model Registry

Feature Store: manages and serves FEATURES (input data) consistently across training and serving, prevents training-serving skew. Model Registry: manages and versions MODELS (trained artifacts) for governance and deployment tracking. They manage entirely different artifacts in the ML lifecycle — do not conflate the two when a question asks 'which service should the team adopt'

Vertex AI ExperimentsEndpoint Traffic Splitting

Experiments: offline comparison of training runs (architectures, hyperparameters, metrics) before a model is deployed. Traffic Splitting: live production routing of real user requests between deployed model versions after deployment. Development-time comparison vs. production-time rollout — the question's context (training vs. live traffic) tells you which applies

Vertex AI Workbench Managed NotebooksUser-Managed Notebooks

Managed: Google-operated lifecycle, auto-idle shutdown, lower operational cost, less custom control. User-managed: full control over the VM/environment, requires the team to manage lifecycle and cost themselves. Default to managed for typical team collaboration; choose user-managed only when custom environment requirements are stated

Scenario Tips

If the question asks about:

Multiple data science teams independently engineer the same features for different models, causing inconsistent values between training and serving...

Answer:

Adopt Vertex AI Feature Store to centralize feature definitions and guarantee consistent computation across training and serving

Distractor to avoid:

BigQuery materialized views cache results but do not enforce consistent feature logic across the training/serving boundary

If the question asks about:

An ML engineer wants to compare three model architectures across multiple hyperparameter configurations before choosing one to deploy...

Answer:

Use Vertex AI Experiments to track and compare metrics, parameters, and artifacts across the candidate runs

Distractor to avoid:

Vertex AI Vizier optimizes hyperparameters within a search but does not provide side-by-side comparison across distinct architectures the way Experiments does

If the question asks about:

A team of data scientists needs a collaborative environment with GPU access and pre-installed ML frameworks for prototyping...

Answer:

Provision Vertex AI Workbench managed notebooks for the team

Distractor to avoid:

A custom Compute Engine VM requires manual setup of frameworks and drivers, and Cloud Shell has no GPU support at all

Last-Minute Facts

1Feature Store = fixes training-serving skew and cross-team feature duplication
2Model Registry = model versioning/governance metadata; artifact binary usually lives in Cloud Storage
3Vertex AI Experiments = training-run comparison tool, NOT production A/B testing
4Workbench MANAGED notebooks auto-idle and are the default team-collaboration choice; user-managed = more control, more overhead
5Data quality/schema validation and drift handling are shared cross-team governance responsibilities in this domain
Domain 513% of exam

Architecting Low-Code AI Solutions

Must-Know Facts

  • BigQuery ML supports specific model types only: linear regression, logistic regression (binary/multiclass), K-means clustering, matrix factorization (recommendations), boosted trees (XGBoost), DNN, ARIMA (univariate time series), and autoencoders. It does NOT support image/video classification or arbitrary custom neural architectures
  • The decisive signal for BigQuery ML: data is ALREADY in BigQuery and the team's primary skill is SQL. The decisive signal for AutoML: labeled data exists but ML expertise is limited and time-to-production matters. The decisive signal for pre-built APIs: NO labeled training data exists and the use case matches a standard capability (vision, language, translation, speech) exactly
  • Pre-built ML APIs require ZERO training data — they are ready-to-use out of the box. AutoML requires YOUR OWN labeled data to train a custom model. This single distinction ('no labeled data available' vs. 'we have labeled data') is the most common exam trap in this domain
  • Model Garden provides access to foundation models (Gemini, PaLM, and open-source models) for fine-tuning or direct deployment — the correct answer whenever a scenario needs a general-purpose or generative capability without training from scratch
  • RAG (Retrieval-Augmented Generation) via Vertex AI Agent Builder grounds a foundation model's responses in enterprise documents at QUERY TIME, without retraining the model — this is different from fine-tuning, which bakes new knowledge into model weights and is more expensive and slower to update
  • Matrix factorization in BigQuery ML is specifically for RECOMMENDATION systems, not general dimensionality reduction — do not confuse it with PCA-style use cases

Common Traps

TrapChoosing BigQuery ML for an image or video classification requirement
RealityBigQuery ML's supported model types do not include image/video classification. AutoML Vision or a pre-built Vision API is required for that use case regardless of how convenient BigQuery ML would otherwise be
TrapRecommending AutoML for a scenario that explicitly states 'no labeled training data' and a tight (e.g., one-week) deadline
RealityAutoML still requires the team to supply labeled data to train a custom model. When no labeled data exists and the use case matches a standard capability, a pre-built API (Vision, NLP, Translation, Speech) is the only option that works with zero training data and immediate availability
TrapRecommending fine-tuning a foundation model to build a chatbot that answers questions from an internal knowledge base
RealityFine-tuning is expensive, slow to update, and does not guarantee factual grounding. RAG via Vertex AI Agent Builder retrieves relevant documents at query time and grounds responses without retraining — the better fit whenever the knowledge base changes or factual accuracy against source documents matters
TrapTreating matrix factorization in BigQuery ML as a general-purpose dimensionality reduction technique
RealityMatrix factorization in BigQuery ML is specifically designed and optimized for RECOMMENDATION systems (predicting user-item preferences), not general feature reduction — PCA-style tasks are a different use case entirely

Confusing Pairs

Pre-built ML APIsAutoML

Pre-built APIs: zero training data required, works immediately for standard tasks (Vision, NLP, Translation, Speech). AutoML: requires YOUR labeled data, trains a custom model tailored to your specific categories/domain. If the scenario says 'no labeled data available,' pre-built APIs win. If it says 'domain-specific accuracy needed' or 'we have our own labeled examples,' AutoML wins

BigQuery MLAutoML / Custom Training

BigQuery ML: SQL-based, data already in BigQuery, limited to specific supported model types, best for SQL-proficient teams. AutoML/Custom Training: broader model type support (including images/video/text via AutoML, or anything via custom code), requires either labeled data (AutoML) or ML engineering skill (custom). Data location plus team skill set is the deciding factor

RAG (Vertex AI Agent Builder)Fine-Tuning a Foundation Model

RAG: grounds responses in enterprise documents at query time via retrieval, no model weight changes, easy to keep current as documents change. Fine-tuning: adjusts model weights on domain-specific examples, better for teaching new SKILLS or STYLE rather than fresh factual knowledge, more expensive and slower to update. Knowledge base Q&A over changing documents = RAG. Teaching a consistent tone/format = fine-tuning

Scenario Tips

If the question asks about:

A retail company has transaction data already in BigQuery and a small, SQL-skilled team wants to predict customer churn...

Answer:

Use BigQuery ML with a logistic regression model — data location and team skill set both point to BigQuery ML

Distractor to avoid:

Vertex AI custom training with TensorFlow requires Python ML expertise the team does not have, and is unnecessary given BigQuery ML supports logistic regression natively

If the question asks about:

A startup needs product image categorization within one week and has no labeled training data...

Answer:

Use the pre-built Vision API for label detection, since it requires zero training data and is available immediately

Distractor to avoid:

AutoML Vision would still require the startup to first collect and label training images, which the one-week no-data constraint rules out

If the question asks about:

A company wants a chatbot that answers questions using their internal knowledge base documents...

Answer:

Use Vertex AI Agent Builder with RAG to retrieve and ground responses in the knowledge base at query time

Distractor to avoid:

Fine-tuning a foundation model is more expensive, does not guarantee factual grounding, and is harder to keep current as the knowledge base changes

Last-Minute Facts

1BigQuery ML supports specific model types only — no image/video classification, no arbitrary custom architectures
2Pre-built APIs = zero training data needed. AutoML = needs YOUR labeled data. This is the #1 trap in this domain
3Matrix factorization in BigQuery ML = recommendation systems specifically, not general dimensionality reduction
4RAG (Agent Builder) grounds responses at query time without retraining; fine-tuning bakes knowledge into weights and is costlier/slower to update
5Model Garden = access point for foundation models (Gemini, PaLM, open-source) for fine-tuning or direct deployment
Domain 613% of exam

Monitoring AI Solutions

Must-Know Facts

  • Data drift = the INPUT feature distribution changes over time while the input-output relationship stays the same. Concept drift = the RELATIONSHIP between inputs and the target changes, even if input distributions look unchanged. Prediction drift = the model's OUTPUT distribution changes, which is a symptom that can result from either data or concept drift
  • A falling accuracy with an UNCHANGED input distribution is the textbook signature of concept drift, not data drift — the exam tests this distinction directly
  • Vertex AI Model Monitoring detects WHEN retraining may be needed (via drift/skew signals) but does NOT retrain automatically on its own — automatic retraining requires connecting monitoring alerts to a pipeline trigger (e.g., via Pub/Sub)
  • Feature attribution (Shapley values, XRAI, integrated gradients) explains WHY a model made a specific prediction — it is about explainability/interpretability, not about measuring accuracy or drift, and should not be conflated with either
  • Responsible AI on this exam spans more than bias detection: fairness (demographic parity, equalized odds), transparency, accountability, privacy, and safety are all in scope, and a fairness problem (e.g., disparate rejection rates for a demographic group) is fixed by assessing fairness metrics and applying bias mitigation in the training pipeline — not simply by removing the demographic attribute, which leaves proxy variables intact
  • Continuous evaluation compares live predictions against ground-truth labels AS THEY BECOME AVAILABLE to track real-world accuracy over time, complementing drift detection which does not require ground truth

Common Traps

TrapDiagnosing a case of falling accuracy with unchanged input distribution as data drift
RealityIf inputs are explicitly stated as unchanged but accuracy has degraded, the relationship between inputs and outputs has shifted — that is concept drift by definition, not data drift
TrapAssuming Vertex AI Model Monitoring will automatically retrain a model once drift is detected
RealityModel Monitoring only detects and alerts on drift/skew. Automatic retraining requires an explicit pipeline trigger wired to the monitoring signal (typically via Pub/Sub into Vertex AI Pipelines) — monitoring and retraining are separate, connected systems, not one built-in feature
TrapUsing feature attribution/explainability tools to answer a question about model accuracy or drift
RealityShapley values, XRAI, and integrated gradients explain individual prediction reasoning, not aggregate accuracy or distributional drift. A question asking 'why did the model make this decision' calls for explainability; a question asking 'has performance degraded' calls for monitoring/continuous evaluation
TrapFixing a fairness/bias problem by simply removing the sensitive demographic attribute from the input features
RealityRemoving the attribute does not eliminate PROXY variables (e.g., zip code correlating with demographic group) that still encode the same bias. The correct fix is assessing fairness metrics and applying bias mitigation techniques within the training pipeline

Confusing Pairs

Data DriftConcept DriftPrediction Drift

Data drift: input feature distribution changes (the 'X'). Concept drift: the input-to-output relationship changes (the mapping 'f(X) → Y'), even with stable inputs. Prediction drift: the model's output distribution shifts — a downstream symptom that can be caused by either data or concept drift. Diagnose by checking whether the input distribution changed (data) or stayed the same while accuracy fell (concept)

Model Monitoring (Detection)Automated Retraining (Action)

Model Monitoring: passively observes and alerts on drift, skew, and performance signals. Automated Retraining: an active pipeline execution that must be explicitly triggered by a monitoring event (e.g., via Pub/Sub into Vertex AI Pipelines). Detection and remediation are two separate architectural pieces that must be wired together, not a single automatic feature

Feature Attribution (Explainability)Model Accuracy Monitoring

Feature attribution: answers 'why did the model make THIS prediction' for an individual case, using Shapley values, XRAI, or integrated gradients. Accuracy monitoring/continuous evaluation: answers 'how well is the model performing overall, over time,' typically by comparing predictions to ground truth as it arrives. Explainability is prediction-level; monitoring is aggregate/performance-level

Scenario Tips

If the question asks about:

A production model's accuracy drops from 92% to 78% over three months, but the input data distribution appears unchanged...

Answer:

This is concept drift — the relationship between inputs and the target has changed even though inputs look the same

Distractor to avoid:

Data drift and feature drift both require a change in input distribution, which the scenario explicitly rules out

If the question asks about:

A loan approval model rejects one demographic group at a significantly higher rate than others with similar credit profiles...

Answer:

Assess fairness metrics (demographic parity, equalized odds) and implement bias mitigation in the training pipeline

Distractor to avoid:

Simply removing the demographic attribute from the inputs does not eliminate correlated proxy variables and does not resolve the underlying bias

If the question asks about:

A stakeholder wants to know why a specific customer was denied a loan by the model...

Answer:

Use Vertex AI Explainability with feature attributions (Shapley values) to show which inputs drove that individual prediction

Distractor to avoid:

Model Monitoring tracks aggregate drift over time and cannot explain a single individual prediction's reasoning

Last-Minute Facts

1Data drift = X changes. Concept drift = f(X)→Y relationship changes even if X looks stable. Prediction drift = output distribution changes (a symptom)
2Model Monitoring detects drift; it does NOT automatically retrain — retraining needs an explicit pipeline trigger (e.g., via Pub/Sub)
3Feature attribution (Shapley, XRAI, integrated gradients) = explains individual predictions, not aggregate accuracy or drift
4Fixing bias requires fairness metrics + mitigation in training, not just deleting the sensitive attribute (proxy variables remain)
5Continuous evaluation compares predictions to ground truth as it becomes available — separate from distributional drift checks that need no ground truth

Feeling confident?

Put your knowledge to the test with a timed GCP-PMLE mock exam.