nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #97

You have an application that runs on Cloud Run. You want to use live production traffic to test a new version of the application, while you let the quality assurance team perform manual testing. You w

The correct answer is B. Deploy a new Cloud Run revision with a tag and use the --no-traffic option. D. Deploy the new application version and use the --no-traffic option. Route production traffic to the. To test a new Cloud Run version safely with live traffic and enable manual QA with rollback capability, deploy a new revision with a tag and no traffic, then split production traffic to it.

Submitted by zhang_li· Apr 18, 2026Building and implementing CI/CD pipelines for a service

Question

You have an application that runs on Cloud Run. You want to use live production traffic to test a new version of the application, while you let the quality assurance team perform manual testing. You want to limit the potential impact of any issues while testing the new version, and you must be able to roll back to a previous version of the application if needed. How should you deploy the new version? (Choose two.)

Options

  • ADeploy the application as a new Cloud Run service.
  • BDeploy a new Cloud Run revision with a tag and use the --no-traffic option.
  • CDeploy a new Cloud Run revision without a tag and use the --no-traffic option.
  • DDeploy the new application version and use the --no-traffic option. Route production traffic to the
  • EDeploy the new application version, and split traffic to the new version.

How the community answered

(29 responses)
  • A
    14% (4)
  • B
    76% (22)
  • C
    7% (2)
  • E
    3% (1)

Why each option

To test a new Cloud Run version safely with live traffic and enable manual QA with rollback capability, deploy a new revision with a tag and no traffic, then split production traffic to it.

ADeploy the application as a new Cloud Run service.

Deploying the application as a new Cloud Run service creates a completely separate service, which is less ideal for managing traffic splitting and rollbacks of *different versions of the same application* compared to using revisions within a single service.

BDeploy a new Cloud Run revision with a tag and use the --no-traffic option.Correct

Deploying a new Cloud Run revision with a tag (e.g., 'v2-test') and the `--no-traffic` option allows you to deploy the new version without immediately sending production traffic to it. This creates a dedicated URL for the tagged revision, enabling the QA team to perform manual testing in isolation before exposing it to live users.

CDeploy a new Cloud Run revision without a tag and use the --no-traffic option.

Deploying a new revision without a tag while using `--no-traffic` would make it harder for the quality assurance team to reliably access and perform manual testing on that specific revision, as a tag provides a stable, identifiable URL.

DDeploy the new application version and use the --no-traffic option. Route production traffic to theCorrect

After deploying the new revision with `--no-traffic`, you can then use Cloud Run's traffic management feature to split production traffic, routing a percentage to the new version. This enables canary testing with live production traffic, limits potential impact, and provides an immediate rollback mechanism by simply adjusting traffic percentages back to the stable version.

EDeploy the new application version, and split traffic to the new version.

Deploying the new application version and splitting traffic is part of the solution (covered by D), but it omits the crucial initial step of deploying *without traffic* and with a tag (covered by B) to enable isolated manual QA testing before live traffic exposure.

Concept tested: Cloud Run traffic management and canary deployments

Source: https://cloud.google.com/run/docs/rollouts-rollbacks-traffic-migration

Topics

#Cloud Run#Traffic Splitting#Canary Deployment#Staged Rollout

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice