Question 116 of 499

Quick Answer

The correct approach is to use event-time processing with allowed lateness and a trigger that fires early to provide speculative results. This works because event-time processing aligns aggregations with the actual timestamps of events rather than when they arrive, while allowed lateness instructs the pipeline to keep the window open for delayed data. Early triggers then emit partial, speculative results before the window closes, balancing accuracy for late-arriving data with low latency for downstream consumers. On the Google Professional Data Engineer exam, this scenario tests your understanding of how Dataflow handles the trade-off between completeness and latency in streaming pipelines using Cloud Pub/Sub. A common trap is choosing processing-time windows, which ignore late data entirely, or disabling early triggers, which forces consumers to wait for the full allowed lateness period. Remember the mnemonic “EAT” — Event-time, Allowed lateness, and Triggers — to recall the three pillars of handling late data with early output.

PDE Practice Question: Building and operationalizing data processing systems

This PDE practice question tests your understanding of building and operationalizing data processing systems. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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.

You are operating a streaming data pipeline that uses Cloud Pub/Sub and Dataflow. The data source sometimes emits events that are delayed by several minutes due to network issues. Your pipeline must produce accurate aggregations (e.g., counts per minute) even for late data, but you also need to avoid waiting for a long time before emitting results. Which approach should you use?

Question 1easymultiple 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

Use event-time processing with allowed lateness and a trigger that fires early to provide speculative results.

Option B is correct because it uses event-time processing to handle late data via allowed lateness, combined with early triggers to emit speculative results before the window closes. This balances accuracy for delayed events with low latency for downstream consumers, which is a common requirement in streaming pipelines using Cloud Pub/Sub and Dataflow.

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.

  • Use processing-time windows and ignore the event timestamps entirely.

    Why it's wrong here

    Processing-time windows conflate the true timing of events, leading to incorrect aggregations.

  • Use event-time processing with allowed lateness and a trigger that fires early to provide speculative results.

    Why this is correct

    Dataflow supports allowed lateness and triggers; you can set a trigger to emit early results every minute, and then a final result after the allowed lateness period, ensuring both low latency and eventual accuracy.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use global windows and hold all data for 24 hours before processing to ensure completeness.

    Why it's wrong here

    Holding data for 24 hours introduces unacceptable delay for real-time insights.

  • Use event-time processing and discard any data that arrives after the window ends.

    Why it's wrong here

    Discarding late data reduces accuracy, which is not acceptable.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between processing-time and event-time semantics, and the trap here is that candidates may choose processing-time windows (Option A) thinking they are simpler, not realizing they sacrifice correctness for late data.

Detailed technical explanation

How to think about this question

In Dataflow, event-time processing uses the watermark to track progress; allowed lateness extends the window duration for late data, while early triggers (e.g., after 1 minute of event time or after N elements) emit partial results. Under the hood, Dataflow uses the Beam model with a combination of windowing, triggers, and allowed lateness to handle stragglers without blocking the pipeline. A real-world scenario is a sensor network where network jitter causes sporadic delays; early triggers let dashboards show near-real-time counts, while allowed lateness ensures final accuracy.

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 healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.

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?

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

What is the correct answer to this question?

The correct answer is: Use event-time processing with allowed lateness and a trigger that fires early to provide speculative results. — Option B is correct because it uses event-time processing to handle late data via allowed lateness, combined with early triggers to emit speculative results before the window closes. This balances accuracy for delayed events with low latency for downstream consumers, which is a common requirement in streaming pipelines using Cloud Pub/Sub and Dataflow.

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.

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 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.