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
Quick Navigation
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
Confusing Pairs
Scenario Tips
A team is training a very large TensorFlow language model and it does not fit in the memory of a single GPU...
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
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
A model scores 98% on training data and 72% on validation data...
This is overfitting. Apply L2 regularization and/or dropout, or reduce model complexity
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
An engineer needs to find optimal learning rate, batch size, and layer count while minimizing the number of training runs...
Use Vertex AI Vizier, which applies Bayesian optimization to intelligently select the next hyperparameter configuration based on prior results
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
A stakeholder asks why the model denied a specific loan applicant, and the model is a boosted tree trained on structured tabular data...
Use Shapley values via Vertex AI Explainability to attribute the individual prediction to specific input features
XRAI is optimized for image region attribution, not tabular data. Model Monitoring tracks drift over time, not individual prediction explanations
Last-Minute Facts
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
Confusing Pairs
Scenario Tips
A fraud detection model must score transactions with sub-100ms latency and traffic varies 100x throughout the day...
Deploy to a Vertex AI Endpoint with autoscaling configured to handle the variable load in real time
Batch prediction cannot meet a sub-100ms real-time requirement — it processes data periodically, not per-request
A company knows a major marketing campaign will drive a 10x traffic spike starting at 9am tomorrow...
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
Relying solely on autoscaling risks a lag during the ramp-up window right when the spike begins, since autoscaling is reactive
50 million customer records must be scored nightly with no latency requirement, and cost must be minimized...
Use Vertex AI Batch Prediction, which provisions compute only for the job duration and shuts down afterward
A persistent online endpoint (with or without autoscaling) would incur unnecessary idle cost for a workload that has no real-time requirement
An engineer wants to gradually shift production traffic from an old model version to a new one while monitoring live performance...
Configure traffic splitting on the Vertex AI Endpoint to route a percentage of requests to each version
Vertex AI Experiments only compares offline training runs — it has no mechanism to route live production requests
Last-Minute Facts
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
Confusing Pairs
Scenario Tips
A team wants the model to retrain automatically only when data drift exceeds a threshold, not on a fixed schedule...
Use Vertex AI Model Monitoring to detect drift and publish an event via Pub/Sub that triggers a Vertex AI Pipelines run for retraining
A Cloud Scheduler cron job retrains on a fixed cadence regardless of actual model health, which does not satisfy a drift-based trigger requirement
A pipeline has preprocessing directly calling the training function, and a team member wants to update preprocessing without breaking training...
Refactor preprocessing and training into separate containerized pipeline components with defined interfaces so each can be updated and tested independently
Feature flags, parallel pipelines, or single-artifact versioning all work around the coupling instead of resolving it at the architecture level
An ML engineer needs CI/CD infrastructure for a pipeline that includes data validation, training, evaluation, and deployment...
Use Cloud Build for CI/CD mechanics (build, test, deploy triggers) paired with Vertex AI Pipelines for ML workflow orchestration
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
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
Confusing Pairs
Scenario Tips
Multiple data science teams independently engineer the same features for different models, causing inconsistent values between training and serving...
Adopt Vertex AI Feature Store to centralize feature definitions and guarantee consistent computation across training and serving
BigQuery materialized views cache results but do not enforce consistent feature logic across the training/serving boundary
An ML engineer wants to compare three model architectures across multiple hyperparameter configurations before choosing one to deploy...
Use Vertex AI Experiments to track and compare metrics, parameters, and artifacts across the candidate runs
Vertex AI Vizier optimizes hyperparameters within a search but does not provide side-by-side comparison across distinct architectures the way Experiments does
A team of data scientists needs a collaborative environment with GPU access and pre-installed ML frameworks for prototyping...
Provision Vertex AI Workbench managed notebooks for the team
A custom Compute Engine VM requires manual setup of frameworks and drivers, and Cloud Shell has no GPU support at all
Last-Minute Facts
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
Confusing Pairs
Scenario Tips
A retail company has transaction data already in BigQuery and a small, SQL-skilled team wants to predict customer churn...
Use BigQuery ML with a logistic regression model — data location and team skill set both point to BigQuery ML
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
A startup needs product image categorization within one week and has no labeled training data...
Use the pre-built Vision API for label detection, since it requires zero training data and is available immediately
AutoML Vision would still require the startup to first collect and label training images, which the one-week no-data constraint rules out
A company wants a chatbot that answers questions using their internal knowledge base documents...
Use Vertex AI Agent Builder with RAG to retrieve and ground responses in the knowledge base at query time
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
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
Confusing Pairs
Scenario Tips
A production model's accuracy drops from 92% to 78% over three months, but the input data distribution appears unchanged...
This is concept drift — the relationship between inputs and the target has changed even though inputs look the same
Data drift and feature drift both require a change in input distribution, which the scenario explicitly rules out
A loan approval model rejects one demographic group at a significantly higher rate than others with similar credit profiles...
Assess fairness metrics (demographic parity, equalized odds) and implement bias mitigation in the training pipeline
Simply removing the demographic attribute from the inputs does not eliminate correlated proxy variables and does not resolve the underlying bias
A stakeholder wants to know why a specific customer was denied a loan by the model...
Use Vertex AI Explainability with feature attributions (Shapley values) to show which inputs drove that individual prediction
Model Monitoring tracks aggregate drift over time and cannot explain a single individual prediction's reasoning