PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #267
You work for an online grocery store. You recently developed a custom ML model that recommends a recipe when a user arrives at the website. You chose the machine type on the Vertex AI endpoint to opti
The correct answer is C. 1. Maintain the same machine type on the endpoint Configure the endpoint to enable autoscaling. To efficiently scale a Vertex AI endpoint for 4x anticipated traffic, maintain the existing machine type and configure the endpoint to enable autoscaling.
Question
Options
- A
- Maintain the same machine type on the endpoint.
- B
- Change the machine type on the endpoint to have 32 vCPUs.
- C
- Maintain the same machine type on the endpoint Configure the endpoint to enable autoscaling
- D
- Change the machine type on the endpoint to have a GPU. Configure the endpoint to enable
How the community answered
(39 responses)- A3% (1)
- B15% (6)
- C72% (28)
- D10% (4)
Why each option
To efficiently scale a Vertex AI endpoint for 4x anticipated traffic, maintain the existing machine type and configure the endpoint to enable autoscaling.
Maintaining the same single machine without autoscaling will cause the endpoint to be overwhelmed by a 4x traffic increase, leading to performance issues or outages.
Changing to a larger machine type (32 vCPUs) increases individual machine capacity but does not provide dynamic scaling for fluctuating traffic and would lead to over-provisioning and higher costs during off-peak times.
Configuring autoscaling on the Vertex AI endpoint allows the system to automatically provision more instances of the currently cost-optimized machine type to handle increased traffic during peak periods. This ensures efficient resource utilization and cost management by scaling up during high demand and scaling down when traffic subsides.
Changing to a GPU machine type is an unnecessary and costly change as the model was already optimized for and running on a CPU, and GPUs are typically reserved for specific types of intensive deep learning workloads.
Concept tested: Vertex AI Endpoint autoscaling
Source: https://cloud.google.com/vertex-ai/docs/predictions/deploy-model-autoscaling
Topics
Community Discussion
No community discussion yet for this question.