Medium1 markMultiple Choice
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?
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
Q01You are starting a new initiative and need to create a new Google Cloud project using the command...EasyQ02A developer on your team needs to manage App Engine applications, including deploying new version...MediumQ03You have created a new Google Cloud project. You need to allow a specific group of developers to ...MediumQ04Which statement best describes the relationship between Google Cloud projects and billing accounts?EasyQ05Your company wants to be notified immediately in their Slack channel whenever their monthly Googl...Medium
Expert