D1: Traffic Splitting: Rollouts, Rollbacks & A/B Tests
Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards
Question
What is a gradual rollout?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Traffic Splitting: Rollouts, Rollbacks & A/B Tests practice questions and answers
- What is a gradual rollout?Shift traffic to a new version in steps (e.g. 5% → 50% → 100%).
- How to split traffic on Cloud Run?gcloud run services update-traffic SERVICE --to-revisions=NEW=10,OLD=90.
- How to deploy without traffic on Cloud Run?--no-traffic, then test via a revision tag URL.
- How to roll back on Cloud Run?Route 100% traffic to the previous revision.
- How to split traffic on GKE?Gateway API HTTPRoute weights, service mesh, or replica ratios.
- What is A/B testing?Comparing variants with different user groups to measure impact.
- How do you do A/B testing with consistent users?Header/cookie-based routing or session affinity.
- Canary vs blue/green?Canary: small percentage first. Blue/green: switch all traffic between two environments.
- Why monitor during rollouts?Detect errors early and roll back.
- What does Cloud Deploy add?Managed canary/progressive delivery pipelines for Cloud Run and GKE.