How to Detect Feature Distribution Drift on a Vertex AI Endpoint?

You are training and deploying updated versions of a regression model with tabular data by using Vertex AI Pipelines, Vertex AI Training, Vertex AI Experiments, and Vertex AI Endpoints. The model is deployed in a Vertex AI endpoint, and your users call the model by using the Vertex AI endpoint. You want to receive an email when the feature data distribution changes significantly, so you can retrigger the training pipeline and deploy an updated version of your model. What should you do?

  1. Use Vertex Al Model Monitoring. Enable prediction drift monitoring on the endpoint, and specify a notification email. Source Reference Answer
  2. In Cloud Logging, create a logs-based alert using the logs in the Vertex Al endpoint. Configure Cloud Logging to send an email when the alert is triggered.
  3. In Cloud Monitoring create a logs-based metric and a threshold alert for the metric. Configure Cloud Monitoring to send an email when the alert is triggered.
  4. Export the container logs of the endpoint to BigQuery. Create a Cloud Function to run a SQL query over the exported logs and send an email. Use Cloud Scheduler to trigger the Cloud Function.

Community Votes

A
100%

100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The question tests whether you recognize that Vertex AI Model Monitoring natively provides prediction drift detection and alerting on endpoints, without needing custom logging or infrastructure.

For detecting significant feature data distribution changes on a deployed Vertex AI model, the recommended solution is Vertex AI Model Monitoring with prediction drift monitoring and email notifications. Community consensus strongly supports Option A as the purpose-built, out-of-the-box service for this requirement.

Choosing Cloud Logging/Cloud Monitoring or custom BigQuery/Cloud Function pipelines is the most common mistake because these services can monitor data, but they lack the specialized, automated drift detection and threshold alerting that Vertex AI Model Monitoring provides, making them unnecessarily complex and less effective.

Community Discussion (5 comments)

CHARLIE2108 👍 3 Selected: A
I went with A
daidai75 👍 1 Selected: A
Vertex AI Model Monitoring is specifically designed for this purpose and provides out-of-the-box functionality for monitoring the data distribution of your model's predictions. It can automatically detect drift and trigger alerts based on predefined thresholds, making it the most efficient and straightforward solution. Option B,C and D are either over complex or too many manual operations.
b1a8fae 👍 1 Selected: A
https://cloud.google.com/blog/topics/developers-practitioners/monitor-models-training-serving-skew-vertex-ai
36bdc1e 👍 1
A Prediction drift is the change in the distribution of feature values or labels over time.
pikachu007 👍 1 Selected: A
Options B and C: While Cloud Logging and Cloud Monitoring can be used for general monitoring, they don't have the same specialized focus on prediction drift, potentially requiring more complex setup and analysis. Option D: Exporting logs to BigQuery and creating a Cloud Function for analysis can be time-consuming and less efficient compared to Vertex AI Model Monitoring's out-of-the-box capabilities.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

Vertex AI Model Monitoring is the dedicated Google Cloud service designed to monitor machine learning models deployed on Vertex AI Endpoints. It can automatically detect prediction drift, which is the change in the distribution of feature values or labels over time, and it supports configuring notification channels such as email. Option A correctly combines enabling prediction drift monitoring on the endpoint with specifying a notification email, fulfilling the requirement with minimal setup and no custom code.

Why the Other Options Are Wrong

Option B suggests creating a logs-based alert from Vertex AI endpoint logs. While Cloud Logging can monitor logs, prediction drift is not inherently available as a simple log signal; it requires statistical analysis of model prediction data, which Vertex AI Model Monitoring already performs. Option C similarly relies on Cloud Monitoring logs-based metrics and threshold alerts, but this approach demands manually defining drift metrics and thresholds, duplicating the functionality provided natively by Vertex AI Model Monitoring. Option D is even more complex: exporting container logs to BigQuery, writing SQL queries, and using Cloud Functions plus Cloud Scheduler is an unnecessarily heavy solution for a feature that is integrated into Vertex AI Model Monitoring out of the box.

Community Comment Notes

Commenters overwhelmingly support Option A with 100% of votes. One comment highlights that Vertex AI Model Monitoring is specifically designed for this purpose and provides out-of-the-box functionality for monitoring the data distribution of predictions, automatically detecting drift and triggering alerts. Another commenter points out that Options B and C lack the specialized focus on prediction drift and would require more complex setup, while Option D is time-consuming and less efficient. A useful link was shared to the official Google Cloud blog post about monitoring model training-serving skew using Vertex AI, reinforcing that this service is the right choice.

Official Reference

Exam Strategy

When a question asks about detecting drift or skew on a deployed Vertex AI model, immediately look for the option that mentions Vertex AI Model Monitoring. Avoid overengineering solutions that require log exports, SQL queries, or custom alerting pipelines, as Google Cloud provides a managed service specifically for this scenario.

Related Analysis

Practice All PMLE Questions

Access 65 questions with complete answers and detailed explanations.

View Full PMLE Practice Test →

← Back to PMLE Study Guide