
Answer-first summary for fast verification
Answer: In the GCP console, click Traffic Splitting and direct 100% of the traffic to the previous version.
The correct approach is to revert the traffic to a previously deployed version by using the Traffic Splitting feature in the GCP console. This allows you to direct 100% of the traffic to a single, stable version, effectively bypassing the broken deployment. The `gcloud app` command does not support rollback or revert functionalities, making options B and C incorrect. Additionally, the GCP console does not offer a direct Rollback button on the versions page, rendering option D invalid. Traffic splitting is a powerful feature for managing deployments, enabling A/B testing and controlled feature rollouts by distributing traffic among versions.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
After several successful deployments of your App Engine applications in a Standard Environment, a broken version has been deployed, and the developers are unavailable. What is the quickest method to restore the site to a functioning state?
A
In the GCP console, click Traffic Splitting and direct 100% of the traffic to the previous version.
B
Use the gcloud app deployments rollback command.
C
Use the gcloud app deployments revert command.
D
In the GCP console, click the Rollback button on the versions page.
No comments yet.