PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #175
You work for a small company that has deployed an ML model with autoscaling on Vertex AI to serve online predictions in a production environment. The current model receives about 20 prediction request
The correct answer is C. Remove your new model from the production environment. Compare the new model and existing. Given that a new canary-tested model on Vertex AI is exhibiting extremely high prediction latency compared to the production model, the immediate action should be to remove the new model from production.
Question
Options
- ASubmit a request to raise your project quota to ensure that multiple prediction services can run
- BTurn off auto-scaling for the online prediction service of your new model. Use manual scaling with
- CRemove your new model from the production environment. Compare the new model and existing
- DRemove your new model from the production environment. For a short trial period, send all
How the community answered
(44 responses)- A16% (7)
- B11% (5)
- C68% (30)
- D5% (2)
Why each option
Given that a new canary-tested model on Vertex AI is exhibiting extremely high prediction latency compared to the production model, the immediate action should be to remove the new model from production.
Quota issues typically manifest as deployment failures or resource unavailability, not as extremely high individual prediction latencies for a small percentage of traffic, especially if the old model is working correctly.
Turning off autoscaling and using manual scaling with more instances might mitigate throughput issues, but it will not resolve the fundamental problem of high latency per request if the model itself is slow or inefficient, and it incurs higher costs.
The new model's prediction latency (30-180 seconds) is drastically higher than the existing model's (1 second), indicating a severe performance regression or critical issue. The immediate and safest action is to remove the problematic model from production to prevent further user impact, then conduct a thorough investigation and comparison to identify the root cause.
Sending all traffic to a model with 30-180 second latency would severely degrade user experience and is a highly risky action, exacerbating the problem rather than solving it.
Concept tested: MLOps, A/B testing/canary deployment issue resolution
Source: https://cloud.google.com/architecture/mlops-continuous-delivery-and-automation-pipelines-in-ml#continuous_monitoring
Topics
Community Discussion
No community discussion yet for this question.