nerdexam
Microsoft

DP-700 · Question #90

You have a Fabric workspace named EventStream1. EventStream1 outputs events to a table named Table1 in a lakehouse. The streaming data is sourced from motorway sensors and represents the speed of…

The correct answer is C. tumbling. To average car speeds from an EventStream by fixed, non-overlapping, and contiguous one-minute intervals where each event belongs to exactly one window, you should use a tumbling window function.

Design and implement data ingestion and transformation

Question

You have a Fabric workspace named EventStream1. EventStream1 outputs events to a table named Table1 in a lakehouse. The streaming data is sourced from motorway sensors and represents the speed of cars. You need to add a transformation to EventStream1 to average the car speeds. The speeds must be grouped by non-overlapping and contiguous time intervals of one minute. Each event must belong to exactly one window. Which windowing function should you use?

Exhibit

DP-700 question #90 exhibit

Options

  • Asliding
  • Bhopping
  • Ctumbling
  • Dsession

How the community answered

(35 responses)
  • A
    3% (1)
  • C
    91% (32)
  • D
    6% (2)

Why each option

To average car speeds from an EventStream by fixed, non-overlapping, and contiguous one-minute intervals where each event belongs to exactly one window, you should use a tumbling window function.

Asliding

A sliding window produces an output every time the window slides by a fixed interval, meaning windows can overlap, and events can belong to multiple windows.

Bhopping

A hopping window is a variation of a sliding window where it 'hops' forward by a specified period, meaning windows can also overlap, and events can belong to multiple windows.

CtumblingCorrect

A tumbling window function segments a data stream into distinct, non-overlapping, and contiguous time intervals. Each event is assigned to exactly one window, which is ideal for calculating aggregates like averages over fixed time durations, such as the specified one-minute intervals for car speeds.

Dsession

A session window groups events that arrive closely together within a certain timeframe, typically used for user activity or other event sequences with varying gaps, and does not guarantee fixed, contiguous intervals.

Concept tested: EventStream tumbling window function

Source: https://learn.microsoft.com/en-us/fabric/real-time-analytics/eventstreams/eventstream-transformation-editor

Topics

#Stream Processing#Windowing Functions#Microsoft Fabric#EventStream

Community Discussion

No community discussion yet for this question.

Full DP-700 Practice