
Answer-first summary for fast verification
Answer: Use the `--splits` option during deployment to allocate 98% of traffic to the current version and 2% to the new version within the same application.
Option B is correct because the `--splits` option is specifically designed for traffic splitting between different versions of a service in App Engine. This method allows you to easily specify that 98% of users continue to see the current version while 2% are served the new version, facilitating a simple and effective testing process. Options A, C, and D are incorrect for various reasons: A and D suggest creating a new App Engine application, which is not possible as a GCP project can only have one App Engine application. Option C's `--migrate` option is for data migration, not traffic splitting, making it unsuitable for this scenario. For more information, refer to the App Engine documentation on traffic splitting and an overview of App Engine.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
After making significant UI/UX changes to your website hosted on the App Engine standard environment, you wish to test the new UI with only 2% of your users before a full rollout. You aim for a simple testing process without excessive complexity. What is the best approach to achieve this?
A
Deploy the new version in a separate App Engine application within the same project and use the App Engine library to proxy 2% of the requests to the new version.
B
Use the --splits option during deployment to allocate 98% of traffic to the current version and 2% to the new version within the same application.
C
Rewrite the existing deployment and utilize the --migrate option for deploying the new version.
D
Set up a new App Engine application in the same project and configure the network load balancer to direct 2% of traffic to the new application.
No comments yet.