Courseiva
Designing Data Processing SystemshardMultiple ChoiceObjective-mapped

PDE Designing Data Processing Systems Practice Question

You are designing a data pipeline that processes streaming events with late-arriving data (up to 2 hours late). The pipeline must compute hourly aggregations and emit results as soon as possible, but must also accurately update results when late data arrives. You want to minimize overall processing cost. Which Dataflow windowing and trigger configuration should you use?

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 of 1 hour with allowed lateness of 2 hours and trigger every 5 minutes (early) and on watermark (late) with accumulating fired panes

Session windows are ideal for capturing bursts of user activity but not for fixed hourly aggregations. The best approach is to use fixed windows with allowed lateness of 2 hours and triggering early every N minutes (e.g., 5 minutes) and also on watermark advancement. This provides early results while allowing late data to update the window. Using accumulating and discarding late panes (or just accumulating) depends on the use case; but here, accumulating fired panes is typical for correctness.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Fixed windows of 1 hour with allowed lateness of 2 hours and trigger every 5 minutes (early) and on watermark (late) with accumulating fired panes

    Why this is correct

    Fixed windows match the hourly aggregation requirement. Allowed lateness of 2 hours handles late data. Early triggers provide near-real-time results. Accumulating fired panes ensures updates are included.

  • Global window with triggers every 5 minutes

    Why it's wrong here

    Global window does not provide hourly boundaries; it would aggregate all data together, not by hour.

  • Sliding windows of 1 hour with 30-minute offset

    Why it's wrong here

    Sliding windows create overlapping windows, which is not what is needed for distinct hourly aggregations.

  • Session windows with 10-minute gap duration

    Why it's wrong here

    Session windows group events based on inactivity gaps, not fixed hourly intervals.

About these practice questions

Courseiva writes every PDE question from scratch — 890 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.