How Should 100,000 Mobile App Instances Stream CPU Telemetry into Azure SQL?
Short answer
Send app telemetry to Azure Event Hubs, then have an Azure Stream Analytics job with a one-hour tumbling window compute each instance's average CPU utilization and write it to Azure SQL Database.
Question
You have a mobile app that is deployed to 100,000 users. Each instance of the app collects usage data.
You have an Azure subscription.
You need to recommend a solution that meets the following requirements:
• Accepts the usage data from the app instances
• Calculates the average hourly CPU utilization of each app instance and writes the average to an Azure SQL database
• Minimizes costs and administrative effort
What should you include in the recommendation? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Key Takeaways
The exam tests whether you separate high-volume ingestion from stateful time-window aggregation; the trap is choosing a single service (Functions, Logic Apps, or direct SQL writes) to do both jobs.
This hotspot item asks you to design an ingestion and stream-aggregation path that accepts telemetry from 100,000 mobile app instances, computes each instance's hourly average CPU utilization, and lands the result in Azure SQL Database with minimal cost and admin effort. The page confirms Azure Event Hubs for ingestion plus Azure Stream Analytics with a one-hour tumbling window for the aggregation.
Common mistake: Pointing the mobile apps straight at Azure SQL Database or Azure Functions and computing averages in application code, which creates connection storms, throttling, and per-execution costs instead of a durable, buffered event pipeline.
Expert Analysis
Why the Answer Is Correct
Azure Event Hubs is a fully managed, partitioned event ingestion service built for exactly this shape of workload: hundreds of thousands of devices each emitting small telemetry messages. It absorbs the bursty per-instance usage data at low latency and low cost per million events, and it decouples the mobile tier from the analytics tier so a downstream outage never blocks device reporting. Azure Stream Analytics then reads that stream and applies a one-hour tumbling window grouped by the app instance identifier, producing the hourly average CPU utilization with no servers to patch. Stream Analytics natively outputs to Azure SQL Database, so the average is upserted into the relational store where reporting and Power BI can consume it. Together the pair satisfies both explicit requirements (accept data, compute hourly per-instance averages, write to SQL) while honoring the cost and administrative-effort constraint, because both are PaaS with no cluster or VM management.
Why Other Candidate Answers Are Wrong
Writing directly from the mobile app to Azure SQL Database fails on volume and cost: 100,000 devices opening connections and issuing INSERT/UPDATE statements will exhaust DTU/vCore limits, force expensive scale-up, and give you no buffering when the database is busy. Azure Functions triggered per message is technically possible but is a poor fit for hourly windowed aggregation, since you must persist per-instance state in a durable store and pay for millions of executions. A batch alternative such as Azure Data Factory or Blob Storage plus a scheduled job adds latency of hours and requires orchestration, which contradicts "minimizes administrative effort." Azure IoT Hub would work for device messaging but is priced and licensed per-unit around device management features that a plain mobile telemetry scenario does not need, and it still requires a separate stream processor to compute the averages. Logic Apps and Event Grid are not designed for high-throughput streaming aggregation at all.
Community Comment Notes
AllanHouston argued for Azure Event Hubs on the grounds that it is a "fully managed, low-latency data ingestion service" engineered for telemetry and high-throughput messaging, and added that it "easily absorbs millions of events per second" with minimal cost and administrative setup compared with a database. That reasoning matches the exam's intent: the ingestion option must be a buffered, partitioned event service, not a relational store. He then continued that the averaging and the write to the database are handled by the downstream processing service, which is precisely the two-step split this question rewards. Treat the vote tally as a hint only — the justification, not the count, is what should drive your selection.
Official Reference
- https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-about
- https://learn.microsoft.com/en-us/azure/stream-analytics/stream-analytics-introduction
These links open the official vendor documentation in a new tab.
Exam Strategy
When a hotspot scenario mentions very high device/instance counts plus an aggregation over a time window, immediately look for an ingestion service (Event Hubs or IoT Hub) paired with a stream processor (Stream Analytics). Rule out any option that has the client talk directly to the database or that computes windowed state inside per-message code.
Frequently Asked Questions
Why not send the mobile app telemetry directly to Azure SQL Database instead of Event Hubs?
How does Stream Analytics calculate the average hourly CPU utilization per app instance?
Discussion 1 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 1
-
AllanHouston 👍 1Mobile devices must send the data to: Azure Event Hubs. It is a fully managed, low-latency data ingestion service engineered exactly for high-throughput messaging, big data streaming, and telemetry gathering. It easily absorbs millions of events per second with minimal cost and administrative setup compared to a database. To calculate the average CPU utilization and send the results to the database, use: Azure Stream Analytics. It provides a fully managed serverless complex event processing engine. It integrates natively with Event Hubs as an input source and Azure SQL Database as an output destination. You can accomplish this calculation with a clean, low-maintenance SQL-like windowing query satisfying the constraint to minimize administrative effort.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AZ-305 Questions
Access 95 questions with complete answers and detailed explanations.
View Full AZ-305 Practice Test →