A retail company captures real-time sensor data from IoT devices to detect anomalies and predict equipment failures. The data must be processed immediately as it arrives. Which type of data processing workload best describes this scenario?
Streaming processing ingests and analyzes data in real time, enabling prompt anomaly detection and failure prediction from IoT sensor feeds.
Why this answer
B is correct because streaming processing is designed for continuous, real-time data ingestion and immediate analysis, which matches the requirement to process sensor data as it arrives. Technologies like Azure Stream Analytics or Apache Kafka enable low-latency processing of IoT data streams to detect anomalies and predict failures without batching.
Exam trap
Microsoft often tests the distinction between batch and streaming by describing a scenario with 'immediate' or 'real-time' requirements, and candidates mistakenly choose batch processing because they overlook the latency constraint.
How to eliminate wrong answers
Option A is wrong because batch processing processes data in large, scheduled chunks (e.g., hourly or daily), which introduces latency and cannot handle real-time sensor data that must be processed immediately. Option C is wrong because OLTP focuses on managing transactional operations (e.g., order entry, inventory updates) with ACID compliance, not on continuous, high-velocity stream analytics. Option D is wrong because data warehousing is optimized for storing and querying historical, structured data for reporting and BI, not for real-time ingestion and immediate anomaly detection.