GCP Professional Cloud Architect Practice Question
Your team operates a stateless Node.js microservice on Cloud Run, deployed as a single service in both us-central1 and europe-west1. You must implement a blue-green release process that meets the following goals: (1) the new version is live only after it is fully rolled out in both regions, (2) the cut-over and any rollback happen instantaneously without redeploying code, and (3) no additional infrastructure should be introduced. Which approach best satisfies these requirements?
Deploy the new code as a tagged revision in each regional Cloud Run service, route 0 % traffic to the tag for testing, then update the traffic split to 100 % for the tag in both regions; rollback by restoring the previous split.
Build the new image with Cloud Build and use Cloud Deploy to run a 10 %-90 % canary promotion across regions, then promote to 100 % when healthy; rollback by re-executing the pipeline.
Perform a rolling update of the existing revision in each region with the maximum-unavailable setting at zero so instances are replaced one by one; rollback by redeploying the previous image.
Create a separate Cloud Run service for the green version in every region and replace the back-end service of the existing HTTPS load balancer with the new services; rollback by editing the load balancer again.
Cloud Run automatically creates a new revision for every deployment. By assigning a tag (for example, "green") to that revision in each region and initially routing 0 % of traffic to it, you can verify health everywhere. A single gcloud run services update-traffic command per region can then shift 100 % of traffic to the tagged revision; restoring the original weights instantly reverts to the previous ("blue") revision. This achieves true blue-green semantics without extra services, load balancers, or redeployments. The other options either add unnecessary infrastructure, rely on canary percentages rather than an atomic switch, or perform rolling updates that cannot be reverted instantly.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a blue-green deployment process?
Open an interactive chat with Bash
What does 'traffic split' mean in Cloud Run?
Open an interactive chat with Bash
How can tags be used in Cloud Run revisions for deployment management?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Managing implementation
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .