Google Cloud Associate Cloud Engineer — Question 13

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?

Answer options

Correct answer: C

Explanation

The correct answer is C because routing 100% of the traffic to the previous version is the quickest way to revert changes without needing to deploy anything new. Option A is incorrect as there is no 'gcloud app restore' command. Option B does not provide a direct method for traffic routing. Option D complicates the process by requiring a separate deployment and traffic management, which is unnecessary for a quick rollback.