MLOps on Gemini Enterprise Agent Platform for the Professional Machine Learning Engineer exam
Section 5 (pipeline automation, ~18%) and section 6 (monitoring, ~13%) of the Professional Machine Learning Engineer exam, plus serving (~20%), all revolve around MLOps: turning a notebook model into a system that retrains itself, deploys safely and is monitored. After Vertex AI was renamed Gemini Enterprise Agent Platform (22 Apr 2026), the MLOps components got new names too. This article covers Google's MLOps maturity model, the component map on Agent Platform, kinds of drift and skew, deployment strategies and gen AI evaluation, with practice questions.
Key takeaways
- The pipelines (~18%), monitoring (~13%) and serving (~20%) sections of the PMLE exam all revolve around MLOps: turning a notebook model into a system that retrains, deploys safely and is monitored.
- The article covers three MLOps maturity levels, a map of components on Agent Platform and a typical training pipeline.
- Tell skew and drift apart: data drift can be detected without labels, while concept drift needs ground-truth labels.
- Common traps: auto-deploying every retrained model without evaluating it against the current one, and fine-tuning when a better prompt or grounding is enough.
Three MLOps maturity levels
Google's architecture document "MLOps: Continuous delivery and automation pipelines in machine learning" describes three levels:
| Level | Characteristics | Signals in questions |
|---|---|---|
| Level 0: manual | Data scientists train in notebooks and hand models to engineers; retraining is rare | "Accuracy declines over time" due to no retraining (practice question #14) |
| Level 1: ML pipeline automation | Automated training pipelines, continuous training (CT) on new data or a schedule; data and model validation in the pipeline | "Retrain automatically when data changes" |
| Level 2: CI/CD for pipelines | Pipeline code is tested and deployed automatically; code changes trigger build, test and pipeline deployment | Cloud Build runs unit tests, then launches the pipeline (question #374) |
Component map on Agent Platform
| Stage | Component (new name) | Old name |
|---|---|---|
| Exploration, prototyping | Agent Platform Workbench, Colab Enterprise | Vertex AI Workbench |
| Experiment tracking, lineage | Experiments on Agent Platform, ML Metadata | Vertex AI Experiments |
| Features | Agent Platform Feature Store | Vertex AI Feature Store |
| Training | Custom training, AutoML, hyperparameter tuning, Ray on Agent Platform | Vertex AI Training |
| Orchestration | Agent Platform Pipelines (Kubeflow Pipelines SDK or TFX), Managed Service for Apache Airflow | Vertex AI Pipelines, Cloud Composer |
| Versioning | Agent Platform Model Registry | Vertex AI Model Registry |
| Serving | Agent Platform Endpoints, Online Inference, Batch Inference | Vertex AI Endpoints, Prediction |
| Evaluation | Agent Platform Model Evaluation, Gen AI evals | Vertex AI Model Evaluation, Gen AI evaluation service |
| Monitoring | Model Monitoring on Agent Platform | Vertex AI Model Monitoring |
A typical training pipeline
- Ingest data from BigQuery or Cloud Storage.
- Validate data: schema, distributions, missing values; stop the pipeline on anomalies.
- Transform: with the same logic used at serving time (or store features in Feature Store) to avoid skew. If normalization logic lives somewhere hard to reuse, move it to a shared place such as SQL in BigQuery (question #33).
- Train and tune.
- Evaluate: against the current production model; register the new model only if it wins on agreed metrics.
- Register in Model Registry with metadata and lineage.
- Deploy to an endpoint with traffic splitting (canary) or run batch inference.
When to retrain
- On a schedule: simple, fits steadily changing data.
- On events: when enough new data arrives.
- On monitoring signals: when Model Monitoring flags skew or drift beyond thresholds, or business metrics fall (question #30).
Skew vs drift
| Phenomenon | Definition | Detection and response |
|---|---|---|
| Training-serving skew | Serving feature distributions differ from training data, often from different preprocessing or data sources | Model Monitoring against the training baseline; unify the transformation pipeline |
| Data drift (prediction drift) | Input distributions shift over time compared with an earlier period | Model Monitoring over time windows; retrain on fresh data |
| Concept drift | The relationship between features and labels changes (user behavior shifts) | Track quality metrics once ground truth arrives; retrain, revisit features |
To get data for drift and quality analysis, enable the endpoint's request-response logging to BigQuery (question #367).
Model deployment strategies
- Canary: one endpoint hosts two models; send a small share of traffic to the new one and ramp up if healthy.
- A/B testing: split traffic to compare business metrics between versions.
- Shadow: the new model receives a copy of requests without serving users, for safe comparison.
- Batch vs online: batch inference for large periodic predictions; online endpoints for low latency, with autoscaling between minimum and maximum nodes.
- Private endpoints: when requests must not traverse the public internet.
MLOps for gen AI
| Need | Approach |
|---|---|
| Compare new and old versions of a gen AI app | Automatic side-by-side (AutoSxS) or LLM-as-a-judge in Gen AI evals (question #370) |
| Consistently adjust answer style or length | Collect example Q&A pairs and run supervised fine-tuning (question #373) |
| Block harmful content, redact PII in outputs | Model Armor with Sensitive Data Protection (question #375, question #371) |
| Track quality after launch | A fixed evaluation set, periodic evaluation, prompt and response logging |
Common traps
- Reimplementing preprocessing in serving code differently from training code.
- Auto-deploying every retrained model without evaluating it against the current one.
- Confusing data drift and concept drift: input drift is detectable without labels; concept drift needs ground truth.
- Seeing Cloud Composer or Vertex AI Pipelines in options: read them as Managed Service for Apache Airflow and Agent Platform Pipelines; for ML pipelines, Agent Platform Pipelines is usually the native choice.
- Fine-tuning when better prompting or grounding would do.
Start practicing
Try the 60 free Professional Machine Learning Engineer questions, then a timed exam (Pro). For the exam overview, see the Professional Machine Learning Engineer study guide.