Canary Deployment with Vertex AI Endpoint Traffic Splitting
Short answer
C Deploy the new model to the existing Vertex AI endpoint and use traffic splitting to route 5% of production traffic to it, monitoring end-user metrics before gradually increasing traffic.
Question
Key Takeaways
This question tests the ability to perform a canary deployment in Vertex AI using native traffic splitting on an existing endpoint, avoiding the complexity of custom routing services or new endpoints.
Testing a new model in production with minimal complexity is achieved by deploying it to an existing Vertex AI endpoint and using native traffic splitting to route a small percentage of live traffic to the new version.
Common mistake: Option A is a plausible wrong answer because it also uses traffic splitting, but it incorrectly adds complexity by creating a new endpoint and requiring a custom service to route traffic, violating the question's constraint.
Expert Analysis
Minimizing Complexity with Vertex AI Traffic Splitting
The scenario requires testing a newly retrained model in production while explicitly minimizing complexity. Vertex AI endpoints natively support traffic splitting between multiple model versions deployed to the same endpoint. By deploying the new model to the existing endpoint and configuring a 5% traffic split, you achieve a canary release without altering the client application or introducing new infrastructure. This directly satisfies the requirement to test in production with the least operational overhead.
Request Routing Path
When the streaming music service requests a "next song" recommendation, it continues calling the existing Vertex AI endpoint URL. Vertex AI intercepts the request and routes 95% to the previous model and 5% to the new model based on the configured split. This allows you to gather real-time end-user metrics, such as listening time, for both models simultaneously under true production conditions. If the new model performs better, you can adjust the traffic split via a simple configuration change, gradually shifting more traffic until you achieve full deployment.
Why Other Options Fail
Option A introduces unnecessary complexity by creating a new endpoint and requiring a custom-built service to route traffic, violating the "minimizing complexity" constraint. Option B describes an offline evaluation using batch predictions and historical data, which does not test the model in the live production environment as requested. Option D replaces the old model entirely, exposing 100% of users to the new model immediately; furthermore, prediction drift detection is used to monitor feature or data distribution changes, not to evaluate model performance or serve as a canary deployment mechanism.
Exam Strategy
When a question asks to test a model in production while minimizing complexity, look for native features like Vertex AI endpoint traffic splitting. Avoid options that require building custom routing services, creating new endpoints, or relying on offline batch predictions. If replacing a model entirely is offered, reject it in favor of gradual canary releases.
Community Votes
86% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 5 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 5
-
daidai75 👍 4 Answered CHere's why the option C is preferable: Minimized complexity: Leverages existing endpoint: No need to create and manage a new endpoint, reducing setup and maintenance overhead. Traffic splitting readily available: Vertex AI provides built-in traffic splitting functionality, simplifying traffic distribution. Efficient testing and monitoring: Direct comparison: Sending a percentage of traffic to the new model allows for direct comparison with the current model's performance on real user data. Gradual rollout: Starting with a small percentage mitigates potential risks and allows for gradual transition based on observed improvements. End-user metric monitoring: Focusing on metrics like listening time directly reflects user engagement and preference for the new recommendations.
-
b1a8fae 👍 2 Answered CTraffic splitting is a feature of Vertex AI that allows you to distribute the prediction requests among multiple models or model versions within the same endpoint. You can specify the percentage of traffic that each model or model version receives, and change it at any time. Traffic splitting can help you test the new model in production without creating a new endpoint or a separate service. You can deploy the new model to the existing Vertex AI endpoint, and use traffic splitting to send 5% of production traffic to the new model. You can monitor the end-user metrics, such as listening time, to compare the performance of the new model and the previous model. If the end-user metrics improve between models over time, you can gradually increase the percentage of production traffic sent to the new model. This solution can help you test the new model in production while minimizing complexity and cost.
-
pikachu007 👍 2 Answered COption A: Building a separate service adds unnecessary complexity and requires managing two endpoints. Option B: Batch predictions in Vertex AI Experiments might not reflect real-time user behavior and don't directly affect the production environment. Option D: Model monitoring alerts for prediction drift might be triggered by natural variations in user behavior instead of genuine performance issues and could lead to unnecessary model rollbacks.
-
fitri001 👍 2 Answered CFor Simplicity: If speed and simplicity are your top priorities, deploying to the existing endpoint with caution (close monitoring during deployment) can work.--> choose C For Safety and Control: If minimizing risk and having better control over the testing process are more important, creating a new endpoint is the better option. This is generally the recommended approach for most production deployments. --> choose A
-
taylz876 👍 1 Answered CWhy C is right • Same endpoint, so no extra complexity: deploying the new model to the existing endpoint means users keep calling the same address, and nothing new has to be built. • Traffic splitting is built in: the endpoint can send a percentage of requests to each model, and changing the split is a config change, not a code change or redeployment. • Small start, gradual growth: only 5% of users see the new model at first, so any problem affects very few people. If listening time improves, you raise the share step by step, and you can shift back at any time. • Real-world metrics: the best measure of a recommendation is what users actually do, such as listening time, and you only get that from live traffic. Why the others are wrong • A: A new endpoint means you have to build your own service to split the traffic randomly, which is extra complexity that the endpoint's traffic splitting already handles. • B: An offline comparison with batch predictions has already been done (the offline results were positive). It doesn't show how real users respond, and it doesn't test the model in production. • D: Replacing the model on the endpoint and waiting for a drift alert sends all the traffic to the unproven model at once. If it's worse, every user is affected before you notice.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →