
























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























































































Google Professional Machine Learning Engineer Exam 2026: Certification Practice Test — ML Architecture, Data Preparation, Model Development, MLOps, Deployment, Monitoring & Generative AI — 190 Multiple-Choice Questions with Answers & Detailed Rationales
Section 1: Framing ML Problems (Questions 1-25)
Question 1
A retail company wants to reduce customer churn. Before collecting any data, what is the most critical first step?
A. Train a neural network on historical transaction data
B. Define the prediction target, the intervention that will use the prediction, and the business success metric
C. Deploy a churn prediction endpoint to production
D. Purchase additional GPUs for training
Correct Answer: B
Explanation: ML problem framing precedes all technical work. Defining the decision, label window, and success metric ensures the model solves the right problem.
Question 2
An ML engineer is evaluating whether to use ML for a fraud detection system. Which factor most strongly suggests a non-ML solution?
A. The fraud patterns change frequently over time
B. A simple deterministic rule based on transaction amount exceeds the threshold catches 95% of fraud with minimal false positives
C. The dataset contains millions of labeled transactions
D. The business requires real-time predictions
Correct Answer: B
Explanation: If simple rules meet business requirements, ML adds complexity without proportional value. Start with non-ML and escalate only when needed.
Question 3
A hospital wants to predict patient readmission risk. The ML team discovers that historical readmission labels are only available for patients who were readmitted to the same hospital network. What is the primary risk?
A. The model will train too slowly
B. Label bias will cause the model to underestimate readmission risk for patients who seek care elsewhere
C. The model will require too much GPU memory
D. The prediction latency will exceed requirements
Correct Answer: B
Explanation: Incomplete label capture introduces selection bias. Patients readmitted elsewhere are incorrectly labeled as non-readmissions, corrupting training signal.
Question 4
A marketing team wants to “use AI to improve campaign performance.” Which approach best translates this into an ML problem?
A. Cluster all customers into 10 segments using k-means
A. Predict whether a customer will make any purchase in the next 30 days
B. Predict the total gross margin from a customer over the next 12 months
C. Predict the number of website visits in the next week
D. Predict customer satisfaction score
Correct Answer: B
Explanation: CLV prediction should directly inform resource allocation. Gross margin over a meaningful horizon ties prediction to financial impact.
Question 7
An ML team proposes using a pre-trained language model to extract entities from contracts. The team has no labeled data. Which Google Cloud approach minimizes time-to-production?
A. Train a custom BERT model from scratch
B. Use the Natural Language API or Document AI for entity extraction
C. Collect 50,000 labeled contracts and train a supervised model
D. Deploy an open-source model on a Kubernetes cluster
Correct Answer: B
Explanation: Pre-trained APIs require no labeled data and ship immediately. Custom models are warranted only when pre-trained quality is insufficient.
Question 8
A company wants to build a system that predicts whether a loan applicant will default. Regulatory requirements mandate that the model must explain individual decisions. Which modeling approach is most appropriate?
A. A deep neural network with 20 layers
B. A gradient-boosted tree model with Vertex Explainable AI feature attributions
C. A random forest without explainability features
D. An ensemble of 100 models
Correct Answer: B
Explanation: Gradient-boosted trees provide strong performance and native compatibility with feature attribution methods (Sampled Shapley) for regulatory explanations.
Question 9
During problem framing for a churn prediction project, the team discovers that the business cannot act on predictions for customers who are already in long-term contracts. What should the team do?
A. Proceed with the model as planned
B. Narrow the prediction population to customers eligible for retention interventions
C. Add more features to compensate
D. Increase the model complexity
Correct Answer: B
Explanation: Predictions must be actionable. If the business cannot intervene on a segment, including them introduces noise and wastes modeling capacity.
Question 10
A team wants to predict whether equipment will fail within the next 24 hours. Historical data includes sensor readings and failure events, but failures are rare (0.1% of observations). Which problem framing consideration is most critical?
A. Train a separate model for each store
B. Train a global model with store-level features and sufficient historical data
C. Exclude new stores from predictions
D. Use only the 6-month data for all stores
Correct Answer: B
Explanation: Global models leverage cross-store patterns, enabling predictions for stores with limited history. Store embeddings or features capture individual variation.
Question 13
An ML team proposes predicting customer satisfaction scores from support tickets. The business stakeholder asks, “How will we know if the model is working?” Which response best defines ML success?
A. The model achieves 90% accuracy on the test set
B. The model's predictions correlate with actual satisfaction, and the business uses them to route tickets to appropriate specialists, reducing escalations by 15%
C. The model trains in under 1 hour
D. The model uses at least 50 features
Correct Answer: B
Explanation: ML success must connect to business outcomes. Technical metrics matter, but deployment and downstream impact define actual success.
Question 14
A financial institution wants to detect anomalous transactions. They have no labeled fraud data. Which ML approach is most appropriate?
A. Supervised binary classification
B. Unsupervised anomaly detection (e.g., autoencoder reconstruction error)
C. Multi-class classification with fraud categories
D. Regression predicting transaction amount
Correct Answer: B
Explanation: Without labels, unsupervised methods learn normal patterns and flag deviations. Autoencoders are effective for high-dimensional transaction data.
Question 15
During ML feasibility assessment, the team discovers that the data required for a prediction (e.g., same-day inventory levels) is not available at inference time. What is the most appropriate action?
A. Use historical averages as a proxy
B. Re-frame the problem using only features available at prediction time
C. Train the model anyway and impute missing features
D. Deploy and monitor for issues
Correct Answer: B
Explanation: Features must be available at serving time. Using unavailable features creates training-serving skew and invalid predictions.
Question 16
A business wants to segment customers for targeted marketing. They have no predefined segments and want the data to reveal natural groupings. Which problem type is this?
A. Pre-packaged APIs are always slower
B. Custom training is required when the domain is specialized and no pre-trained model covers the target classes
C. Custom training is always cheaper
D. Pre-packaged APIs cannot handle images
Correct Answer: B
Explanation: Pre-packaged APIs cover common domains. Rare or specialized domains require custom training on domain-specific labeled data.
Question 19
An ML engineer is defining the prediction horizon for a churn model. The business can intervene effectively only if churn is predicted at least 14 days in advance. What horizon should the model predict?
A. 1 day
B. 7 days
C. 14 days or more
D. 90 days
Correct Answer: C
Explanation: The prediction horizon must align with the intervention window. Predicting churn with insufficient lead time renders predictions useless.
Question 20
A company wants to predict which users will engage with a new feature. They have data from a similar feature launched 6 months ago. What is the most pragmatic approach?
A. Wait for 12 months of data on the new feature
B. Use transfer learning from the similar feature and fine-tune on early data from the new feature
C. Build a model from scratch ignoring prior data
D. Use only demographic features
Correct Answer: B
Explanation: Transfer learning leverages patterns from related tasks. Early data from the new feature enables fine-tuning for the target domain.
Question 21
During problem framing, the team identifies that model errors have asymmetric costs: false negatives (missing a fraud) cost 10x more than false positives (flagging legitimate transactions). How should this affect the model design?
A. Optimize for accuracy
B. Optimize for recall at an acceptable precision level and adjust the classification threshold accordingly
C. Optimize for precision only
D. Ignore the cost asymmetry
Correct Answer: B
Explanation: Asymmetric costs require threshold adjustment or cost-sensitive learning. Optimizing recall prioritizes catching frauds, accepting more false positives.
Question 22
Question 24
An ML engineer discovers that the training data contains labels that were generated by a heuristic rule, not ground truth. What is the most significant risk?
A. The model will train too slowly
B. The model will learn to replicate the heuristic's biases and errors
C. The model will require more storage
D. The model cannot be deployed
Correct Answer: B
Explanation: Noisy labels propagate into the model. If labels reflect heuristic limitations rather than true outcomes, the model inherits those limitations.
Question 25
A business wants to predict customer support ticket escalation. They have 18 months of ticket data. Which validation strategy best assesses real-world performance?
A. Random 80/20 split
B. Time-based split with the most recent 3 months as the test set
C. Cross-validation with 10 folds
D. Train on all data and evaluate on training set
Correct Answer: B
Explanation: Time-based validation mirrors production deployment. Random splits leak future information into training, overestimating performance.
Section 2: Architecting ML Solutions (Questions 26-50)
Question 26
A team needs to serve predictions with sub-100ms latency for a real-time application. Which serving option is most appropriate?
A. Batch prediction
B. Online prediction with Vertex AI Endpoints
C. BigQuery ML prediction
D. Exporting the model to a local device
Correct Answer: B
Explanation: Online prediction endpoints are designed for low-latency, single-request serving. Batch prediction targets high-throughput, offline scoring.
Question 27
An ML engineer must choose between CPU, GPU, and TPU for training a large transformer model. The model has 1B parameters and training data is in TFRecords. Which accelerator is most cost-effective for this workload?
A. CPU-only instances
B. NVIDIA GPUs
C. TPU pods
D. Edge TPUs
Correct Answer: C
Explanation: TPUs are optimized for large-scale matrix operations in transformer training. TPU pods provide the highest throughput for billion-parameter models.
Question 30
An ML engineer is designing an architecture for a model that must serve predictions both in real-time and in batch. Which design minimizes operational overhead?
A. Maintain two separate models
B. Deploy the model to a Vertex AI Endpoint for online serving and use the same model artifact for batch prediction jobs
C. Use only online prediction
D. Use only batch prediction
Correct Answer: B
Explanation: A single trained model can serve both modes. Vertex AI supports deploying to endpoints and running batch predictions from the same artifact.
Question 31
A team is choosing between Vertex AI Training and Kubeflow on GKE for custom model training. They have no Kubernetes expertise and want managed infrastructure. Which option is most appropriate?
A. Kubeflow on GKE
B. Vertex AI Training
C. Self-managed training on Compute Engine
D. Colab notebooks
Correct Answer: B
Explanation: Vertex AI Training is fully managed, eliminating Kubernetes operational overhead. Kubeflow offers flexibility but requires K8s expertise.
Question 32
A company needs to comply with data residency requirements: all data and model training must occur within the European Union. Which configuration satisfies this requirement?
A. Use the global endpoint for Vertex AI
B. Configure Vertex AI resources in an EU region (e.g., europe-west4)
C. Store data in us-central1 but train in EU
D. Use Cloud CDN for faster access
Correct Answer: B
Explanation: Data residency requires both data storage and compute in the specified region. Regional Vertex AI endpoints ensure compliance.
Question 33
An ML engineer must design a system that provides feature values for both training and online serving consistently. Which component eliminates training-serving skew?
A. A custom script that recomputes features in both paths
B. Vertex AI Feature Store with a single feature definition serving both offline and online
C. Storing features in Cloud SQL
D. Caching feature values in the application layer
Correct Answer: B
Explanation: Feature Store provides a single source of truth for feature definitions, ensuring training and serving use identical transformations.
Question 34
A company wants to implement A/B testing for a new recommendation model. Which approach enables comparing model versions with live traffic?
A. Deploy both models to separate endpoints and compare offline metrics
B. Deploy both models to a single Vertex AI Endpoint with traffic splitting configured
C. Use only the new model and monitor for issues
D. Deploy the new model to 100% of traffic immediately
Correct Answer: B
Explanation: Vertex AI Endpoints support multiple deployed models with traffic split percentages, enabling controlled A/B experiments.
Question 37
An ML engineer must protect against model inversion attacks where attackers reconstruct training data from predictions. Which technique helps mitigate this risk?
A. Increase model size
B. Add differential privacy during training or limit prediction confidence output
C. Use a larger batch size
D. Deploy on a private endpoint
Correct Answer: B
Explanation: Differential privacy adds noise to training, reducing memorization. Limiting confidence scores reduces information leakage per prediction.
Question 38
A team needs to choose between training on a single large VM versus distributed training across multiple smaller VMs. The model has 500M parameters. What factor most strongly favors distributed training?
A. The dataset has only 10,000 examples
B. Training on a single VM would exceed memory or take prohibitively long
C. Distributed training is always faster
D. The team prefers complexity
Correct Answer: B
Explanation: Distributed training addresses memory constraints (model parallelism) and time constraints (data parallelism). For small datasets, single-VM may suffice.
Question 39
A company needs to serve a model to mobile devices with intermittent connectivity. Which deployment approach is most appropriate?
A. Vertex AI Endpoint with public access
B. Edge deployment with TensorFlow Lite or Coral devices
C. Batch prediction
D. Cloud Functions
Correct Answer: B
Explanation: Edge deployment enables offline inference on devices. Cloud-based serving requires connectivity, unsuitable for intermittent scenarios.
Question 40