
Answer-first summary for fast verification
Answer: Deploy the update as a new version and gradually shift traffic from the current version to the new one.
The correct approach is **B** because deploying the update as a new version and gradually migrating traffic allows for a seamless transition. If any issues arise, traffic can be immediately shifted back to the old version. This method avoids downtime and provides a safety net for quick rollback. Options **A** and **C** involve downtime, which is not ideal for user experience. Option **D** does not allow for an easy rollback in case of issues. For more details, refer to the GCP documentation on App Engine Migrating Traffic, which discusses managing traffic distribution between versions of your application for smooth updates and feature rollouts.
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
Notify your users about a scheduled maintenance window and deploy the update during this period.
B
Deploy the update as a new version and gradually shift traffic from the current version to the new one.
C
Remove the current version of your application and deploy the update using the same version identifier as the removed version.
D
Deploy the update as the same version that is currently running.
No comments yet.