Google Cloud Professional Machine Learning Engineer - Fact Sheet¶
Quick Reference¶
Exam Code: Professional Machine Learning Engineer Duration: 120 minutes (2 hours) Questions: 50-60 questions Passing Score: ~70% (not officially published) Cost: $200 USD Validity: 2 years Difficulty: โญโญโญโญโญ (Advanced-level certification) Prerequisites: Recommended 3+ years ML/data science experience, including 1+ year with GCP ML tools Exam Format: Multiple choice and multiple select questions based on real-world scenarios
Exam Domains¶
| Domain | Weight | Key Focus |
|---|---|---|
| Framing ML Problems | 15-20% | Translating business objectives to ML use cases, defining success metrics |
| Data Engineering for ML | 15-20% | Data ingestion, preprocessing, feature engineering, data validation |
| ML Model Building | 30-35% | Model selection, training, hyperparameter tuning, transfer learning |
| ML Pipeline Automation | 15-20% | MLOps, CI/CD, workflow orchestration, model deployment |
| ML Solution Monitoring and Optimization | 15-20% | Model monitoring, retraining triggers, A/B testing, performance optimization |
| Responsible AI | 5-10% | Bias detection, fairness, explainability, privacy |
ML Problem Framing¶
Defining ML Use Cases¶
Business to ML Translation: - Identify when ML is appropriate vs rule-based systems - Define clear success criteria and KPIs - Understand constraints (latency, cost, accuracy requirements) - ๐ ML Problem Framing - Google's problem framing course - ๐ ML Use Cases - Common ML application patterns - ๐ Choosing ML Models - Model selection guide
ML Task Types¶
Supervised Learning: - Classification - Binary, multi-class, multi-label - Regression - Continuous value prediction - ๐ Classification Models - Classification on Agent Platform (formerly Vertex AI) - ๐ Regression Models - Regression on Agent Platform
Unsupervised Learning: - Clustering - Grouping similar data points - Dimensionality Reduction - PCA, t-SNE, autoencoders - Anomaly Detection - Outlier identification - ๐ Clustering with AutoML - Clustering solutions
Other ML Tasks: - Recommendation Systems - Collaborative filtering, content-based - Time Series Forecasting - Temporal pattern prediction - Computer Vision - Image classification, object detection, segmentation - Natural Language Processing - Text classification, entity extraction, sentiment analysis - ๐ Recommendation AI - Recommendation systems - ๐ Time Series Forecasting - Forecasting solutions
Success Metrics¶
Classification Metrics: - Accuracy - Overall correctness - Precision - True positives / (True positives + False positives) - Recall/Sensitivity - True positives / (True positives + False negatives) - F1 Score - Harmonic mean of precision and recall - AUC-ROC - Area under ROC curve - AUC-PR - Area under precision-recall curve - ๐ Classification Metrics - Understanding classification metrics
Regression Metrics: - MAE (Mean Absolute Error) - Average absolute differences - RMSE (Root Mean Squared Error) - Square root of mean squared errors - Rยฒ (R-Squared) - Proportion of variance explained - MAPE (Mean Absolute Percentage Error) - Percentage error - ๐ Regression Metrics - Understanding regression metrics
Ranking Metrics: - NDCG (Normalized Discounted Cumulative Gain) - Ranking quality - MAP (Mean Average Precision) - Precision across multiple queries - MRR (Mean Reciprocal Rank) - Average of reciprocal ranks
Agent Platform¶
Agent Platform Overview¶
Unified ML Platform: - End-to-end ML workflow management - Integrates training, deployment, and monitoring - Supports custom and AutoML models - ๐ Agent Platform Overview - Platform introduction - ๐ Agent Platform Workbench - Managed Jupyter notebooks - ๐ Agent Platform Pipelines - ML workflow orchestration - ๐ Agent Platform Model Registry - Model versioning and management
Agent Platform Workbench¶
Development Environment: - Managed Notebooks - Fully managed JupyterLab instances - User-Managed Notebooks - More control, custom configurations - Pre-installed ML frameworks (TensorFlow, PyTorch, scikit-learn) - Integration with BigQuery, Cloud Storage, and other GCP services - ๐ Workbench User Guide - Notebook management - ๐ Workbench Executor - Schedule notebook execution - ๐ Workbench Instances - Instance creation and configuration
Agent Platform Managed Training¶
Training Options: - AutoML - No-code model training - Custom Training - Pre-built containers or custom containers - Hyperparameter Tuning - Automated hyperparameter optimization - Distributed Training - Multi-node, multi-GPU training - ๐ Training Overview - Training options comparison - ๐ Custom Training - Custom training jobs - ๐ Distributed Training - Multi-worker training - ๐ Hyperparameter Tuning - Optimization strategies - ๐ Training with GPUs - GPU acceleration - ๐ Training with TPUs - TPU acceleration
Agent Platform Inference¶
Model Deployment: - Online Prediction - Real-time, low-latency predictions - Batch Prediction - Offline, high-throughput predictions - ๐ Prediction Overview - Deployment options - ๐ Deploy Models - Model deployment guide - ๐ Online Prediction - Real-time serving - ๐ Batch Prediction - Batch inference - ๐ Private Endpoints - VPC-based serving - ๐ Model Monitoring - Production model monitoring
Model Monitoring on Agent Platform¶
Production Monitoring: - Training-Serving Skew Detection - Distribution drift from training - Prediction Drift Detection - Changes in prediction distribution - Feature Attribution - Input feature importance - ๐ Model Monitoring Setup - Monitoring configuration - ๐ Skew Detection - Training-serving skew - ๐ Drift Detection - Prediction drift monitoring - ๐ Alerting - Monitoring alerts setup
AutoML¶
AutoML Tables¶
Structured Data ML: - Automated feature engineering - Automated model selection and ensemble - No-code model training - Supports regression, classification, forecasting - ๐ AutoML Tabular - Structured data solutions - ๐ Training AutoML Models - AutoML training guide - ๐ Feature Engineering - Automatic feature transformations - ๐ Model Interpretability - Understanding AutoML predictions
AutoML Vision¶
Computer Vision: - Image Classification - Single-label and multi-label - Object Detection - Bounding box detection - Image Segmentation - Pixel-level classification - ๐ AutoML Vision - Vision capabilities - ๐ Image Classification - Classification tutorial - ๐ Object Detection - Detection tutorial - ๐ Edge Deployment - Deploy to edge devices
AutoML Natural Language¶
NLP Tasks: - Text Classification - Sentiment analysis, topic classification - Entity Extraction - Named entity recognition - Text Entity Extraction - Custom entity types - ๐ AutoML Natural Language - NLP solutions - ๐ Text Classification - Classification guide - ๐ Entity Extraction - NER guide - ๐ Sentiment Analysis - Sentiment classification
AutoML Video Intelligence¶
Video Analysis: - Video Classification - Video-level labels - Video Object Tracking - Track objects across frames - Action Recognition - Temporal action detection - ๐ AutoML Video Intelligence - Video analysis - ๐ Video Classification - Classification tutorial - ๐ Object Tracking - Tracking guide
Data Engineering for ML¶
Data Ingestion¶
Data Sources: - BigQuery - Data warehouse for structured data - Cloud Storage - Object storage for files - Pub/Sub - Real-time streaming data - Cloud SQL/Spanner - Relational databases - Bigtable - NoSQL for time-series data - ๐ Data Ingestion Patterns - Best practices - ๐ Dataflow - Stream and batch processing - ๐ Data Fusion - Visual ETL tool - ๐ Transfer Service - Data migration
Data Preprocessing¶
Data Cleaning: - Handle missing values (imputation, deletion) - Outlier detection and treatment - Data validation and quality checks - ๐ TensorFlow Data Validation - TFDV for data validation - ๐ Data Preprocessing - Preprocessing strategies
Data Transformation: - Normalization and standardization - Encoding categorical variables (one-hot, label, target encoding) - Feature scaling - Text preprocessing (tokenization, stemming, lemmatization) - ๐ TensorFlow Transform - TFX Transform for preprocessing - ๐ Feature Engineering - Engineering best practices - ๐ Dataflow Templates - Pre-built preprocessing pipelines
Feature Engineering¶
Feature Creation: - Polynomial features - Interaction features - Time-based features (day of week, hour, seasonality) - Domain-specific feature engineering - ๐ Feature Engineering Best Practices - Feature representation - ๐ Feature Crosses - Combining features
Feature Selection: - Filter methods (correlation, mutual information) - Wrapper methods (forward/backward selection) - Embedded methods (L1/L2 regularization, tree-based importance) - ๐ Feature Selection Techniques - Selection strategies
Agent Platform Feature Store¶
Centralized Feature Management: - Store, serve, and share ML features - Online and offline serving - Point-in-time correctness for training - Feature versioning and lineage - ๐ Feature Store Overview - Feature store architecture - ๐ Creating Features - Feature store setup - ๐ Serving Features - Online feature serving - ๐ Feature Store Best Practices - Usage patterns
BigQuery for ML¶
BigQuery ML: - Create ML models using SQL - Supports linear regression, logistic regression, k-means, time series, deep learning - AutoML integration for advanced models - ๐ BigQuery ML Overview - BQML introduction - ๐ Creating Models - Model creation - ๐ Model Types - Available algorithms - ๐ Hyperparameter Tuning - BQML tuning - ๐ Model Evaluation - Evaluation functions - ๐ Predictions - Making predictions - ๐ Export Models - Export for serving
Data Validation¶
TensorFlow Data Validation (TFDV): - Generate statistics from training data - Infer schema and detect anomalies - Detect drift and skew - ๐ TFDV Guide - Data validation guide - ๐ Schema Generation - Automatic schema inference - ๐ Anomaly Detection - Data quality checks
Data Splitting¶
Train/Validation/Test Split: - Typical split: 70% train, 15% validation, 15% test - Time-based splitting for time series - Stratified splitting for imbalanced data - Cross-validation for small datasets - ๐ Data Splitting Best Practices - Splitting strategies
TensorFlow and Deep Learning¶
TensorFlow Ecosystem¶
Core Components: - TensorFlow 2.x - Eager execution, Keras integration - Keras - High-level neural network API - TensorFlow Datasets - Pre-processed datasets - TensorFlow Hub - Reusable model components - ๐ TensorFlow Guide - Complete TensorFlow documentation - ๐ Keras Guide - Keras API guide - ๐ TensorFlow Datasets - Dataset catalog - ๐ TensorFlow Hub - Pre-trained models
TensorFlow Extended (TFX)¶
Production ML Pipelines: - ExampleGen - Data ingestion - StatisticsGen - Statistics generation - SchemaGen - Schema inference - ExampleValidator - Anomaly detection - Transform - Feature engineering - Trainer - Model training - Tuner - Hyperparameter tuning - Evaluator - Model evaluation - Pusher - Model deployment - ๐ TFX Overview - TFX architecture - ๐ TFX Components - Component documentation - ๐ TFX on Cloud - TFX with Agent Platform - ๐ TFX Pipeline Tutorial - End-to-end example
Neural Network Architectures¶
Common Architectures: - Feedforward Neural Networks - Basic dense networks - Convolutional Neural Networks (CNNs) - Computer vision - Recurrent Neural Networks (RNNs) - Sequential data - Long Short-Term Memory (LSTM) - Long sequences - Transformers - NLP and beyond - ๐ Neural Network Guide - NN fundamentals - ๐ CNN Architectures - CNN tutorial - ๐ RNN Guide - RNN with Keras - ๐ Transformer Models - Transformer tutorial
Transfer Learning¶
Pre-trained Models: - Use pre-trained models from TensorFlow Hub - Fine-tune on domain-specific data - Feature extraction vs fine-tuning - ๐ Transfer Learning Guide - Transfer learning tutorial - ๐ TensorFlow Hub Integration - Using pre-trained models - ๐ Fine-tuning Strategies - Fine-tuning best practices
Training Optimization¶
Optimization Techniques: - Gradient descent variants (SGD, Adam, RMSprop) - Learning rate scheduling - Batch normalization - Dropout for regularization - Early stopping - ๐ Optimization Guide - Keras optimizers - ๐ Learning Rate Schedules - LR scheduling - ๐ Regularization - Preventing overfitting - ๐ Callbacks - Training callbacks
Distributed Training Strategies¶
TensorFlow Distribution Strategies: - MirroredStrategy - Single machine, multiple GPUs - MultiWorkerMirroredStrategy - Multiple machines - TPUStrategy - Cloud TPU training - ParameterServerStrategy - Large-scale distributed training - ๐ Distributed Training - Distribution strategies - ๐ Multi-GPU Training - Multi-GPU guide - ๐ TPU Training - TPU usage guide - ๐ Parameter Server - Parameter server strategy
Model Building and Training¶
Classical ML Algorithms¶
Scikit-learn Integration: - Linear/Logistic Regression - Decision Trees and Random Forests - Gradient Boosting (XGBoost, LightGBM) - Support Vector Machines - K-Nearest Neighbors - ๐ Scikit-learn on Agent Platform - Pre-built containers - ๐ Custom Prediction Routines - Deploy scikit-learn models
Hyperparameter Tuning¶
Tuning Strategies: - Grid search - Random search - Bayesian optimization - Hyperband algorithm - ๐ Vertex AI Hyperparameter Tuning - Tuning service - ๐ Tuning Algorithms - Algorithm comparison - ๐ Parallel Trials - Parallel tuning - ๐ Early Stopping - Stop underperforming trials
Model Evaluation¶
Evaluation Techniques: - Hold-out validation - K-fold cross-validation - Stratified K-fold - Time series cross-validation - ๐ Model Evaluation - Evaluation strategies - ๐ What-If Tool - Interactive evaluation - ๐ TensorBoard Integration - Visualization
Handling Imbalanced Data¶
Techniques: - Class weighting - Oversampling (SMOTE) - Undersampling - Ensemble methods - Anomaly detection approaches - ๐ Imbalanced Data Guide - Handling imbalance - ๐ Class Weights - TensorFlow class weights
Model Interpretability¶
Explainability Techniques: - Feature importance - SHAP (SHapley Additive exPlanations) - LIME (Local Interpretable Model-agnostic Explanations) - Integrated Gradients - ๐ Vertex Explainable AI - Explainability overview - ๐ Feature Attributions - Attribution methods - ๐ Explanation Methods - Configuration guide - ๐ What-If Tool - Interactive explanations
ML Pipeline Automation and MLOps¶
Kubeflow Pipelines¶
ML Workflow Orchestration: - Define, orchestrate, and schedule ML workflows - Component-based pipeline architecture - Integration with Agent Platform Pipelines - ๐ Kubeflow Pipelines - KFP documentation - ๐ Agent Platform Pipelines - Managed Kubeflow - ๐ Pipeline Components - Building components - ๐ Pre-built Components - Google Cloud components - ๐ Pipeline Scheduling - Scheduled execution
MLOps Best Practices¶
CI/CD for ML: - Version control for code, data, and models - Automated testing (unit tests, integration tests) - Continuous training (CT) - Continuous deployment (CD) - ๐ MLOps Architecture - MLOps patterns - ๐ MLOps Level 0-2 - Maturity levels - ๐ Cloud Build for ML - CI/CD with Cloud Build
Model Versioning¶
Version Management: - Model Registry for version tracking - A/B testing between model versions - Canary deployments - Shadow mode deployment - ๐ Model Registry - Version management - ๐ Model Versioning - Version control - ๐ Model Aliases - Version aliases
Workflow Orchestration¶
Orchestration Options: - Agent Platform Pipelines - Managed Kubeflow Pipelines - Cloud Composer - Managed Apache Airflow - Cloud Scheduler - Cron-based scheduling - ๐ Cloud Composer - Airflow for ML workflows - ๐ Composer for ML - ML orchestration patterns - ๐ Cloud Scheduler - Job scheduling
Continuous Training¶
Automated Retraining: - Trigger retraining based on data drift - Schedule-based retraining - Performance degradation triggers - New data availability triggers - ๐ Continuous Training - CT architecture - ๐ Retraining Pipelines - Pipeline creation
Model Deployment Strategies¶
Deployment Patterns: - Blue/Green Deployment - Switch between two environments - Canary Deployment - Gradual rollout to subset - A/B Testing - Compare model versions - Shadow Mode - Run new model without serving - ๐ Deployment Strategies - Deployment patterns - ๐ Traffic Split - Split traffic between models - ๐ Private Endpoints - Secure deployment
Container Management¶
Containerization: - Docker containers for reproducibility - Pre-built training and prediction containers - Custom containers for specific frameworks - ๐ Container Registry - Image storage - ๐ Artifact Registry - Next-gen artifact storage - ๐ Pre-built Containers - Available containers - ๐ Custom Containers - Building custom containers
Model Monitoring and Optimization¶
Production Model Monitoring¶
Monitoring Components: - Prediction request/response logging - Input feature distribution monitoring - Prediction output distribution monitoring - Model performance metrics - ๐ Model Monitoring on Agent Platform - Monitoring overview - ๐ Monitoring Configuration - Setup guide - ๐ Monitoring Alerts - Alert configuration - ๐ Cloud Logging Integration - Prediction logging
Data Drift Detection¶
Drift Types: - Covariate Shift - Input distribution changes - Concept Drift - Relationship between X and Y changes - Label Drift - Output distribution changes - ๐ Drift Detection - Drift monitoring - ๐ Skew Detection - Training-serving skew - ๐ Statistical Distance - Distance metrics
Model Performance Optimization¶
Optimization Strategies: - Model compression (pruning, quantization) - Knowledge distillation - Hardware acceleration (GPUs, TPUs) - Caching predictions - Batch predictions for throughput - ๐ Model Optimization - TensorFlow optimization - ๐ Quantization - Model quantization - ๐ Pruning - Weight pruning
Prediction Latency Optimization¶
Latency Reduction: - Model simplification - Feature reduction - Prediction caching - Hardware acceleration - Edge deployment - ๐ Prediction Performance - Performance tuning - ๐ GPU Prediction - GPU serving - ๐ Batch Prediction - High-throughput inference
Cost Optimization¶
Cost Reduction Strategies: - Batch prediction instead of online - Auto-scaling endpoints - Spot VMs for training - Model compression - Feature Store for feature reuse - ๐ Training Cost Optimization - Training cost reduction - ๐ Prediction Cost Optimization - Serving cost reduction - ๐ Preemptible VMs - Spot instance training
A/B Testing¶
Experimentation: - Traffic splitting between model versions - Statistical significance testing - Multi-armed bandit approaches - ๐ Traffic Splitting - A/B testing setup - ๐ Model Comparison - Compare model versions
Responsible AI¶
Fairness and Bias¶
Bias Detection: - Identify protected attributes - Measure disparate impact - Demographic parity - Equalized odds - ๐ Responsible AI - Google's principles - ๐ Fairness Indicators - Bias detection tools - ๐ What-If Tool - Interactive fairness analysis - ๐ Fairness Best Practices - Implementing fairness
Explainability¶
Model Transparency: - Vertex AI Explainable AI - Feature attribution methods - Counterfactual explanations - Model cards for documentation - ๐ Explainable AI - Explainability overview - ๐ Sampled Shapley - Shapley values - ๐ Integrated Gradients - IG method - ๐ XRAI - Image explainability
Privacy¶
Privacy-Preserving ML: - Differential privacy - Federated learning - Secure multi-party computation - Data anonymization and pseudonymization - ๐ Privacy Best Practices - Privacy techniques - ๐ Data Loss Prevention - Sensitive data protection - ๐ Confidential Computing - Encrypted computation
Model Cards¶
Documentation: - Model description and use cases - Training data details - Performance metrics - Limitations and biases - Ethical considerations - ๐ Model Cards - Model documentation framework - ๐ Model Card Toolkit - Automated model cards
AI Ethics¶
Ethical Considerations: - Transparency and accountability - Privacy and security - Inclusiveness and fairness - Reliability and safety - ๐ AI Principles - Google's AI principles - ๐ PAIR - People + AI Research
Pre-trained AI Services¶
Vision AI¶
Computer Vision APIs: - Cloud Vision API for image analysis - AutoML Vision for custom models - ๐ Cloud Vision API - Pre-trained vision models - ๐ Vision API Features - Available features - ๐ Object Detection - Object localization
Natural Language AI¶
NLP APIs: - Natural Language API for text analysis - AutoML Natural Language for custom models - Translation API for language translation - ๐ Natural Language API - Text analysis - ๐ Entity Recognition - NER API - ๐ Sentiment Analysis - Sentiment API - ๐ Translation API - Language translation
Speech AI¶
Speech APIs: - Speech-to-Text API - Text-to-Speech API - ๐ Speech-to-Text - Audio transcription - ๐ Text-to-Speech - Speech synthesis - ๐ Speech Adaptation - Custom vocabulary
Video Intelligence AI¶
Video Analysis: - Video Intelligence API for video analysis - AutoML Video for custom models - ๐ Video Intelligence API - Video analysis - ๐ Video Features - Available features
Document AI¶
Document Processing: - Document AI for document understanding - Form parsing and extraction - ๐ Document AI - Document processing - ๐ Document Processors - Available processors - ๐ Form Parser - Form extraction
Integration with GCP Services¶
BigQuery Integration¶
ML with BigQuery: - BigQuery ML for SQL-based ML - Export training data from BigQuery - Store predictions in BigQuery - ๐ BigQuery ML - BQML overview - ๐ Agent Platform and BigQuery - Integration guide - ๐ Export to BigQuery - Batch predictions to BQ
Cloud Storage Integration¶
Data Management: - Store training data in Cloud Storage - Model artifacts storage - Batch prediction input/output - ๐ Cloud Storage - Object storage - ๐ Storage for ML - Storage best practices
Pub/Sub Integration¶
Real-time ML: - Stream predictions with Pub/Sub - Trigger retraining on new data - Event-driven ML workflows - ๐ Pub/Sub - Messaging service - ๐ Streaming Predictions - Real-time inference
Dataflow Integration¶
Data Processing: - Preprocess data at scale - Feature engineering pipelines - TensorFlow Transform integration - ๐ Dataflow - Apache Beam pipelines - ๐ Dataflow for ML - ML data processing
Cloud Functions Integration¶
Serverless ML: - Lightweight prediction endpoints - Trigger pipelines on events - Custom prediction logic - ๐ Cloud Functions - Serverless functions - ๐ Functions for ML - Serverless serving
Security and Governance¶
IAM for ML¶
Access Control: - Agent Platform-specific IAM roles - Service accounts for training/serving - Workload Identity for GKE - ๐ Vertex AI IAM - Access control - ๐ IAM Roles - Available roles - ๐ Service Accounts - Custom service accounts
VPC and Networking¶
Network Security: - VPC peering for private access - Private endpoints for serving - VPC Service Controls - ๐ VPC Peering - Private connectivity - ๐ Private Endpoints - Secure serving - ๐ VPC Service Controls - Data perimeter
Encryption¶
Data Protection: - Encryption at rest and in transit - Customer-managed encryption keys (CMEK) - ๐ Encryption - CMEK for Agent Platform - ๐ Key Management - Cloud KMS
Audit Logging¶
Compliance: - Cloud Audit Logs for ML operations - Model lineage tracking - Data lineage tracking - ๐ Audit Logs - Agent Platform audit logs - ๐ Model Lineage - ML Metadata
Exam Scenarios and Solutions¶
Scenario 1: Real-time Fraud Detection¶
Requirements: Detect fraudulent transactions in real-time, < 100ms latency, high accuracy
Solution: - Train model using AutoML Tables or custom TensorFlow - Deploy to Agent Platform Inference with GPU-enabled machine - Use Feature Store for real-time feature serving - Monitor for data drift with Model Monitoring on Agent Platform - A/B test new models before full rollout
Key Decision: Online prediction for low latency, Feature Store for fast feature retrieval
Scenario 2: Image Classification at Scale¶
Requirements: Classify millions of images daily, custom categories, cost-effective
Solution: - Start with AutoML Vision for quick baseline - If more control needed, use TensorFlow with transfer learning - Train on Agent Platform with GPU/TPU acceleration - Deploy to Agent Platform for batch prediction - Store results in BigQuery for analysis
Key Decision: Batch prediction for cost efficiency, AutoML for faster development
Scenario 3: NLP Text Classification¶
Requirements: Classify customer support tickets, multi-class classification, explainable
Solution: - Use AutoML Natural Language for rapid development - Enable Explainable AI for feature attributions - Deploy to online prediction endpoint - Implement Model Monitoring for drift detection - Store predictions in BigQuery for analytics
Key Decision: AutoML NLP for quick start, Explainable AI for transparency
Scenario 4: Time Series Forecasting¶
Requirements: Forecast demand for inventory planning, weekly forecasts, seasonal patterns
Solution: - Use AutoML Forecasting on Agent Platform - Prepare data with seasonal and holiday features - Train with multiple time series (one per product) - Evaluate using MAPE and RMSE - Deploy for batch predictions, schedule weekly
Key Decision: AutoML Forecasting for automatic seasonality handling
Scenario 5: Continuous Model Retraining¶
Requirements: Retrain models weekly with new data, automated pipeline, minimal manual intervention
Solution: - Build Vertex AI Pipeline with Kubeflow components - Include data validation (TFDV), training, evaluation, deployment - Schedule pipeline with Cloud Scheduler - Implement automatic deployment if metrics exceed threshold - Monitor with Model Monitoring on Agent Platform
Key Decision: Agent Platform Pipelines for orchestration, automated deployment gates
Scenario 6: Model Serving with Traffic Split¶
Requirements: Deploy new model version safely, gradual rollout, rollback capability
Solution: - Deploy new model version to Agent Platform - Configure traffic split (90% old, 10% new) - Monitor both versions for performance - Gradually increase traffic to new version - Keep old version for quick rollback
Key Decision: Traffic split for canary deployment, monitoring for safe rollout
Scenario 7: Privacy-Preserving ML¶
Requirements: Train on sensitive data, comply with GDPR, minimize data exposure
Solution: - Use differential privacy techniques - Implement federated learning if applicable - Use Data Loss Prevention API to detect PII - Anonymize/pseudonymize data before training - Store only aggregated results
Key Decision: DLP for PII detection, differential privacy for training
Scenario 8: Bias Detection in Models¶
Requirements: Ensure fairness across demographic groups, detect and mitigate bias
Solution: - Use Fairness Indicators to measure bias - Analyze model performance across subgroups - Implement re-weighting or re-sampling strategies - Use What-If Tool for interactive analysis - Document findings in Model Card
Key Decision: Fairness Indicators for measurement, What-If Tool for exploration
Scenario 9: Hybrid ML Architecture¶
Requirements: Train on-premises, deploy to cloud, data cannot leave premises
Solution: - Train models on-premises with TensorFlow - Export trained models - Deploy to Agent Platform Inference - Use VPN/Interconnect for secure connectivity - Serve predictions via private endpoint
Key Decision: Export trained models, private endpoints for secure serving
Scenario 10: High-Throughput Batch Predictions¶
Requirements: Score millions of records daily, cost-effective, results to BigQuery
Solution: - Use Agent Platform Batch Inference - Source data from BigQuery or Cloud Storage - Configure large batch size for efficiency - Output predictions directly to BigQuery - Schedule daily with Cloud Scheduler
Key Decision: Batch prediction for high throughput, BigQuery output for analytics
Exam Tips and Strategy¶
Keywords to Watch¶
Question Patterns: - "Real-time/low latency" โ Online prediction, Feature Store, caching - "Batch/high throughput" โ Batch prediction, BigQuery ML - "Cost-effective" โ AutoML, batch processing, preemptible VMs, BigQuery ML - "No code/quick start" โ AutoML solutions - "Custom model" โ TensorFlow, PyTorch, custom training - "Explainability" โ Vertex Explainable AI, What-If Tool - "Fairness/bias" โ Fairness Indicators, What-If Tool - "Automated pipeline" โ Agent Platform Pipelines, TFX, Kubeflow - "Data drift" โ Model Monitoring, TFDV - "Scalable" โ Distributed training, Agent Platform, managed services
Service Selection Decision Trees¶
ML Service Decision:
Need quick solution?
โโ YES โ Have labeled data?
โ โโ YES โ AutoML (Tables/Vision/NLP)
โ โโ NO โ Pre-trained APIs
โโ NO โ Custom model needed?
โโ YES โ TensorFlow/PyTorch on Vertex AI
โโ NO โ BigQuery ML (for tabular data)
Deployment Decision:
Latency requirements?
โโ < 1 second โ Online prediction endpoint
โโ Minutes/hours โ Batch prediction
โโ SQL-based โ BigQuery ML prediction functions
Pipeline Orchestration:
Need orchestration?
โโ ML-specific โ Vertex AI Pipelines (Kubeflow)
โโ General workflow โ Cloud Composer (Airflow)
โโ Simple scheduling โ Cloud Scheduler
Time Management¶
- 120 minutes รท 50 questions = 2.4 minutes per question
- First pass: Answer confident questions (60 minutes)
- Second pass: Tackle scenario-based questions (45 minutes)
- Final pass: Review flagged questions (15 minutes)
Common Traps¶
- โ Choosing custom solutions when AutoML would suffice
- โ Selecting online prediction when batch would be more cost-effective
- โ Ignoring data drift and model monitoring
- โ Over-complicating deployment (start simple)
- โ Not considering Responsible AI requirements
- โ Forgetting about BigQuery ML for SQL-based workflows
- โ Choosing wrong metric for the problem type
- โ Not implementing proper train/validation/test splits
Study Checklist¶
Core ML Knowledge: - [ ] Understand supervised vs unsupervised learning - [ ] Know when to use classification vs regression - [ ] Understand evaluation metrics for different problem types - [ ] Know how to handle imbalanced data - [ ] Understand overfitting and regularization techniques - [ ] Know feature engineering best practices - [ ] Understand cross-validation and data splitting
Agent Platform: - [ ] Can create and manage Agent Platform Workbench instances - [ ] Know how to train custom models on Agent Platform - [ ] Understand AutoML capabilities and limitations - [ ] Can deploy models to online and batch prediction - [ ] Know how to configure Model Monitoring - [ ] Understand Feature Store architecture and use cases - [ ] Can build and run Agent Platform Pipelines
TensorFlow and Deep Learning: - [ ] Understand TensorFlow 2.x and Keras APIs - [ ] Know TFX components and pipeline architecture - [ ] Can implement transfer learning - [ ] Understand distributed training strategies - [ ] Know optimization techniques (learning rate, regularization) - [ ] Can use TensorFlow Hub for pre-trained models
MLOps: - [ ] Understand CI/CD for ML pipelines - [ ] Know model versioning strategies - [ ] Can implement A/B testing for models - [ ] Understand retraining triggers and strategies - [ ] Know deployment patterns (canary, blue/green) - [ ] Can orchestrate workflows with Kubeflow/Composer
Data Engineering: - [ ] Know data ingestion options (BigQuery, Cloud Storage, Pub/Sub) - [ ] Understand data preprocessing techniques - [ ] Can use BigQuery for ML workloads - [ ] Know Dataflow for data processing - [ ] Understand data validation with TFDV
Responsible AI: - [ ] Can detect and mitigate bias in models - [ ] Know explainability techniques (SHAP, LIME, IG) - [ ] Understand fairness metrics - [ ] Can implement privacy-preserving ML - [ ] Know how to create Model Cards
Preparation: - [ ] Hands-on experience with Agent Platform (build at least 3 projects) - [ ] Complete official Google Cloud Skills Boost labs - [ ] Practice with sample case studies - [ ] Review TensorFlow and Keras documentation - [ ] Build end-to-end ML pipelines - [ ] Study official exam guide thoroughly
Pro Tip: The Professional ML Engineer exam emphasizes practical scenarios over theoretical knowledge. Focus on understanding when to use which tool/service, how to build production ML systems, and MLOps best practices. Always consider the full ML lifecycle: data โ training โ deployment โ monitoring โ retraining.
Documentation Count: This fact sheet contains 120+ embedded documentation links to official Google Cloud and TensorFlow documentation.
Good luck! This certification demonstrates expert-level machine learning engineering skills on Google Cloud Platform.