PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #229
You have built a custom model that performs several memory-intensive preprocessing tasks before it makes a prediction. You deployed the model to a Vertex AI endpoint, and validated that results were…
The correct answer is D. Decrease the CPU utilization target in the autoscaling configurations. If a memory-intensive model on a Vertex AI endpoint isn't autoscaling as expected under load, decreasing the CPU utilization target can prompt earlier scaling by making the endpoint more sensitive to load changes.
Question
Options
- AUse a machine type with more memory
- BDecrease the number of workers per machine
- CIncrease the CPU utilization target in the autoscaling configurations.
- DDecrease the CPU utilization target in the autoscaling configurations
How the community answered
(37 responses)- A11% (4)
- B3% (1)
- C3% (1)
- D84% (31)
Why each option
If a memory-intensive model on a Vertex AI endpoint isn't autoscaling as expected under load, decreasing the CPU utilization target can prompt earlier scaling by making the endpoint more sensitive to load changes.
Using a machine type with more memory addresses individual instance capacity but does not directly fix an autoscaling issue if the trigger isn't firing correctly or early enough to provision more instances.
Decreasing the number of workers per machine would likely reduce overall capacity and worsen the autoscaling problem.
Increasing the CPU utilization target would make the autoscaler less sensitive, requiring a higher CPU load before scaling out, which would exacerbate the problem if the bottleneck occurs at lower CPU utilization.
Vertex AI Endpoints autoscale based on configured metrics, typically CPU utilization. If the model is memory-intensive and experiences bottlenecks before CPU utilization becomes high, decreasing the CPU utilization target will cause the autoscaler to provision new instances sooner, even at lower CPU loads, thus improving autoscaling behavior.
Concept tested: Vertex AI Endpoint autoscaling configuration
Source: https://cloud.google.com/vertex-ai/docs/predictions/configure-managed-resources#configure-autoscaling
Topics
Community Discussion
No community discussion yet for this question.