You want a moving average over ten minutes, updated each minute. Which window fits?
Why B is the answer
A sliding window
Sliding windows overlap.
In detail
- An average updated each minute over ten minutes needs overlap, so sliding.
- More overlap means more computation.
Use case
An illustrative scenario, not a real incident.
A dashboard shows a ten-minute average, updated each minute. Each event falls in several windows.
See it in different ways
flowchart TD A["Windowing"] --> B["Fixed: equal, separate blocks"] A --> C["Sliding: overlapping blocks"] A --> D["Session: activity with gaps"]
mindmap
root((Windows))
Fixed
Equal blocks, no overlap
Sliding
Overlap, moving average
Session
Gaps of inactivity
Global
One window for everythingmindmap
root(("Sliding window"))
n1["Window 1"]
n2["Minutes 1 to 10"]
n3["Window 2"]
n4["Minutes 2 to 11"]Key point: Sliding windows overlap.
Why the other options are wrong
- A. One window per day
- One window per day is too coarse.
- C. A fixed window
- Fixed windows do not overlap.
- D. A session window
- Session windows follow gaps.

