Question 11 of 499
Designing data processing systemsmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is fixed windows with allowed lateness because this Dataflow feature is specifically designed to handle late-arriving data by extending the window’s closure period. In Apache Beam, the `allowedLateness` parameter tells the pipeline to keep a fixed window open for a specified duration—here, up to one hour—after the watermark passes the window’s end, allowing late Pub/Sub records to be correctly assigned to their original window and written to BigQuery. On the Google Professional Data Engineer exam, this scenario tests your understanding of how Dataflow manages out-of-order data within time-based aggregations; a common trap is confusing allowed lateness with triggering frequency or session windows. Remember that fixed windows with allowed lateness are ideal when you need strict time boundaries but must accommodate known delays, whereas session windows handle variable gaps. A helpful memory tip: think of “allowed lateness” as a grace period—the window stays open just long enough for stragglers to join their rightful group.

PDE Designing data processing systems Practice Question

This PDE practice question tests your understanding of designing 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.

A data pipeline processes streaming data from Pub/Sub to BigQuery. The pipeline needs to handle late-arriving data that is up to 1 hour late. Which Dataflow feature should be used?

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

Fixed windows with allowed lateness

Fixed windows with allowed lateness are the correct choice because the pipeline needs to handle late-arriving data up to 1 hour late while processing data in fixed time intervals (e.g., 1-hour windows). The `allowedLateness` parameter in Dataflow (Apache Beam) allows late data to be included in the appropriate fixed window for up to the specified duration after the watermark passes the window end. This ensures that late Pub/Sub messages are correctly joined with their original window in BigQuery.

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.

  • Global windows with watermark

    Why it's wrong here

    Global windows with watermark are used for unbounded aggregation, not time-bounded windows.

  • Session windows

    Why it's wrong here

    Session windows are based on inactivity gaps, not fixed time intervals.

  • Sliding windows with allowed lateness

    Why it's wrong here

    Sliding windows produce overlapping windows, which may not be the best fit for simple time-based aggregation.

  • Fixed windows with allowed lateness

    Why this is correct

    Fixed windows with allowed lateness (set to 1 hour) ensure late events are processed in the correct window.

    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 distinction between window types and lateness handling, and the trap here is that candidates confuse 'allowed lateness' as a feature exclusive to sliding windows or global windows, when in fact it is a parameter that can be applied to fixed windows to handle late data within a bounded delay.

Detailed technical explanation

How to think about this question

Under the hood, Dataflow uses the watermark to track event-time progress, and `allowedLateness` extends the window's state retention period beyond the watermark. When late data arrives within the allowed lateness period, Dataflow triggers a speculative/pane output for that window, and the late element is merged into the existing window state. In real-world scenarios, this is critical for streaming pipelines where network delays or retries cause Pub/Sub messages to arrive after the window has closed, ensuring accurate aggregation in BigQuery without data loss.

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 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: Fixed windows with allowed lateness — Fixed windows with allowed lateness are the correct choice because the pipeline needs to handle late-arriving data up to 1 hour late while processing data in fixed time intervals (e.g., 1-hour windows). The `allowedLateness` parameter in Dataflow (Apache Beam) allows late data to be included in the appropriate fixed window for up to the specified duration after the watermark passes the window end. This ensures that late Pub/Sub messages are correctly joined with their original window in BigQuery.

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

Keep practising

More PDE practice questions

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.