- A
Use a separate endpoint for shadow testing new model versions.
Why wrong: Shadow testing is a deployment strategy, not a monitoring practice for existing models.
- B
Log prediction requests and responses to Cloud Logging and analyze distribution metrics.
Analyzing request distributions can detect changes in input data patterns that may affect model performance.
- C
Set up Cloud Monitoring alerts for high prediction latency.
Why wrong: Latency is a performance metric, not directly related to model accuracy.
- D
Schedule daily retraining of the model regardless of monitoring alerts.
Why wrong: Scheduled retraining is not a monitoring practice and may not address root causes.
- E
Enable Vertex AI Model Monitoring for feature drift and skew detection on the deployed model.
Model Monitoring directly detects data drift and skew, which are signs of model degradation.
Quick Answer
The answer is to enable Vertex AI Model Monitoring for feature drift and skew detection, and to log prediction requests and responses to Cloud Logging for distribution analysis. Vertex AI Model Monitoring automatically compares live feature distributions against a training baseline to flag drift or skew, while Cloud Logging captures raw prediction data that can be queried for metrics like mean and variance over time, enabling you to detect degradation before it impacts business outcomes. On the Google Professional Data Engineer exam, this pairing tests your understanding that production ML monitoring requires both automated drift alerts and manual log-based analysis—a common trap is choosing only one, such as relying solely on logging without automated drift thresholds. Remember the memory tip: “Log the data, monitor the drift” to recall that logging provides the raw material for analysis, while Model Monitoring provides the automated guardrails.
PDE Operationalizing machine learning models Practice Question
This PDE practice question tests your understanding of operationalizing machine learning models. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company deploys a TensorFlow model on Vertex AI for online predictions. They want to monitor model performance in production to detect degradation. Which TWO practices should they implement? (Choose 2.)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Log prediction requests and responses to Cloud Logging and analyze distribution metrics.
Option B is correct because logging prediction requests and responses to Cloud Logging allows you to analyze distribution metrics (e.g., mean, variance, quantiles) over time. This enables detection of data drift or performance degradation by comparing live distributions against baseline distributions, which is a standard monitoring practice for production ML models.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use a separate endpoint for shadow testing new model versions.
Why it's wrong here
Shadow testing is a deployment strategy, not a monitoring practice for existing models.
- ✓
Log prediction requests and responses to Cloud Logging and analyze distribution metrics.
Why this is correct
Analyzing request distributions can detect changes in input data patterns that may affect model performance.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Set up Cloud Monitoring alerts for high prediction latency.
Why it's wrong here
Latency is a performance metric, not directly related to model accuracy.
- ✗
Schedule daily retraining of the model regardless of monitoring alerts.
Why it's wrong here
Scheduled retraining is not a monitoring practice and may not address root causes.
- ✓
Enable Vertex AI Model Monitoring for feature drift and skew detection on the deployed model.
Why this is correct
Model Monitoring directly detects data drift and skew, which are signs of model degradation.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the distinction between monitoring for model degradation (data drift/skew) versus monitoring for operational issues (latency, errors), leading candidates to confuse infrastructure alerts with model performance monitoring.
Detailed technical explanation
How to think about this question
Vertex AI Model Monitoring (Option E) uses statistical tests like the Kolmogorov-Smirnov test or L-infinity distance to compare feature distributions between training and serving data. It can also detect skew by comparing serving data to a baseline dataset. Under the hood, it samples predictions and computes drift scores per feature, alerting when thresholds are exceeded. A real-world scenario is a model trained on historical data that suddenly receives new user demographics, causing feature drift and silent performance drop.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Operationalizing machine learning models — study guide chapter
Learn the concepts, then practise the questions
- →
Operationalizing machine learning models practice questions
Targeted practice on this topic area only
- →
All PDE questions
499 questions across all exam domains
- →
Google Professional Data Engineer study guide
Full concept coverage aligned to exam objectives
- →
PDE practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PDE practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Designing data processing systems practice questions
Practise PDE questions linked to Designing data processing systems.
Building and operationalizing data processing systems practice questions
Practise PDE questions linked to Building and operationalizing data processing systems.
Operationalizing machine learning models practice questions
Practise PDE questions linked to Operationalizing machine learning models.
Ensuring solution quality practice questions
Practise PDE questions linked to Ensuring solution quality.
PDE fundamentals practice questions
Practise PDE questions linked to PDE fundamentals.
PDE scenario practice questions
Practise PDE questions linked to PDE scenario.
PDE troubleshooting practice questions
Practise PDE questions linked to PDE troubleshooting.
Practice this exam
Start a free PDE practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this PDE question test?
Operationalizing machine learning models — This question tests Operationalizing machine learning models — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Log prediction requests and responses to Cloud Logging and analyze distribution metrics. — Option B is correct because logging prediction requests and responses to Cloud Logging allows you to analyze distribution metrics (e.g., mean, variance, quantiles) over time. This enables detection of data drift or performance degradation by comparing live distributions against baseline distributions, which is a standard monitoring practice for production ML models.
What should I do if I get this PDE question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
2 more ways this is tested on PDE
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company wants to monitor the performance of a deployed model in production. Which metric indicates that the model's predictions are degrading?
easy- ✓ A.Increase in prediction error rate
- B.Increase in prediction latency
- C.Decrease in throughput
- D.Increase in number of requests
Why A: An increase in prediction error rate directly indicates that the model's outputs are deviating from the expected or ground-truth values, signaling degradation in predictive performance. This metric captures the core concept of model drift, where the statistical properties of the input data or the relationship between features and labels change over time, leading to less accurate predictions. In production ML monitoring, tracking error rate (e.g., classification accuracy, RMSE) is the primary method to detect when a model needs retraining or updating.
Variation 2. A company is deploying a machine learning model for fraud detection. The model is trained using TensorFlow and will be served on Vertex AI Prediction. The team wants to implement model monitoring to detect prediction drift. Which TWO actions should they take? (Choose 2)
easy- ✓ A.Configure Vertex AI Model Monitoring to compare online prediction inputs against training data statistics.
- B.Collect ground truth labels for all predictions to measure accuracy drift.
- C.Set up a separate Cloud Monitoring alerting policy to watch for prediction errors.
- D.Enable automatic model retraining in Vertex AI Model Monitoring when drift is detected.
- ✓ E.Enable prediction drift monitoring to detect changes in model output distribution.
Why A: Option A is correct because Vertex AI Model Monitoring can be configured to compare online prediction inputs against training data statistics to detect skew, which is a form of drift. This is a standard capability of Vertex AI Model Monitoring, where you specify a baseline dataset (typically training data) and the service automatically computes statistics on incoming prediction requests to identify distribution shifts.
Keep practising
More PDE practice questions
- A company wants to process large CSV files stored in Cloud Storage and load them into BigQuery. The files are generated…
- A company runs a Dataflow streaming pipeline that reads from Cloud Pub/Sub and writes to BigQuery. The pipeline uses a s…
- Your company uses Vertex AI Pipelines to automate model retraining. The pipeline has three steps: data extraction from B…
- A data science team uses Vertex AI Pipelines to automate retraining. They want to ensure that only models with performan…
- A company needs to process real-time clickstream data and store it in a data warehouse for SQL-based analytics. The data…
- The exhibit shows an IAM policy for a BigQuery dataset. A Dataflow job is failing with 'Access Denied: Table ... User do…
Last reviewed: Jun 30, 2026
This PDE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PDE exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.