Question 468 of 499
Designing data processing systemsmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is that the pipeline is CPU-bound, causing the Dataflow autoscaler to stop at 5 workers despite a maxNumWorkers of 10. This occurs because the autoscaler evaluates per-worker CPU utilization and throughput; if the pipeline is CPU-bound, adding more workers does not reduce the CPU load per worker or improve overall throughput, so the autoscaler correctly determines that scaling further would be ineffective. On the Google Professional Data Engineer exam, this scenario tests your understanding that autoscaling is not purely based on backlog or data rate—it intelligently avoids scaling when the bottleneck is non-parallelizable, such as a single-threaded transformation or a hot key in a GroupByKey operation. A common trap is assuming maxNumWorkers guarantees scaling to that limit, but the autoscaler prioritizes efficiency over raw worker count. Memory tip: "CPU-bound? No scaling ground"—if workers are maxed on CPU, adding more won't help.

PDE Designing data processing systems Practice Question

This PDE practice question tests your understanding of designing data processing systems. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.

A company has a Dataflow pipeline that reads from Pub/Sub, applies transformations, and writes to BigQuery. The pipeline is failing with 'deadline exceeded' errors during peak hours. The team suspects that the pipeline cannot keep up with the incoming data rate. They also notice that the autoscaling algorithm sets maxNumWorkers to 10, but the pipeline only scales to 5 workers. What is the most likely cause of the inadequate scaling?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1mediummultiple choice
Full question →

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

The pipeline is CPU-bound and the autoscaler evaluates that adding more workers would not improve throughput

Option D is correct because the autoscaler in Dataflow evaluates CPU utilization and throughput per worker. If the pipeline is CPU-bound, adding more workers does not reduce per-worker CPU load or improve throughput, so the autoscaler stops at 5 workers even though maxNumWorkers is 10. This is a classic symptom of a bottleneck that cannot be parallelized further, such as a single-threaded transformation or a hot key in a GroupByKey operation.

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.

  • The maxNumWorkers setting is too low and should be reduced to trigger more aggressive scaling

    Why it's wrong here

    Reducing maxNumWorkers would limit scaling, not increase it.

  • BigQuery streaming quota is limiting the number of concurrent writes

    Why it's wrong here

    BigQuery quotas affect insertion, not Dataflow worker count.

  • The Pub/Sub subscription has a per-subscriber throughput limit of 5 workers

    Why it's wrong here

    Pub/Sub does not have per-subscriber limit that restricts scaling to 5.

  • The pipeline is CPU-bound and the autoscaler evaluates that adding more workers would not improve throughput

    Why this is correct

    Autoscaler uses utilization metrics; if workers are already saturated, it may not add more.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates assume autoscaling always scales to maxNumWorkers when there is a backlog, but the autoscaler only adds workers if they will actually improve throughput, and a CPU-bound pipeline is a common reason for scaling to stall.

Detailed technical explanation

How to think about this question

Dataflow's autoscaler uses a combination of CPU utilization, backlog bytes, and throughput per worker to decide scaling. When a pipeline is CPU-bound, the autoscaler sees that adding workers does not reduce the per-worker CPU because the bottleneck is in a non-parallelizable stage (e.g., a single DoFn that is CPU-intensive or a shuffle with a hot key). In such cases, the autoscaler may even scale down to avoid wasted resources. A real-world scenario is a pipeline with a custom ParDo that performs heavy cryptographic operations, where adding workers only increases overhead without improving throughput.

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

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

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 PDE 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 PDE 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 PDE question test?

Designing data processing systems — This question tests Designing data processing systems — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The pipeline is CPU-bound and the autoscaler evaluates that adding more workers would not improve throughput — Option D is correct because the autoscaler in Dataflow evaluates CPU utilization and throughput per worker. If the pipeline is CPU-bound, adding more workers does not reduce per-worker CPU load or improve throughput, so the autoscaler stops at 5 workers even though maxNumWorkers is 10. This is a classic symptom of a bottleneck that cannot be parallelized further, such as a single-threaded transformation or a hot key in a GroupByKey operation.

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

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

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

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

Keep practising

More PDE practice questions

Last reviewed: Jun 24, 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 PDE 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 PDE exam.