You need to deploy an application in Google Cloud using serverless technology. You want to test a new version of the application with a small percentage of production traffic. What should you do?
A.
Deploy the application to Cloud Run. Use gradual rollouts for traffic splitting.
B.
Deploy the application to Google Kubernetes Engine. Use Anthos Service Mash for traffic splitting.
C.
Deploy the application to Cloud Functions. Specify the version number in the functions name.
D.
Deploy the application to App Engine. For each new version, create a new service.
I would go for A. Here is why:
Core requirements:
1. Serverless technology
2. Gradual deployment
A: Cloud Run is serverless and supports gradual deployments with the help of tags and gcloud run services update-traffic.
B: GKE is not considered serverless. Anthos Service Mash does support gradual deployments.
C: Cloud Functions is serverless but specifying the version number in the functions name doesn't help to achieve gradual deployments. Instead using revisions or tags in combination with gcloud run services update-traffic is required.
D: App Engine is serverless. For gradual deployments, you should create a new version of your service and then use gcloud app services set-traffic to split your traffic. Don't create a new service for each new version.
Answer A
D. also comes close with App Engine (since serverless and can split traffic in versions), but here is says create new service for each version where it's not needed in App engine.
The correct answer is **A. Deploy the application to Cloud Run. Use gradual rollouts for traffic splitting**.
Here's why:
- **Cloud Run** is a serverless platform that allows you to deploy and run your applications without worrying about infrastructure management. It supports deploying new versions of an application and gradually rolling out updates using traffic splitting. This makes it ideal for testing a new version of an application with a small percentage of production traffic.
- The other options do not provide the same level of support for serverless deployment and traffic splitting for testing new versions of an application.
Per ChatGPT, Option A, deploying the application to Cloud Run and using gradual rollouts for traffic splitting, is the best choice for testing a new version of the application with a small percentage of production traffic while leveraging serverless technology in Google Cloud.
A. Deploy the application to Cloud Run. Use gradual rollouts for traffic splitting.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.
carpa_jo
Highly Voted 9 months, 1 week agoyomi95
Most Recent 1 month, 2 weeks agoPiperMe
8 months, 3 weeks agoJB28
10 months, 2 weeks agoKelvinToo
10 months, 4 weeks agoshiowbah
11 months ago