Question 346 of 507
Google Cloud products, services, and solutionsmediumMultiple ChoiceObjective-mapped

Cloud Digital Leader Practice Question: Google Cloud products, services, and solutions

This GCDL practice question tests your understanding of google cloud products, services, and solutions. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

Refer to the exhibit.

```
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
  name: hello
spec:
  template:
    spec:
      containers:
        - image: gcr.io/cloudrun/hello
          env:
            - name: FOO
              value: bar
          resources:
            limits:
              memory: "512Mi"
              cpu: "1"
  traffic:
    - percent: 100
      revisionName: hello-00001
```

Given the Cloud Run service configuration above, what happens when a new revision is created after deploying a change to the container image?

Question 1mediummultiple choice
Full question →

Exhibit

Refer to the exhibit.

```
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
  name: hello
spec:
  template:
    spec:
      containers:
        - image: gcr.io/cloudrun/hello
          env:
            - name: FOO
              value: bar
          resources:
            limits:
              memory: "512Mi"
              cpu: "1"
  traffic:
    - percent: 100
      revisionName: hello-00001
```

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Traffic continues to go to the old revision until the traffic section is updated.

Option E is correct because Cloud Run, by default, does not automatically shift traffic to a new revision. When you deploy a change, a new revision is created, but it receives 0% of traffic until you explicitly update the traffic configuration (e.g., via the console, gcloud run deploy --no-traffic, or the traffic section). This allows you to test the new revision before directing any live requests to it.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Traffic is split evenly between the old and new revision.

    Why it's wrong here

    No split is defined; traffic is pinned to one revision.

  • The service becomes unavailable until the new revision is ready.

    Why it's wrong here

    Cloud Run keeps the old revision serving until the new one is ready.

  • Cloud Run automatically creates a new revision and routes traffic to it.

    Why it's wrong here

    Automatic routing is disabled by the explicit traffic section.

  • The new revision receives all traffic automatically.

    Why it's wrong here

    The traffic section overrides automatic routing to the latest revision.

  • Traffic continues to go to the old revision until the traffic section is updated.

    Why this is correct

    The configuration explicitly routes traffic to a specific revision, so new revisions are not served until the traffic section is modified.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that Cloud Run automatically routes all traffic to the latest revision, but the default behavior actually depends on how you deploy—using --no-traffic leaves the new revision at 0% traffic, and even without that flag, the traffic update is part of the same deployment operation, not an automatic background process.

Detailed technical explanation

How to think about this question

Under the hood, Cloud Run uses a revision-based model where each deployment creates a new immutable revision. The service's traffic configuration is a list of revision-to-traffic-percentage mappings, stored as part of the Service resource. When you deploy with gcloud run deploy, the CLI defaults to sending 100% of traffic to the new revision unless you specify --no-traffic. However, if you deploy via a CI/CD pipeline or manually create a revision without updating the traffic section, the new revision sits at 0% traffic. This is critical for canary deployments or blue/green strategies where you want to validate a revision before exposing it to users.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related GCDL practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free GCDL practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this GCDL question test?

Google Cloud products, services, and solutions — This question tests Google Cloud products, services, and solutions — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Traffic continues to go to the old revision until the traffic section is updated. — Option E is correct because Cloud Run, by default, does not automatically shift traffic to a new revision. When you deploy a change, a new revision is created, but it receives 0% of traffic until you explicitly update the traffic configuration (e.g., via the console, gcloud run deploy --no-traffic, or the traffic section). This allows you to test the new revision before directing any live requests to it.

What should I do if I get this GCDL question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This GCDL practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCDL exam.