Monitoring Feature Attribution Drift in Vertex AI
Short answer
D Enable request-response logging for the Vertex AI endpoint, set up alerts using Cloud Logging, and review feature attributions in the Google Cloud console.
Question
Key Takeaways
Feature attribution drift monitoring in Vertex AI requires request-response logging to be enabled so the monitoring job can access live traffic data for calculation.
Learn how to monitor feature attribution drift and continuous evaluation metrics in Vertex AI by enabling request-response logging and using Cloud Logging alerts with the Vertex AI console.
Common mistake: Choosing option C because TensorFlow Data Validation is a powerful tool for drift detection, but it is not the integrated, continuous solution provided by Vertex AI Model Monitoring for operational endpoints.
Expert Analysis
Vertex AI Model Monitoring Capabilities
The question asks how to monitor for feature attribution drift and establish continuous evaluation metrics after deploying a model to a Vertex AI endpoint. The key constraint is that you have already configured a Vertex AI Model Monitoring Job. This service is designed to automatically detect data drift, including feature attribution drift, by analyzing production traffic.
Request-Response Logging Requirement
To calculate feature attributions (such as SHAP values) on live traffic, the monitoring system requires access to both the input features and the model's predictions. Vertex AI Model Monitoring achieves this by sampling traffic and storing it in BigQuery. This process relies on request-response logging being enabled for the endpoint. Without this logging, the monitoring job cannot access the necessary data to compute attributions or evaluate performance against ground truth labels (if provided). Therefore, enabling request-response logging is a prerequisite for the monitoring job to function correctly for these specific metrics.
Alerting and Review Mechanism
Once request-response logging is enabled, the Model Monitoring Job runs continuously. It generates reports and triggers alerts when drift thresholds are exceeded. These alerts are sent to Cloud Logging (and optionally Cloud Monitoring/Pub/Sub for custom actions). To review the specific details of feature attribution drift, users typically use the Vertex AI Console, which visualizes the monitoring reports and attribution scores derived from the logged data. While external tools like Looker Studio can visualize this data, the native console provides the direct interface for reviewing drift reports generated by the monitoring job. Alerts via Cloud Logging ensure timely notification.
Why Other Options Are Incorrect
Option A suggests using Cloud Logging alerts but reviewing attributions without explicitly enabling request-response logging, which is technically insufficient for the monitoring job to compute attributions on live traffic. Option B involves creating a custom Looker Studio dashboard, which is unnecessary complexity when the Vertex AI Console provides built-in visualization for monitoring reports. Option C proposes using Pub/Sub and a Cloud Run function with TensorFlow Data Validation (TFDV). While TFDV can detect drift, it is not the standard mechanism for continuous operational monitoring within Vertex AI; the Vertex AI Model Monitoring service handles this natively. Furthermore, setting up a custom pipeline for every retraining cycle contradicts the goal of leveraging the managed monitoring service.
Conclusion
The correct approach combines enabling the underlying data collection mechanism (request-response logging) with the native alerting and review workflows provided by Vertex AI. This ensures the monitoring job has the data it needs to calculate feature attributions and that administrators are alerted via Cloud Logging to review the results in the console.
Official Reference
https://cloud.google.com/vertex-ai/docs/model-monitoring/overview
This link opens the official vendor documentation in a new tab.
Exam Strategy
When dealing with Vertex AI Model Monitoring questions, always verify if request-response logging is mentioned as a requirement. If the question asks about monitoring data drift or feature attributions on live traffic, enabling request-response logging is almost always the foundational step. Focus on the integration between the monitoring job, the logging mechanism, and the native console for reporting rather than building custom pipelines unless explicitly asked.
Frequently Asked Questions
Why is request-response logging required for feature attribution drift?
Can I use Looker Studio instead of the Vertex AI Console?
What happens if I don't enable request-response logging?
Community Votes
57% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 7 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 7
-
qaz09 👍 4 Answered Anot C, D -> If an endpoint has Model Monitoring enabled, you can't enable request-response logging for the same endpoint. https://cloud.google.com/vertex-ai/docs/predictions/online-prediction-logging#model-monitoring A is simpler solution than B, I don't think there is a need to create custom Looker Studio dashboards, since you can use Vertex AI console.
-
hit_cloudie 👍 4 Answered DThis leverages Vertex AI Model Monitoring with request-response logging, Cloud Logging alerts, and built-in feature attribution drift review.
-
winston9 👍 2 Answered Dthe monitoring service and manual request-response logging both utilize the same underlying BigQuery mechanism; but still, D remains the best answer because of how Model Monitoring v1 actually operates on the backend to satisfy the requirement of "monitoring feature attribution drift
-
taylz876 👍 1 Answered DWhy D is right • Feature attribution drift needs the live traffic data. To calculate attributions on production traffic, the endpoint has to save the incoming requests and returned predictions. Enabling request-response logging does that, and it gives the raw data to measure drift and to build continuous evaluation metrics. • Alerts through Cloud Logging: when the monitoring job sees the attributions drifting from the baseline, you're alerted without having to check by hand. • Review in the console: you open the Agent Platform console to see which features' attributions have shifted. The visualization is built in. Why the others are wrong • A: It sets up alerts and reviews attributions, but skips enabling request-response logging, so the endpoint doesn't save the payloads that the attributions and evaluation metrics need. • B: A custom Looker Studio (now Data Studio) dashboard reviewed periodically is extra work, and the console already shows feature attribution drift. • C: Pub/Sub plus a Cloud Run function running TensorFlow Data Validation checks raw data and schema drift. It doesn't track feature attribution drift, which needs the model's predictions.
-
Johnb9682 👍 1 Answered D1. Enable Request-Response Logging on the Endpoint: 2. Set Up Alerts Using Cloud Logging / Cloud Monitoring 3. Review Feature Attributions in the Google Cloud Console
Show 2 more comments
-
dija123 👍 1 Answered ATotally agree with A.
-
el_vampiro 👍 1 Answered Aqaz01 is right
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →