CertLumen

Microsoft Fabric Data Engineer (DP-700) · Section 2 · 33% of the exam

Process data by using KQL

One of the objectives of the Microsoft Certified: Fabric Data Engineer Associate (exam DP-700: Implementing Data Engineering Solutions Using Microsoft Fabric) exam, in the section “Ingest and transform data”. Here is what it covers, the points to remember and a question to try.

What it covers

Spark structured streaming treats a stream as an unbounded table and writes to Delta with checkpoints, watermarks and triggers. KQL in an eventhouse processes events at ingestion with update policies and materialized views and analyzes them with summarize and series functions. This lesson ends with windowing: tumbling, hopping, sliding and session windows in eventstreams, Spark and KQL, and window functions in SQL.

Points to remember

  • Structured streaming: readStream and writeStream, micro-batches, a checkpoint per query, Delta as the usual sink.
  • Triggers: default continuous micro-batches, processingTime for batching, availableNow to process everything and stop.
  • Watermarks bound lateness and state; append-mode windowed results appear only after the watermark passes the window end.
  • Run production streams in Spark job definitions with a retry policy, not in notebooks.
  • KQL: update policies transform at ingestion (typed target tables); materialized views maintain aggregates and latest-per-key with arg_max.

Try a question

Which description matches a tumbling window?

  1. AFixed-size, non-overlapping intervals; each event falls in exactly one window
  2. BFixed-size windows that advance by a smaller hop, so one event can fall in several windows
  3. CWindows that stay open while events keep arriving within a timeout and close after a gap
  4. DWindows that group events with exactly the same timestamp
Show the answer

A. Tumbling: fixed, non-overlapping. Hopping: fixed size with a hop smaller than the size (overlap). Sliding: output when events enter or leave. Session: gap-based. Snapshot: identical timestamps.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Spark structured streaming, KQL and windowing teaches this objective (about 55 minutes), and 20 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 49 objectives · Next objective →