PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #273
You recently deployed a model to a Vertex AI endpoint and set up online serving in Vertex AI Feature Store. You have configured a daily batch ingestion job to update your featurestore. During the…
The correct answer is B. Enable autoscaling of the online serving nodes in your featurestore. To improve online serving performance in Vertex AI Feature Store during daily batch ingestion when CPU utilization and latency are high, enable autoscaling for the online serving nodes.
Question
Options
- ASchedule an increase in the number of online serving nodes in your featurestore prior to the batch
- BEnable autoscaling of the online serving nodes in your featurestore
- CEnable autoscaling for the prediction nodes of your DeployedModel in the Vertex AI endpoint
- DIncrease the worker_count in the ImportFeatureValues request of your batch ingestion job
How the community answered
(17 responses)- B82% (14)
- C12% (2)
- D6% (1)
Why each option
To improve online serving performance in Vertex AI Feature Store during daily batch ingestion when CPU utilization and latency are high, enable autoscaling for the online serving nodes.
While scheduling an increase in nodes might help, it is a manual and less dynamic approach than autoscaling, which can adapt more precisely to fluctuating loads and potentially optimize costs by scaling down when demand is low.
Enabling autoscaling for the Vertex AI Feature Store's online serving nodes allows the system to automatically adjust the number of nodes based on real-time demand. This ensures that sufficient capacity is available to maintain low latency and high performance for online feature retrieval, even during peak loads caused by concurrent batch ingestion jobs.
Enabling autoscaling for the Vertex AI endpoint's prediction nodes addresses the scaling of the deployed machine learning model, not the performance of the Vertex AI Feature Store's online serving, which is the component experiencing high CPU and latency.
Increasing the `worker_count` for `ImportFeatureValues` would speed up the batch ingestion process itself, but it could potentially place more load on the feature store's backend during ingestion, possibly worsening online serving performance rather than improving it.
Concept tested: Vertex AI Feature Store online serving autoscaling
Source: https://cloud.google.com/vertex-ai/docs/featurestore/online-serving-nodes-management
Topics
Community Discussion
No community discussion yet for this question.