🔥 40% Off Crucial Exams Memberships — Deal ends today!

2 hours, 31 minutes remaining!

GCP Professional Data Engineer Practice Question

Your company ingests click-stream events into Pub/Sub and processes them in Cloud Dataflow to compute, per user, the duration of each browsing session. A session is any sequence of events separated by less than 30 minutes of inactivity. Product managers require an initial (possibly partial) session duration to be available within one minute after the first event in the session, while still accepting events that arrive up to 10 minutes late. Which Apache Beam windowing and trigger configuration best satisfies these requirements?

  • Global window with a processing-time trigger that fires every minute, ACCUMULATING mode, no allowed lateness

  • Fixed (tumbling) windows of 1 minute, allowed lateness of 10 minutes, AfterWatermark trigger only, DISCARDING mode

  • Session windows with a 30-minute gap duration, allowed lateness of 10 minutes, default AfterWatermark trigger plus an early firing AfterProcessingTime(1 minute) in ACCUMULATING mode

  • Sliding windows of 30 minutes with a 1-minute slide, no allowed lateness, trigger AfterCount(1) in DISCARDING mode

GCP Professional Data Engineer
Ingesting and processing the data
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot