Google Cloud Professional Cloud Architect — Question 10
You have an App Engine application that needs to be updated. You want to test the update with production traffic before replacing the current application version.
What should you do?
Answer options
- A. Deploy the update using the Instance Group Updater to create a partial rollout, which allows for canary testing.
- B. Deploy the update as a new version in the App Engine application, and split traffic between the new and current versions.
- C. Deploy the update in a new VPC, and use Google's global HTTP load balancing to split traffic between the update and current applications.
- D. Deploy the update as a new App Engine application, and use Google's global HTTP load balancing to split traffic between the new and current applications.
Correct answer: B
Explanation
The correct answer is B because deploying the update as a new version in the App Engine application allows for traffic splitting, enabling testing of the new version with real users without fully replacing the current version. Option A is incorrect as it refers to Instance Group Updater, which is not applicable to App Engine. Options C and D suggest using a new VPC or a new application, which complicates the process unnecessarily and does not directly leverage App Engine's version management features.