You recently deployed a new version of an application to App Engine and then discovered a bug in the release. You need to immediately revert to the prior version of the application. What should you do?
A.
Run gcloud app restore.
B.
On the App Engine page of the GCP Console, select the application that needs to be reverted and click Revert.
C.
On the App Engine Versions page of the GCP Console, route 100% of the traffic to the previous version.
D.
Deploy the original version as a separate application. Then go to App Engine settings and split traffic between applications so that the original version serves 100% of the requests.
correct is C NOT D.
Option A is wrong as gcloud app restore was used for backup and restore and has been deprecated.Option B is wrong as there is no application revert functionality available.Option D is wrong as App Engine maintains version and need not be redeployed.
ANSWER C. On the App Engine Versions page of the GCP Console, route 100% of the traffic to the previous version.
To immediately revert to the prior version of an application in App Engine, you can route 100% of the traffic to the previous version. This can be done through the App Engine Versions page of the GCP Console by selecting the desired version and selecting "Migrate traffic" and moving the slider to 100%. This will ensure that all traffic is directed to the prior version until the bug is fixed and the new version can be safely redeployed.
https://cloud.google.com/appengine/docs/flexible/migrating-traffic
ANSWER A (Run gcloud app restore) and ANSWER B (Click Revert on GCP Console) are not valid actions to revert to the prior version of the application. ANSWER D (Deploy the original version as a separate application) is not necessary and would complicate the environment by requiring a split traffic configuration.
Correct option is C.
AppEngine already creates a version for you. Also you do not create a application as one project is associated with one AppEngine application.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
coldpar
Highly Voted 4 years, 8 months agoBharathy
Highly Voted 4 years, 8 months agoEnamfrancis
Most Recent 2 months agogsmasad
1 year agoCaptain1212
1 year, 2 months agoYomanB
1 year, 2 months agoRobAlt
1 year, 2 months agosthapit
1 year, 3 months agoPartha117
1 year, 8 months agoBuruguduystunstugudunstuy
1 year, 9 months agopublic_figure
1 year, 11 months agobhavyach
1 year, 11 months agoNikki2424
6 months, 1 week agocslince
1 year, 11 months agoleogor
2 years, 1 month agodanny19g
2 years, 2 months agojoeMP
2 years, 3 months agoRanjithK
2 years, 4 months ago