Vertex AI Custom Model Server Worker Configuration for Autoscaling

PMLE By islever Editorial Last updated

Short answer

B Increase the number of workers in your model server to allow concurrent request processing, thereby raising CPU utilization to trigger Vertex AI autoscaling.

Question

You have deployed a scikit-team model to a Vertex AI endpoint using a custom model server. You enabled autoscaling: however, the deployed model fails to scale beyond one replica, which led to dropped requests. You notice that CPU utilization remains low even during periods of high load. What should you do?
  1. Attach a GPU to the prediction nodes
  2. Increase the number of workers in your model server Correct Answer
  3. Schedule scaling of the nodes to match expected demand
  4. Increase the minReplicaCount in your DeployedModel configuration

Key Takeaways

Autoscaling depends on resource metrics; if a single-threaded server bottlenecks requests without using CPU, the scaler never triggers.

Learn why increasing model server workers resolves low CPU utilization issues that prevent Vertex AI autoscaling from adding replicas.

Common mistake: Choosing D (Increase minReplicaCount) assumes the problem is insufficient baseline capacity, ignoring that the scaler won't expand beyond the minimum due to low utilization signals.

Expert Analysis

The core issue is a misconfiguration of the model serving concurrency, not the infrastructure scaling policy. Vertex AI autoscaling triggers replica expansion based on resource utilization metrics (defaulting to CPU at 60%). In this scenario, CPU remains low despite high load because the single worker thread in the custom server processes requests sequentially. Since one request occupies the worker, other requests queue or drop without consuming significant CPU cycles. Consequently, the metric never hits the threshold to trigger additional replicas.

Option B is correct because increasing the number of workers allows the model server to handle multiple requests concurrently within the same replica. This increases actual CPU consumption during high load, allowing the utilization metric to rise and triggering Vertex AI's autoscaler to add more replicas. As noted in community feedback, "One worker isn't enough to saturate the CPU and so no scaling is triggered." Increasing workers effectively utilizes available resources and addresses the bottleneck.

Option A is incorrect because adding a GPU changes the hardware but does not solve the sequential processing bottleneck if the software stack remains single-threaded. Option C is unnecessary; autoscaling is designed to handle demand fluctuations automatically once configured correctly. Option D only guarantees a minimum number of replicas but does not address the root cause: why the autoscaler refuses to scale up beyond that minimum. The key insight is that autoscaling relies on accurate resource utilization signals; if the application layer blocks efficient resource use, the infrastructure layer cannot react appropriately.

Official Reference

https://cloud.google.com/vertex-ai/docs/general/deployment

This link opens the official vendor documentation in a new tab.

Exam Strategy

When troubleshooting autoscaling failures, always verify that the application generates sufficient load on monitored metrics. If CPU is low under pressure, check for synchronous/blocking code patterns. Adjusting concurrency settings (workers/threads) often resolves metric-based scaling traps before changing infrastructure configurations.

Community Votes

B
75%
C
13%
A
12%

75% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 12 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 12

  1. sonicclasps 👍 9 Answered A
    "We generally recommend starting with one worker or thread per core. If you notice that CPU utilization is low, especially under high load, or your model is not scaling up because CPU utilization is low, then increase the number of workers." https://cloud.google.com/vertex-ai/docs/general/deployment
  2. sonicclasps 👍 6
    sorry clicked wrong, answer is B
  3. f084277 👍 4 Answered B
    B. One worker isn't enough to saturate the CPU and so no scaling is triggered.
  4. pikachu007 👍 3 Answered B
    Low CPU Utilization: Despite high load, low CPU utilization indicates underutilization of available resources, suggesting a bottleneck within the model server itself, not overall compute capacity. Worker Concurrency: Increasing the number of workers within the model server allows it to handle more concurrent requests, effectively utilizing available CPU resources and addressing the bottleneck.
  5. fitri001 👍 2 Answered B
    agree with sonicclasps -> B
Show 7 more comments
  1. Carlose2108 👍 2 Answered B
    I went B
  2. taylz876 👍 1 Answered B
    Why B is right Each node runs a container that serves the model through workers, and the number of workers decides how much of the node's resources get used. If the model server has too few workers, it can only handle a few requests at once, no matter how much CPU is free. Requests queue up and get dropped, while CPU stays low. Because CPU never reaches the autoscaling target (60% by default), the endpoint never adds replicas. Adding workers lets each node use its CPU, which handles more requests per node and allows CPU to rise, so autoscaling triggers when it should. This is an Agent Platform endpoint (formerly Vertex AI endpoint).
  3. guilhermebutzke 👍 1 Answered C
    My answer: C The problem is in scale. The provided resources areok. So, A: Not correct, because CPU is enough. B: Not correct, because increasing the number of workers will accelerate the process in a single replica, and make the time of prediction faster for example, but not will happen in scale problem. C:Correct: This option involves adjusting the scaling of resources to match the expected demand, ensuring that the system can handle increased loads effectively D: This might help ensure at least one replica is always available, but it won't address the issue of not scaling up during high load.
  4. guilhermebutzke 👍 1
    Increase the number of workers within the model server will distribute the load within the single replica, but it wouldn't address the problem of not scaling beyond one replica. Increasin worker will be a good option for delay in prediction.
  5. BlehMaks 👍 1
    i don't get it. The autoscaling system should increase/decrease the number of workers itself. if we do it instead of the autoscaling system, why do we need it?
  6. pinimichele01 👍 1
    NOT D: This might help ensure at least one replica is always available, but it won't address the issue of not scaling up during high load.
  7. asmgi 👍 1
    Not scaling beyond one replica is symptom and not the source of the problem. The problem is low CPU utilization.

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All PMLE Questions

Access 65 questions with complete answers and detailed explanations.

View Full PMLE Practice Test →

← Back to PMLE Study Guide