DP-900 Describe an analytics workload on Azure Practice Question
A manufacturing company ingests a continuous stream of sensor data from thousands of IoT devices into Azure Event Hubs. The company also stores historical equipment maintenance records in Azure SQL Database. The operations team needs to join the streaming sensor data with the historical maintenance records in near real-time to detect anomalies, and data scientists need to run ad-hoc T-SQL queries on the combined dataset for analysis. Which Azure service should they use as the primary analytics platform to meet both requirements?
⚠ Common exam trap
A common mix-up: candidates confuse Azure Stream Analytics as sufficient for both requirements, overlooking its lack of ad-hoc T-SQL query support, and mistakenly think Azure Databricks supports T-SQL natively when it actually uses Spark SQL or Python.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Azure Synapse Analytics
Azure Synapse Analytics is the correct choice because it provides a unified analytics platform that can ingest streaming data from Azure Event Hubs via its built-in Spark pools or pipelines, and simultaneously query historical data in Azure SQL Database using T-SQL. This enables near real-time anomaly detection through streaming joins and ad-hoc T-SQL queries for data scientists, all within a single service without needing separate tools.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Azure Stream Analytics
Why it's wrong here
Azure Stream Analytics excels at real-time stream processing with continuous, windowed queries defined in a SQL-like language, but those jobs are long-running and operate on live input, not on ad-hoc interactive T-SQL over stored historical data. You cannot pause and run a quick external-table query with Stream Analytics; it lacks a general-purpose T-SQL engine for raw-data exploration. Therefore, it meets the streaming half of the requirement but fails the explicit ad-hoc T-SQL half.
When this WOULD be correct
If the question only required real-time anomaly detection on streaming data without the need for ad-hoc T-SQL queries on combined datasets, and the output could be directed to a separate storage for analysis, then Azure Stream Analytics would be the correct choice.
- ✗
Azure Databricks
Why it's wrong here
Azure Databricks can indeed process continuous sensor streams through Structured Streaming and allows interactive notebooks, but its query language is Spark SQL, not T-SQL. The question explicitly requires ad-hoc T-SQL, and although Databricks has a SQL warehouse for BI-style queries, it does not natively support T-SQL dialect or syntax. Moreover, its streaming ingestion requires cluster lifecycle management, making it less direct than Synapse's unified serverless experience.
When this WOULD be correct
Azure Databricks would be correct if the question required advanced machine learning model training on the combined dataset, or if the team needed to perform complex data transformations using Spark and Python/Scala, and T-SQL was not a requirement.
- ✓
Azure Synapse Analytics
Why this is correct
Azure Synapse Analytics is correct because it unifies continuous data ingestion—via pipelines, Event Hubs, or streaming sources—with a full T-SQL query engine. You can create external tables over raw sensor data and run ad-hoc queries with dedicated SQL pools or the serverless SQL endpoint. This directly satisfies both the real-time ingestion and the requirement for ad-hoc T-SQL analysis, unlike the other services.
- ✗
Azure Analysis Services
Why it's wrong here
Azure Analysis Services is a semantic modeling and reporting layer, not a stream-processing or raw-data query engine. It consumes already transformed data from sources like Azure Synapse or SQL Server and exposes it to clients via DAX, MDX, or Power BI, but it cannot directly ingest a continuous sensor stream or answer ad-hoc T-SQL queries on the landing data. Thus, while it may sit on top of the correct solution, it cannot perform the required ingestion or raw querying itself.
When this WOULD be correct
A question where the requirement is to create a tabular or multidimensional semantic model for business users to perform interactive analysis (e.g., with Excel or Power BI) on pre-aggregated data from a data warehouse, without needing real-time streaming or direct T-SQL access.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The DP-900 exam frequently reuses these exact scenarios with slightly different constraints.
✓Azure Synapse AnalyticsCorrect answer▾
Why this is correct
Azure Synapse Analytics is correct because it unifies continuous data ingestion—via pipelines, Event Hubs, or streaming sources—with a full T-SQL query engine. You can create external tables over raw sensor data and run ad-hoc queries with dedicated SQL pools or the serverless SQL endpoint. This directly satisfies both the real-time ingestion and the requirement for ad-hoc T-SQL analysis, unlike the other services.
✗Azure Stream AnalyticsWrong answer — click to see why▾
Why this is wrong here
Azure Stream Analytics is optimized for real-time stream processing but lacks native support for ad-hoc T-SQL queries on combined streaming and historical data. It cannot directly query Azure SQL Database in a T-SQL interactive manner, failing the data scientists' requirement.
★ When this WOULD be the correct answer
If the question only required real-time anomaly detection on streaming data without the need for ad-hoc T-SQL queries on combined datasets, and the output could be directed to a separate storage for analysis, then Azure Stream Analytics would be the correct choice.
Why candidates choose this
Candidates may focus on the 'near real-time' streaming requirement and assume Stream Analytics is sufficient, overlooking the explicit need for ad-hoc T-SQL queries on the combined dataset.
✗Azure DatabricksWrong answer — click to see why▾
Why this is wrong here
Azure Databricks is optimized for big data processing and machine learning, but it does not natively support T-SQL queries. The requirement for ad-hoc T-SQL queries makes Azure Synapse Analytics more suitable.
★ When this WOULD be the correct answer
Azure Databricks would be correct if the question required advanced machine learning model training on the combined dataset, or if the team needed to perform complex data transformations using Spark and Python/Scala, and T-SQL was not a requirement.
Why candidates choose this
Candidates may choose Databricks because it is a popular platform for big data analytics and streaming, and they might overlook the specific need for T-SQL query support, assuming Databricks can handle all analytics workloads.
✗Azure Analysis ServicesWrong answer — click to see why▾
Why this is wrong here
Azure Analysis Services is a semantic modeling and OLAP engine, not designed for real-time streaming or ad-hoc T-SQL queries on raw data. It cannot directly ingest streaming data from Event Hubs or execute T-SQL queries against combined streaming and historical datasets.
★ When this WOULD be the correct answer
A question where the requirement is to create a tabular or multidimensional semantic model for business users to perform interactive analysis (e.g., with Excel or Power BI) on pre-aggregated data from a data warehouse, without needing real-time streaming or direct T-SQL access.
Why candidates choose this
Candidates may confuse Azure Analysis Services with a general analytics platform because of the word 'Analysis' in its name, and assume it supports T-SQL queries and real-time data processing.
Analysis generated from the official DP-900blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
Learn chapter
Data Roles and Core Concepts
Key term
Dataset
A dataset is a collection of related data, usually in a structured format, that can be used for analysis, training models, or reporting in Azure data services.
Key term
Azure SQL Database
Azure SQL Database is a fully managed relational database-as-a-service (DBaaS) in Microsoft Azure, based on the SQL Server engine, that handles scaling, backups, patching, and high availability automatically.
About these practice questions
Courseiva writes every DP-900 question from scratch — 820 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DP-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-900 exam.