Managing Cold Start Latency in Low-Traffic Vertex AI Endpoints
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 requests per hour with an average response time of one second. You have retrained the same model on a new batch of data, and now you are canary testing it, sending ~10% of production traffic to the new model. During this canary test, you notice that prediction requests for your new model are taking between 30 and 180 seconds to complete. What should you do?
Community Votes
53% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
Tests recognition of autoscale-to-zero behavior versus model performance issues, trapping candidates who assume code defects instead of infrastructure provisioning delays.
This question evaluates how to troubleshoot high latency in Vertex AI online prediction services under low request volumes, with community consensus favoring manual scaling to prevent cold starts. Candidates must distinguish between infrastructure provisioning delays and actual model performance regressions.
Option C is commonly selected due to the dramatic latency spike, but it incorrectly attributes predictable cold-start delays to a hidden code or data bottleneck.
Community Discussion (13 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Vertex AI automatically scales prediction service replicas down to zero during periods of inactivity to optimize costs. With only twenty requests per hour, the new model instance consistently spins down, forcing a lengthy cold start whenever traffic arrives. Disabling auto-scaling and configuring a single dedicated node ensures the environment remains warm, instantly eliminating the thirty to one hundred eighty second initialization delay. This approach directly addresses the infrastructure bottleneck while maintaining the integrity of the canary test.Why the Other Options Are Wrong
Raising project quotas does not influence runtime provisioning speed or eliminate cold start overhead. Removing the model to compare code ignores the well-documented autoscaling mechanics of managed ML platforms and prematurely halts valid performance validation. Diverting traffic to BigQuery for batch processing fundamentally changes the serving architecture and defeats the purpose of real-time online prediction evaluation. Each alternative fails to resolve the immediate latency trigger during active canary deployment.Community Comment Notes
Candidates heavily debated options B and C, with many initially suspecting a code regression. Comment [1] accurately identifies that sparse traffic triggers scale-to-zero behavior, making persistent nodes essential for consistent latency. Comment [2] reinforces this by citing official documentation that mandates a minimum replica count, validating manual scaling as the prescribed remediation. While some users advocate for debugging code first, the predictable infrastructure pattern strongly supports prioritizing deployment configuration over premature code inspection.Official Reference
Exam Strategy
Always distinguish between application-level bottlenecks and cloud infrastructure provisioning limits when latency correlates with low traffic patterns. In certification scenarios, recognizing autoscaling trade-offs like cost optimization versus cold start latency frequently determines the correct architectural decision.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →