GCP ACE · Question 36 · Domain 4.3: Managing Cloud Run resources
You have a Cloud Run service named 'payment-api'. You just deployed a new revision of the service, but you only want 10% of the incoming traffic to be routed to the new revision for testing, while 90% remains on the old revision.
Which command should you use to configure this?
Answer options:
gcloud run deploy payment-api --traffic=10
gcloud run services update-traffic payment-api --to-revisions=payment-api-v2=10,payment-api-v1=90
kubectl apply -f traffic-split.yaml
gcloud compute backend-services update payment-api --custom-routing=10,90
50 questions · hints · full answers · grading