Vertex AI Traffic Splitting for Controlled Model Deployment

PMLE By islever Editorial Last updated

Short answer

A Import the new model into the same Vertex AI Model Registry as a different version and deploy both to the same Vertex AI endpoint using traffic splitting to route 95% of traffic to the existing BigQuery ML model and 5% to the new custom model.

Question

You work for a retail company that is using a regression model built with BigQuery ML to predict product sales. This model is being used to serve online predictions. Recently you developed a new version of the model that uses a different architecture (custom model). Initial analysis revealed that both models are performing as expected. You want to deploy the new version of the model to production and monitor the performance over the next two months. You need to minimize the impact to the existing and future model users. How should you deploy the model?
  1. Import the new model to the same Vertex AI Model Registry as a different version of the existing model. Deploy the new model to the same Vertex AI endpoint as the existing model, and use traffic splitting to route 95% of production traffic to the BigQuery ML model and 5% of production traffic to the new model. Correct Answer
  2. Import the new model to the same Vertex AI Model Registry as the existing model. Deploy the models to one Vertex AI endpoint. Route 95% of production traffic to the BigQuery ML model and 5% of production traffic to the new model.
  3. Import the new model to the same Vertex AI Model Registry as the existing model. Deploy each model to a separate Vertex AI endpoint.
  4. Deploy the new model to a separate Vertex AI endpoint. Create a Cloud Run service that routes the prediction requests to the corresponding endpoints based on the input feature values.

Key Takeaways

The main trap is confusing model versioning with traffic routing; you must explicitly configure traffic splitting on the endpoint to control how requests are distributed between model versions.

Learn how to use Vertex AI traffic splitting to deploy a new custom model alongside an existing BigQuery ML model, ensuring minimal user impact during a canary rollout.

Common mistake: Candidates often choose Option B, assuming that deploying both models to the same endpoint automatically distributes traffic. However, without explicit traffic splitting configuration, Vertex AI does not guarantee controlled distribution, making Option A the correct choice.

Expert Analysis

Traffic Splitting vs. Model Versioning

The core challenge is deploying a new model version while minimizing impact on existing users and enabling performance monitoring. The key technical capability here is Vertex AI's traffic splitting feature on endpoints.

Option A correctly leverages traffic splitting to route 95% of traffic to the stable BigQuery ML model and 5% to the new custom model. This allows for a controlled canary rollout where the new model is tested in production with minimal user exposure. If issues arise, only a small fraction of requests are affected, satisfying the "minimize impact" requirement.

Option B suggests deploying to one endpoint but omits traffic splitting. Without explicit splitting rules, Vertex AI does not automatically distribute traffic between models on the same endpoint in a controlled manner; it typically requires configuration to define how traffic is routed. Thus, B is incomplete or ambiguous compared to A.

Option C deploys to separate endpoints. This forces client applications to change their prediction endpoints, which directly contradicts the goal of minimizing impact on existing users who rely on the current endpoint.

Option D introduces unnecessary complexity with Cloud Run routing logic based on input features, which is over-engineered and not aligned with standard model deployment practices for gradual rollouts.

Why Option A is Correct

Option A explicitly includes traffic splitting, which is the mechanism for gradual rollout and monitoring. It keeps the models in the same registry (good practice) and uses the endpoint’s native traffic distribution to isolate risk. The comments support this, noting that traffic splitting enables monitoring without disrupting most users.

Operational Consequence

Choosing Option C would require updating all client code to point to a new endpoint, causing significant disruption. Choosing Option B might lead to unpredictable behavior if traffic isn’t explicitly split. Option A provides the safest, most controlled path to production validation.

Official Reference

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

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

Exam Strategy

When asked about deploying new models with minimal user impact, look for options that include 'traffic splitting' or 'canary rollout'. Avoid options that suggest changing endpoints or adding complex routing layers unless explicitly required. Always verify that the option specifies how traffic is distributed between old and new models.

Frequently Asked Questions

Can I deploy multiple models to the same Vertex AI endpoint?

Yes, you can deploy multiple models or versions to the same Vertex AI endpoint and use traffic splitting to distribute requests among them.

What happens if I don't use traffic splitting when deploying a new model?

Without traffic splitting, you cannot control how requests are routed between models. You might end up sending all traffic to one model or face unpredictable behavior, risking user experience.

More PMLE FAQ →

Community Votes

A
72%
B
14%
C
14%

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

Discussion 8 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 8

  1. fitri001 👍 7 Answered A
    Minimal Disruption: Deploying the new model to the same endpoint avoids changes for existing users. Traffic splitting ensures a gradual rollout, minimizing any potential impact on production. Performance Monitoring: By routing a small percentage of traffic (5%) to the new model, you can monitor its performance in a controlled environment for the next two months. Metrics like prediction accuracy and latency can be compared with the BigQuery ML model. Versioning in Model Registry: Storing both models in the same Vertex AI Model Registry with clear versioning allows easy tracking and management.
  2. Yan_X 👍 4 Answered A
    A, no need to separate endpoint.
  3. fitri001 👍 2
    why not others option? B. Deploying Models to One Endpoint without Traffic Splitting: This approach doesn't allow for controlled rollout and could abruptly switch all traffic to the new model, potentially causing disruptions. C. Deploying Models to Separate Endpoints: This requires users to update their prediction pipelines to interact with the new endpoint, introducing unnecessary complexity and potential delays. D. Cloud Run Service with Feature-Based Routing: While Cloud Run can route traffic, feature-based routing might be more complex to implement for sales prediction and might not be necessary with traffic splitting.
  4. pikachu007 👍 2 Answered A
    B. Doesn't Specify Traffic Splitting: Deploying models to a single endpoint without explicit traffic splitting might lead to unpredictable model selection behavior, hindering controlled evaluation. C. Separate Endpoints: While isolating models, it introduces complexity in managing multiple endpoints and routing logic, increasing operational overhead. D. Cloud Run Routing: Adds complexity by requiring a separate service to manage routing, potentially increasing latency and maintenance overhead compared to Vertex AI's built-in traffic splitting.
  5. bfdf9c8 👍 2 Answered B
    I’m considering two options, A and B. Both deploy to the same endpoint and divide traffic in a similar way. However, option B is more appropriate because it generates a new model rather than just creating a new version of the existing model.
Show 3 more comments
  1. BlehMaks 👍 2 Answered C
    as i understand we need to minimize the impact to the model users, so if we take a part of the traffic from the old model users, we will effect them. As for me we should deploy models to separated endpoints and duplicate the traffic
  2. pinimichele01 👍 2 Answered A
    https://cloud.google.com/vertex-ai/docs/general/deployment#models-endpoint
  3. taylz876 👍 1 Answered A
    Why A is right • Same model, new version: your notes say that setting parentModel makes an upload a new version of an existing model instead of a separate model. Both versions then live together in the Model Registry, with version history and easy rollback. • Minimal impact on users: the new model gets only 5% of the traffic, so a problem affects very few people. This is a canary rollout. • One endpoint, so users change nothing: existing and future users keep calling the same endpoint address, and the traffic split is a config change, not a code change or redeployment. • Two months of monitoring: you can raise the new model's share gradually, or shift all traffic back to the BigQuery ML model at any time.

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