Microsoft Certified Azure Data Fundamentals · Free Practice Question Easy
Question 16
In a general stream processing architecture, what is the role of a queue in the data processing flow?
-
A
To apply complex queries to the event data in real time.
-
B
To capture and manage event data before processing.
-
C
To store processed results in a database for future analysis.
-
D
To visualize real-time data through dashboards.
Reveal correct answer
Correct answer: B
Explanation
In a stream processing architecture, a queue is used to capture and manage event data before it is processed. This ensures that event data is processed in order and that each event is processed only once. Visualization, storage, and querying are handled by other components in the architecture.
Reference: https://learn.microsoft.com/en-us/azure/storage/queues/storage-queues-introduction
A. Applying complex queries to event data in real-time is typically done using query engines or processing engines, not a queue in the data processing flow. Queues are used for managing the flow of data and ensuring efficient processing and delivery of events to downstream components.
B. Capturing and managing event data before processing is the main role of a queue in a general stream processing architecture. Queues help in buffering, prioritizing, and managing the flow of incoming data events before they are processed by downstream components.
C. Storing processed results in a database for future analysis is a common practice in data processing, but it is not the primary role of a queue in the data processing flow. Queues are used to manage the flow of data between different processing stages or components.
D. Visualizing real-time data through dashboards is typically done using visualization tools or services, not a queue in the data processing flow. Queues are primarily used for managing the flow of data between different components of a system.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
