Medium1 markMultiple Choice
Domain 4.3: Managing Cloud Run resourcesDomain 4Cloud RunTraffic Splitting

GCP ACE · Question 36 · Domain 4.3: Managing Cloud Run resources

You have deployed a new revision of a Cloud Run service. You want to perform a canary deployment by routing exactly 10% of incoming traffic to the new revision, while keeping 90% of traffic on the old revision.

How should you configure this?

Answer options:

A.

Use the Cloud Console or gcloud to adjust the traffic splitting parameters on the Cloud Run service.

B.

Deploy a second Cloud Run service and use a Global HTTP(S) Load Balancer to split the traffic.

C.

Cloud Run automatically performs canary deployments; no configuration is needed.

D.

Use Cloud Armor to route traffic based on percentage.

How to approach this question

Recognize that Cloud Run has native traffic management capabilities between its revisions.

Full Answer

A.Use the Cloud Console or gcloud to adjust the traffic splitting parameters on the Cloud Run service.✓ Correct
Use the Cloud Console or gcloud to adjust the traffic splitting parameters on the Cloud Run service.
Cloud Run natively supports traffic splitting. Every time you deploy, a new 'revision' is created. You can easily configure the service (via the Console or `gcloud run services update-traffic`) to split incoming requests across multiple revisions by percentage (e.g., 90% to Revision A, 10% to Revision B). This is ideal for canary testing.

Common mistakes

Thinking you need external load balancers to achieve traffic splitting in serverless environments.

Practice the full GCP Associate Cloud Engineer Practice Exam 5

50 questions · hints · full answers · grading

More questions from this exam