GCP Professional Cloud Architect Practice Question
Your e-commerce team runs a stateless checkout service on Cloud Run deployed to us-central1 and europe-west1. You must release version 2 without customer downtime, observe error rates for a sample of real traffic, and instantly revert if problems appear-all while avoiding the cost of duplicating the entire stack in a separate environment. Which deployment strategy best meets these requirements?
Deploy version 2 as a separate Cloud Run service and switch the external HTTP(S) Load Balancer to it after final tests (blue-green).
Migrate the service to Google Kubernetes Engine and perform a rolling update with maxSurge 1 and maxUnavailable 0 to prevent downtime.
Use Cloud Run's traffic-splitting feature to implement a canary release, starting with a small percentage of traffic on the new revision and increasing it after monitoring.
Rely on Cloud Run automatic rollbacks and perform an in-place rolling update that immediately shifts 100 % of traffic to version 2.
Cloud Run allows multiple revisions of the same service to be active at once and supports fine-grained traffic splitting between them. By directing a small percentage of production traffic to the new revision first, the team can monitor live metrics and gradually increase the percentage when healthy. Reverting is instantaneous-simply shift all traffic back to the previous revision. Creating an entirely separate service behind a load balancer resembles blue-green deployment but duplicates resources. An in-place rolling update without traffic control offers no safe observation window, and moving the workload to GKE introduces unnecessary complexity for this requirement.
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.
How does Cloud Run's traffic-splitting feature work?
Open an interactive chat with Bash
What is a canary release strategy in cloud deployments?
Open an interactive chat with Bash
Why is Cloud Run preferred over GKE for this scenario?
Open an interactive chat with Bash
What is Canary Release in Cloud Run?
Open an interactive chat with Bash
How does traffic splitting work in Cloud Run?
Open an interactive chat with Bash
Why is blue-green deployment unsuitable in this scenario?
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 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .