Google PCA Practice Question: Analyze and optimize technical and business processes
A healthcare analytics firm processes patient records in a Dataflow streaming pipeline that writes enriched events to BigQuery. The pipeline currently uses a fixed number of workers sized for peak load, and utilization is low for most of the day. The team wants the pipeline to scale with incoming volume while keeping late-arriving events correct and bounded in cost. What should they do?
⚠ Common exam trap
The trap here is treating Streaming Engine or extra workers as a substitute for autoscaling plus windowing, when only autoscaling addresses idle cost and only allowed lateness preserves late-arriving records.
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 autoscaling on the pipeline and set a windowing strategy with allowed lateness, using accumulation mode to emit updated results.
Autoscaling lets Dataflow add and remove workers as the backlog changes, removing the idle capacity of a peak-sized fixed pool. Windowing with allowed lateness and accumulation mode keeps late records correct by updating previously emitted results, so the pipeline scales with volume while bounded cost and data correctness are both preserved.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Convert the pipeline to batch mode and run it hourly with a Cloud Scheduler trigger, writing each batch to BigQuery.
Why it's wrong here
Batch conversion abandons streaming semantics and introduces an hour of latency, which is unsuitable for patient record processing that expects near-real-time enrichment. Hourly batches also produce abrupt load spikes and do not naturally handle events that arrive after their batch has closed, so correctness and cost both suffer.
- ✗
Increase the number of workers permanently and enable disk-based shuffle to give the pipeline more headroom for late data.
Why it's wrong here
Adding permanent workers raises the idle-capacity cost that the team is trying to eliminate, and disk-based shuffle affects intermediate data handling rather than late-event semantics. Without windowing and allowed lateness, records that arrive after their window closes are still discarded, so correctness is not improved.
- ✗
Keep the fixed worker pool but switch the pipeline to use Streaming Engine and enable the Dataflow Shuffle service.
Why it's wrong here
Streaming Engine and Dataflow Shuffle move computation and shuffle off the worker VMs, which reduces per-worker resource needs, but the pipeline still holds a fixed number of workers sized for peak. Idle capacity during low-volume hours remains, so the cost objective is not met even though late data handling may improve.
- ✓
Enable autoscaling on the pipeline and set a windowing strategy with allowed lateness, using accumulation mode to emit updated results.
Why this is correct
Autoscaling adjusts worker count to the backlog, so idle capacity during low-volume periods is removed while peak bursts are absorbed. Windowing with allowed lateness and accumulating mode lets late records update previously emitted windows instead of being dropped, preserving correctness for patient events that arrive out of order.
Go deeper
Related to this question
Learn chapter
Billing, Budgets, and Cost Management
Key term
Dataflow
Dataflow is a Google Cloud managed service that processes and transforms data in real-time or batch mode using Apache Beam pipelines.
Key term
BigQuery
BigQuery is a fully managed, serverless data warehouse on Google Cloud that lets you run fast SQL queries on massive datasets without managing any infrastructure.
About these practice questions
One of 807 original PCA 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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Google Cloud exam blueprint
This PCA 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 PCA exam.