
Answer-first summary for fast verification
Answer: Deploy the new revision to the existing service without traffic allocated. Split the traffic between the old revision and the new revision.
The question asks for the method to test a new version of an application on 10% of clients with the least amount of effort. Option D is the correct answer because it directly addresses the requirement by allowing you to deploy the new revision to the existing service and then split the traffic between the old and new revisions. This approach is efficient as it utilizes Cloud Run's built-in traffic splitting feature, which requires minimal setup and no additional services or load balancers. Options A, B, and C either involve more manual effort, additional services, or more complex setups than necessary for the given requirement.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can you route 10% of traffic to a new revision (revision B) of your Cloud Run application with minimal effort?
A
Deploy the new revision to the existing service without traffic allocated. Tag the revision and share the URL with 10% of your clients.
B
Create a new service, and deploy the new revisions on the new service. Deploy a new revision of the old application where the application routes a percentage of the traffic to the new service.
C
Create a new service, and deploy the new revision on that new service. Create a load balancer to split the traffic between the old service and the new service.
D
Deploy the new revision to the existing service without traffic allocated. Split the traffic between the old revision and the new revision.
No comments yet.