Professional Machine Learning Engineer Exam QuestionsBrowse all questions from this exam

Professional Machine Learning Engineer Exam - Question 190


You recently deployed a model to a Vertex AI endpoint. Your data drifts frequently, so you have enabled request-response logging and created a Vertex AI Model Monitoring job. You have observed that your model is receiving higher traffic than expected. You need to reduce the model monitoring cost while continuing to quickly detect drift. What should you do?

Show Answer
Correct Answer: CD

To reduce the model monitoring cost while maintaining timely detection of drift, the most effective approach is to decrease the sample_rate parameter in the RandomSampleConfig of the monitoring job. This reduces the percentage of incoming requests analyzed, thereby lowering costs, but still allows for sufficient data to detect drift promptly if set appropriately.

Discussion

6 comments
Sign in to comment
pikachu007Option: C
Jan 13, 2024

The answer is C, simplest and does not affect the time it takes to detect the drift

b1a8faeOption: C
Jan 15, 2024

C. https://cloud.google.com/vertex-ai/docs/model-monitoring/overview#considerations

ddoggOption: C
Feb 1, 2024

C as the sample size will be relative to the traffic and also reduce costs.

Carlose2108Option: C
Feb 27, 2024

I went with C.

fitri001Option: C
Apr 21, 2024

Reduced Monitoring Overhead: By decreasing the sample_rate, you instruct Vertex AI Model Monitoring to analyze a smaller percentage of incoming requests. This directly reduces the billing cost associated with monitoring. Fast Drift Detection: A well-chosen sampling rate can still provide enough data to capture significant data drift. Monitoring a smaller sample shouldn't significantly impact your ability to detect drift if it's happening rapidly.

fitri001
Apr 21, 2024

A. DataFlow pipeline with TFDV: While DataFlow pipelines with TFDV can be used for data validation, they require additional development and management overhead compared to simply adjusting the Vertex AI Model Monitoring job configuration. B. Custom SQL script: Custom SQL scripts might not be as efficient or maintainable as the built-in Vertex AI Model Monitoring features. Additionally, it would require manually calculating drift metrics, which can be error-prone. D. Increase monitor_interval: Increasing the monitoring interval reduces the frequency of monitoring checks, potentially delaying drift detection. This is not ideal if data drifts frequently.

LaxmanTiwariOption: C
Jun 30, 2024

fitri001 2 months, 1 week ago A. DataFlow pipeline with TFDV: While DataFlow pipelines with TFDV can be used for data validation, they require additional development and management overhead compared to simply adjusting the Vertex AI Model Monitoring job configuration. B. Custom SQL script: Custom SQL scripts might not be as efficient or maintainable as the built-in Vertex AI Model Monitoring features. Additionally, it would require manually calculating drift metrics, which can be error-prone. D. Increase monitor_interval: Increasing the monitoring interval reduces the frequency of monitoring checks, potentially delaying drift detection. This is not ideal if data drifts frequently.