You run a web app on Cloud Run for Anthos and want to deploy an updated version to a subset of production users (canary). What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a new revision with the new version and split traffic between revisions..
Why this is the answer
Cloud Run for Anthos manages deployments using services and revisions. A service represents your application, and each deployment of your application creates a new revision within that service. To perform a canary deployment, you create a new revision with your updated code. Cloud Run for Anthos then allows you to split traffic between the existing stable revision and the new canary revision by configuring traffic percentages directly within the service settings. This built-in traffic management eliminates the need for external load balancers or separate services for canary deployments. Creating a new service would unnecessarily duplicate configuration and management overhead.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed