A logistics company receives real-time GPS tracking data from its delivery fleet via Azure Event Hubs. The data is a continuous stream of location updates (vehicle ID, latitude, longitude, timestamp). Additionally, the company has daily static route plan files in CSV format stored in Azure Data Lake Storage Gen2. The operations team needs to combine the live GPS stream with the route plans to create a near real-time dashboard showing if delivery vehicles are on schedule. They also want to run historical queries on both the stream data and route plans using T-SQL, without moving the data to another store. Which Azure service should they use as the primary analytics platform?
Trap 1: Azure Stream Analytics
Incorrect. Azure Stream Analytics is designed for real-time stream processing only. It can output to sinks like Data Lake, but cannot directly query historical batch data or combine both in a single query for dashboards.
Trap 2: Azure Data Factory
Azure Data Factory is a cloud data integration and orchestration service, not a query engine. While it can ingest GPS event streams from Event Hubs into Azure Data Lake Storage and orchestrate transformation pipelines, it has no T-SQL or SQL query endpoint to interactively analyze the combined hot/cold data. Therefore, it cannot directly serve or power the near real-time dashboard backed by SQL queries, which is the core requirement in this scenario.
Trap 3: Azure Databricks
Incorrect. Azure Databricks is a powerful analytics platform based on Apache Spark, but its primary query language is Spark SQL (or Python/Scala), not T-SQL. It also requires more manual setup for streaming and batch integration compared to Synapse.
- A
Azure Synapse Analytics
Correct. Azure Synapse Analytics provides a unified platform for streaming ingestion (via pipelines), batch data in Data Lake, and T-SQL querying over both hot and cold data using serverless SQL pools. It supports near real-time dashboards and historical analysis.
- B
Azure Stream Analytics
Why wrong: Incorrect. Azure Stream Analytics is designed for real-time stream processing only. It can output to sinks like Data Lake, but cannot directly query historical batch data or combine both in a single query for dashboards.
- C
Azure Data Factory
Why wrong: Azure Data Factory is a cloud data integration and orchestration service, not a query engine. While it can ingest GPS event streams from Event Hubs into Azure Data Lake Storage and orchestrate transformation pipelines, it has no T-SQL or SQL query endpoint to interactively analyze the combined hot/cold data. Therefore, it cannot directly serve or power the near real-time dashboard backed by SQL queries, which is the core requirement in this scenario.
- D
Azure Databricks
Why wrong: Incorrect. Azure Databricks is a powerful analytics platform based on Apache Spark, but its primary query language is Spark SQL (or Python/Scala), not T-SQL. It also requires more manual setup for streaming and batch integration compared to Synapse.