nerdexam
Google

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.

Submitted by marco_it· Apr 18, 2026Monitoring, optimizing, and maintaining ML solutions

Question

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 received in a reasonable amount of time. After routing user traffic to the endpoint, you discover that the endpoint does not autoscale as expected when receiving multiple requests. What should you do?

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)
  • A
    11% (4)
  • B
    3% (1)
  • C
    3% (1)
  • D
    84% (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.

AUse a machine type with more memory

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.

BDecrease the number of workers per machine

Decreasing the number of workers per machine would likely reduce overall capacity and worsen the autoscaling problem.

CIncrease the CPU utilization target in the autoscaling configurations.

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.

DDecrease the CPU utilization target in the autoscaling configurationsCorrect

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

#Vertex AI Endpoints#Autoscaling#Resource optimization#Deployment configuration

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice