A logistics company ingests real-time GPS data from delivery vehicles via Azure Event Hubs. The data includes vehicle ID, latitude, longitude, and timestamp. The company also has historical route plan data stored as CSV files in Azure Data Lake Storage Gen2. Data analysts need to combine the live stream with the historical data in near real-time to create a dashboard showing if vehicles are on schedule. They also need to run complex T-SQL queries on the combined dataset for ad-hoc reporting. Which Azure service should they use as the primary analytics platform?
Azure Synapse Analytics is the correct choice because it unifies real-time stream ingestion and historical data analytics in one platform. It provides a SQL pool (dedicated or serverless) that runs standard T-SQL queries against both live streaming data (ingested via Event Hubs) and data lake files like Parquet or Delta, enabling ad-hoc reporting on the combined dataset. Synapse also natively integrates with Power BI, so the delivery-fleet dashboard can be built directly from the same query engine. Hence, it satisfies the requirements for real-time dashboards, T-SQL ad-hoc queries, and historical data access without additional services.
Why this answer
Azure Synapse Analytics is the correct choice because it provides a unified analytics platform that can ingest real-time data from Azure Event Hubs via its built-in streaming capabilities (e.g., using Synapse Pipelines or Spark Structured Streaming) and combine it with historical data stored in Azure Data Lake Storage Gen2. It supports complex T-SQL queries through its dedicated SQL pool (formerly SQL Data Warehouse) for ad-hoc reporting, enabling near real-time dashboards and interactive analytics on the combined dataset.
Exam trap
The trap here is that candidates often confuse Azure Stream Analytics as the primary analytics platform because it handles real-time streaming, but they overlook the requirement for complex T-SQL queries and ad-hoc reporting, which Stream Analytics cannot natively support, making Azure Synapse Analytics the correct unified solution.
Why the other options are wrong
Azure Stream Analytics is designed for real-time stream processing but lacks the ability to run complex T-SQL queries on combined streaming and historical data for ad-hoc reporting, which is a key requirement.
Azure Data Lake Analytics is a batch analytics service that uses U-SQL, not T-SQL, and is not designed for near real-time streaming or interactive T-SQL queries on combined streaming and historical data.
Azure Analysis Services is a semantic modeling and OLAP engine, not designed for near real-time streaming or complex T-SQL queries on raw data. It requires pre-processed data and does not directly query Event Hubs or Data Lake Storage.