Google Cloud Associate Cloud Engineer — Question 59
You are building a new version of an application hosted in an App Engine environment. You want to test the new version with 1% of users before you completely switch your application over to the new version. What should you do?
Answer options
- A. Deploy a new version of your application in Google Kubernetes Engine instead of App Engine and then use GCP Console to split traffic.
- B. Deploy a new version of your application in a Compute Engine instance instead of App Engine and then use GCP Console to split traffic.
- C. Deploy a new version as a separate app in App Engine. Then configure App Engine using GCP Console to split traffic between the two apps.
- D. Deploy a new version of your application in App Engine. Then go to App Engine settings in GCP Console and split traffic between the current version and newly deployed versions accordingly.
Correct answer: D
Explanation
The correct answer is D because it allows you to deploy a new version directly within the App Engine and utilize the built-in traffic splitting feature in GCP Console to manage user access. Options A and B suggest deploying in different environments (Kubernetes Engine and Compute Engine) which would not allow for the same seamless traffic management as App Engine. Option C involves creating a separate app, which complicates the traffic splitting process unnecessarily.