Professional Cloud Architect practice question · Managing implementation of cloud architecture
A team wants a new Cloud Run revision to receive 5% of production traffic for validation, then ramp up to 100%.
A team wants a new Cloud Run revision to receive 5% of production traffic for validation, then ramp up to 100%. They also need to be able to send all traffic back to the previous revision immediately. Which approach meets these requirements?
- ADeploy the revision with --no-traffic and a tag, shift 5% to it with update-traffic, raise the percentage gradually, and roll back by routing 100% to the prior revision
- BDeploy the revision normally, then use update-traffic to move 95% back to the previous revision, and roll back by deleting the new revision
- CDeploy the new version as a second Cloud Run service and use weighted DNS records to send 5% to it, adjusting the weights to ramp up or roll back
- DSet the new revision's minimum instances to about 5% of the old revision's instance count, then raise the minimum gradually to shift more traffic to it
Show the answer and explanation
Correct answer: A) Deploy the revision with --no-traffic and a tag, shift 5% to it with update-traffic, raise the percentage gradually, and roll back by routing 100% to the prior revision
Cloud Run revisions are immutable, and traffic can be split between them by percentage. Deploying with --no-traffic and a tag, then shifting traffic step by step, gives a canary rollout with instant rollback.
Why each option is right or wrong
- A) Correct. Cloud Run can deploy a revision that serves no traffic, test it through its tag URL, and split traffic between revisions by percentage. Rollback is a traffic change that points back to the earlier revision, so nothing needs to be redeployed.
- B) Incorrect. A normal deploy sends 100% of traffic to the new revision right away, so the 5% validation window is skipped. Deleting a revision is also not how rollback works; you re-route traffic to the earlier revision.
- C) Incorrect. Clients and resolvers cache DNS records, so weight changes take effect slowly and unevenly. Rollback would not be immediate. Cloud Run's traffic splitting between revisions avoids this problem.
- D) Incorrect. Minimum instances control how many instances stay warm. They do not decide how traffic is divided between revisions; traffic percentages and tags do that.
- Exam domain
- Managing implementation of cloud architecture · ~12.5% of Professional Cloud Architect
- Question type
- Multiple choice (one answer)
Related Professional Cloud Architect questions
- A team on GKE wants to release a new service version. Real users should be served by the new version, but at first only…Managing implementation of cloud architecture
- Your team is preparing a significant production release and the change process requires a rollback plan.Managing implementation of cloud architecture
- A team's Cloud Build pipelines must download dependencies from a self-hosted artifact repository.Managing implementation of cloud architecture
- A platform team runs Terraform through a CI/CD pipeline. It wants every proposed change checked automatically against…Managing implementation of cloud architecture
All 49 free Professional Cloud Architect questions by domain · 15 sample questions on one page
Practise the full Professional Cloud Architect exam
This question is one of a small free sample from the CertRidge Professional Cloud Architect bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.