
Answer-first summary for fast verification
Answer: Deploy the update as a new version. Migrate traffic from the current version to the new version.
The correct answer is **D** because deploying a new version and gradually migrating traffic from the old version to the new one allows for a seamless update. If any issues arise, traffic can be fully reverted to the old version quickly. This method avoids downtime and provides a safety net for rollback. - **Options A & B** are incorrect as they involve downtime or deletion of the current version, which impacts users. - **Option C** is not ideal because it requires scheduling a maintenance window, which may not be necessary and could inconvenience users. Refer to the [GCP documentation on App Engine Migrating Traffic](https://cloud.google.com/appengine/docs/standard/python/migrating-traffic) for more details on how to manage traffic between versions of your application.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You've developed an update for your App Engine application and wish to deploy it without affecting your users, ensuring the ability to quickly revert if necessary. What's the best approach?
A
Deploy the update as the same version that is currently running.
B
Delete the current version of your application. Deploy the update using the same version identifier as the deleted version.
C
Notify your users of an upcoming maintenance window. Deploy the update in that maintenance window.
D
Deploy the update as a new version. Migrate traffic from the current version to the new version.
No comments yet.