
Answer-first summary for fast verification
Answer: Structured Streaming models new data arriving in a data stream as new rows appended to an unbounded table.
Structured Streaming in Apache Spark models a data stream as a continuously growing table where new data is appended as new rows. This abstraction allows users to apply batch-like operations (e.g., SQL queries) on streaming data. Option D correctly captures this model. Other options are incorrect: A (GPUs are not used), B (not derived from Kafka), C (no specialized hardware), and E (describes state management, not the core programming model).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Which statement describes the fundamental programming model employed by Spark Structured Streaming?
A
Structured Streaming leverages the parallel processing of GPUs to achieve highly parallel data throughput.
B
Structured Streaming is implemented as a messaging bus and is derived from Apache Kafka.
C
Structured Streaming uses specialized hardware and I/O streams to achieve sub-second latency for data transfer.
D
Structured Streaming models new data arriving in a data stream as new rows appended to an unbounded table.
E
Structured Streaming relies on a distributed network of nodes that hold incremental state values for cached stages.
No comments yet.