nerdexam
Google

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.

Submitted by sofia.br· Apr 18, 2026ML pipeline operationalization

Question

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 optimize costs by using the queries per second (QPS) that the model can serve, and you deployed it on a single machine with 8 vCPUs and no accelerators. A holiday season is approaching and you anticipate four times more traffic during this time than the typical daily traffic. You need to ensure that the model can scale efficiently to the increased demand. What should you do?

Options

  • A
    1. Maintain the same machine type on the endpoint.
  • B
    1. Change the machine type on the endpoint to have 32 vCPUs.
  • C
    1. Maintain the same machine type on the endpoint Configure the endpoint to enable autoscaling
  • D
    1. Change the machine type on the endpoint to have a GPU. Configure the endpoint to enable

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    15% (6)
  • C
    72% (28)
  • D
    10% (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.

A1. Maintain the same machine type on the endpoint.

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.

B1. Change the machine type on the endpoint to have 32 vCPUs.

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.

C1. Maintain the same machine type on the endpoint Configure the endpoint to enable autoscalingCorrect

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.

D1. Change the machine type on the endpoint to have a GPU. Configure the endpoint to enable

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

#Model Scaling#Autoscaling#Vertex AI#ML Operations

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice