Google Cloud Associate Cloud Engineer — Question 24
You have a website hosted on App Engine standard environment. You want 1% of your users to see a new test version of the website. You want to minimize complexity. What should you do?
Answer options
- A. Deploy the new version in the same application and use the --migrate option.
- B. Deploy the new version in the same application and use the --splits option to give a weight of 99 to the current version and a weight of 1 to the new version.
- C. Create a new App Engine application in the same project. Deploy the new version in that application. Use the App Engine library to proxy 1% of the requests to the new version.
- D. Create a new App Engine application in the same project. Deploy the new version in that application. Configure your network load balancer to send 1% of the traffic to that new application.
Correct answer: B
Explanation
The correct answer is B, as using the --splits option allows you to easily control the distribution of traffic between the current and new versions without adding significant complexity. Option A does not allow for traffic splitting, while options C and D introduce unnecessary complications by requiring separate applications and additional routing configurations.