Medium1 markMultiple Choice
GCP ACE · Question 35 · Domain 4.3: Managing Cloud Run resources
You have deployed a new version (v2) of your application to Cloud Run. You want to test this new version with a small subset of users before fully rolling it out. You want 10% of traffic to go to v2, and 90% to remain on v1.
How should you configure this?
You have deployed a new version (v2) of your application to Cloud Run. You want to test this new version with a small subset of users before fully rolling it out. You want 10% of traffic to go to v2, and 90% to remain on v1.
How should you configure this?
Answer options:
A.
Deploy v2 to a new Cloud Run service and use a Global HTTP(S) Load Balancer to split traffic.
B.
Use the Cloud Run traffic splitting feature to assign 90% to the v1 revision and 10% to the v2 revision.
C.
Modify your application code to randomly route 10% of requests to a different endpoint.
D.
Create a Cloud DNS weighted routing policy.
How to approach this question
Recognize Cloud Run's native capabilities for managing deployments.
Full Answer
B.Use the Cloud Run traffic splitting feature to assign 90% to the v1 revision and 10% to the v2 revision.✓ Correct
Use the Cloud Run traffic splitting feature to assign 90% to the v1 revision and 10% to the v2 revision.
Cloud Run natively supports traffic splitting. When you deploy a new revision, you can configure the service to route a specific percentage of incoming requests to the new revision, allowing for easy canary deployments and A/B testing without needing external load balancers.
Common mistakes
Overcomplicating the solution by adding a Load Balancer when Cloud Run handles this natively.
Practice the full GCP Associate Cloud Engineer Practice Exam 2
50 questions · hints · full answers · grading
More questions from this exam
Q01Your company is migrating to Google Cloud and needs to establish a resource hierarchy. You have t...EasyQ02You are managing access to a GCP project. You need to grant 15 developers the ability to view Com...MediumQ03You have created a new GCP project using the Cloud Console. You want to deploy a Cloud Function u...EasyQ04Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if yo...EasyQ05Your finance team wants to perform complex SQL analysis on your GCP billing data to understand co...Medium
Expert