Google Cloud Associate Cloud Engineer — Question 173
You are developing a new web application that will be deployed on Google Cloud Platform. As part of your release cycle, you want to test updates to your application on a small portion of real user traffic. The majority of the users should still be directed towards a stable version of your application. What should you do?
Answer options
- A. Deploy the application on App Engine. For each update, create a new version of the same service. Configure traffic splitting to send a small percentage of traffic to the new version.
- B. Deploy the application on App Engine. For each update, create a new service. Configure traffic splitting to send a small percentage of traffic to the new service.
- C. Deploy the application on Kubernetes Engine. For a new release, update the deployment to use the new version.
- D. Deploy the application on Kubernetes Engine. For a new release, create a new deployment for the new version. Update the service to use the new deployment.
Correct answer: A
Explanation
The correct answer is A because deploying the application on App Engine allows you to create new versions of the same service and easily configure traffic splitting to manage user traffic between versions. Option B suggests creating a new service, which complicates traffic management. Options C and D involve Kubernetes Engine and do not provide the same level of simplicity for traffic splitting as App Engine does.