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?
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.
Splitting the question to the key requirements
1. new version of an application hosted in an App Engine environment.
2. test the new version with 1% of users
App engine supports versioning and traffic splitting so no need to involve anything else
(source - https://cloud.google.com/appengine#all-features)
A. ....'Google Kubernetes Engine'.... - No need to involve GKE. Not the right option
B. ....'Compute Engine instance'.... - No need to involve Compute Engine.
C. ....'Separate app in App Engine'....- No need to deploy as a separate app. versioning is supported already. Not the right option.
D. This is the right answer.
Just to add, for option C you cannot have two applications deployed inside an app engine project. In order to do so, you need to create the application inside a new project.
So, we just eliminate option C.
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
Answer D is the correct answer as App Engine is designed to allow you to deploy multiple versions of the same application and route traffic between them. To test the new version with 1% of users, you can deploy the new version alongside the current version and then use the App Engine Traffic Splitting feature to gradually increase the percentage of users who are routed to the new version. This can be done easily using GCP Console.
Answers A and B are not the optimal solutions as Kubernetes Engine and Compute Engine do not offer the same level of built-in traffic splitting and routing features as App Engine.
Answer C is also POSSIBLE but may not be the best approach since deploying a separate app requires additional configuration and maintenance. It is simpler to deploy multiple versions of the same application and use App Engine Traffic Splitting to route traffic between them.
D is correct
A. no need to use GKE
B. Compute engine not-relevant.
C. cant deploy 2 applications in one project.
D. --splits & --split-by flags are available for gcloud app deploy.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
SIX
Highly Voted 4 years, 3 months agomohdafiuddin
Highly Voted 3 years, 8 months agoakshaychavan7
2 years, 3 months agotmpcs
Most Recent 8 months, 1 week agoBAofBK
10 months agoCaptain1212
1 year agoNeha_Pallavi
1 year agotrainingexam
1 year, 2 months agosabrinakloud
1 year, 4 months agoashtonez
1 year, 5 months agoBuruguduystunstugudunstuy
1 year, 6 months agocslince
1 year, 8 months agocslince
1 year, 9 months agoleogor
1 year, 9 months agogcpBeginner
1 year, 11 months agolearn_GCP
1 year, 11 months agoAzureDP900
2 years, 2 months agomplibunao
2 years, 2 months ago