
Answer-first summary for fast verification
Answer: Deploy a new version of the application but use traffic splitting to only direct a small number of users to the new version.
The correct answer is **C** because deploying a new version without assigning it as the default version avoids downtime for the application. Traffic splitting allows for directing a small percentage of traffic to the new version, enabling testing in a live environment with minimal risk. This approach also facilitates quick reversion without impacting the entire user base. - **Option A** is incorrect because deploying the application version as default would shift all traffic to the new version, potentially affecting all users and causing service disruption. - **Option B** is not advisable as it could lead to service disruption and is not a scalable solution for managing updates. - **Option D** is not recommended as it negatively impacts user experience and does not provide a technical solution to mitigate risk. For more details, refer to the [GCP documentation on App Engine Splitting Traffic](https://cloud.google.com/appengine/docs/standard/python3/splitting-traffic).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with deploying a potentially risky update to an application in Google App Engine, which can only be tested in a live environment. What strategy should you employ to minimize risk?
A
Create a new project with the new app version, and then redirect users to the new version.
B
Deploy the application temporarily and be prepared to pull it back if needed.
C
Deploy a new version of the application but use traffic splitting to only direct a small number of users to the new version.
D
Warn users that a new app version may have issues and provide a way to contact you if there are problems.
No comments yet.