Professional Cloud Architect · Free Practice Question Medium
Question 16
Your team has created an updated version of an application that is currently hosted on the App Engine Standard environment. You aim to migrate 2% of your users to the new version while minimizing complexity. What course of action would you recommend?
-
A
You should create a new App Engine application in the same project. Deploy a new version in that application. Use the App Engine to split the traffic.
-
B
You should create a new App Engine application in the same project. Deploy a new version in that application. Configure your network load balancer to send 2% of the traffic to that new application.
-
C
You should deploy a new version in the same application and use the
--migrateoption. -
D
You should deploy a new version in the same application and split the traffic (98% to 2%).
Reveal correct answer
Correct answer: D
A.
It suggest creating a new application which introduces unnecessary complexity and requires additional configuration and management effort.
B.
It suggest creating a new application or configuring a network load balancer, which introduces unnecessary complexity and requires additional configuration and management effort.
C.
The --migrate option is used for migrating traffic from one version to another within the same application, and it doesn't split the traffic.
D.
It suggests deploying the new version in the same application and splitting the traffic between the old and new versions. This approach is the simplest and requires minimal changes to the current deployment. The traffic splitting can be done using the App Engine's built-in traffic splitting feature, which allows directing a percentage of traffic to a specific version. This way, 2% of the traffic will be sent to the new version, and the remaining 98% will continue to use the old version until further changes are made.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
