GoogleGoogle
PROFESSIONAL-DATA-ENGINEER · Question #251
PROFESSIONAL-DATA-ENGINEER Question #251: Real Exam Question with Answer & Explanation
Sign in or unlock PROFESSIONAL-DATA-ENGINEER to reveal the answer and full explanation for question #251. The question stem and answer options stay visible for context.
Submitted by thandi_sa· Mar 30, 2026Designing data processing systems
Question
You are analyzing the price of a company's stock. Every 5 seconds, you need to compute a moving average of the past 30 seconds' worth of data. You are reading data from Pub/Sub and using DataFlow to conduct the analysis. How should you set up your windowed pipeline?
Options
- AUse a fixed window with a duration of 5 seconds. Emit results by setting the following trigger:
- BUse a fixed window with a duration of 30 seconds. Emit results by setting the following trigger:
- CUse a sliding window with a duration of 5 seconds. Emit results by setting the following trigger:
- DUse a sliding window with a duration of 30 seconds and a period of 5 seconds.
Unlock PROFESSIONAL-DATA-ENGINEER to see the answer
You've previewed enough free PROFESSIONAL-DATA-ENGINEER questions. Unlock PROFESSIONAL-DATA-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Dataflow#Apache Beam#Windowing#Streaming Analytics