PDE Ingesting and Processing the Data Practice Question
Your Dataflow pipeline reads from Pub/Sub, performs transformations, and writes to BigQuery. You notice that the pipeline's autoscaling is not keeping up with sudden spikes in traffic, causing increased lag. The pipeline uses Classic Templates. Which change would most effectively improve autoscaling responsiveness?
⚠ Common exam trap
A common misconception in Google Professional Data Engineer exams is that Flex Templates improve runtime performance or autoscaling, when in fact they only affect deployment flexibility, not the underlying execution engine's scaling behavior.
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
✓
Enable Dataflow Streaming Engine on the pipeline.
Enabling Dataflow Streaming Engine reduces the overhead of checkpointing and state management by offloading them to the service side, which allows the pipeline to scale more quickly in response to sudden traffic spikes. This directly addresses the autoscaling lag because Streaming Engine decouples compute from state, enabling faster worker adjustments without the bottleneck of persistent disk-based shuffle.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Enable Dataflow Streaming Engine on the pipeline.
Why this is correct
Streaming Engine improves autoscaling by decoupling compute from state, allowing workers to scale more quickly.
- ✗
Switch to Dataflow Prime with Vertical Autoscaling enabled.
Why it's wrong here
Dataflow Prime provides vertical autoscaling (right-sizing workers) but does not specifically address autoscaling responsiveness better than Streaming Engine.
- ✗
Increase the initial number of workers to handle the spike.
Why it's wrong here
This provides a static baseline but does not improve autoscaling responsiveness to spikes; you cannot predict spikes.
- ✗
Use Flex Templates instead of Classic Templates.
Why it's wrong here
Flex Templates allow custom container images but do not directly affect autoscaling responsiveness.
Go deeper
Related to this question
About these practice questions
One of 890 original PDE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.