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

44 minutes, 57 seconds remaining!

GCP Professional Data Engineer Practice Question

Your online gaming platform sends player action events to Pub/Sub, then processes them in an Apache Beam/Dataflow pipeline. A game session is a burst of events separated by less than 20 minutes of inactivity. The pipeline must: emit the session result as soon as the gap closes; accept late events for up to 5 minutes and issue one update; drop anything later. Which Beam windowing and trigger setup meets these requirements?

  • Use 1-hour fixed (tumbling) windows with the default AfterWatermark trigger and no allowed-lateness period.

  • Place all events in a global window and register processing-time timers to close sessions after 20 minutes of inactivity, disabling allowed lateness.

  • Configure a session window with a 20-minute gap duration, set 5-minute allowed lateness, and use an AfterWatermark trigger with one late firing in accumulating mode.

  • Apply 20-minute sliding windows with a 5-minute slide interval and AfterProcessingTime triggers firing every minute.

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