Microsoft Certified: Azure Developer Associate (AZ-204)Connect to and consume Azure services and third-party servicesMedium
A manufacturing company uses Azure IoT Edge devices to collect sensor data. This data needs to be processed locally on the edge device to filter out noise and aggregate readings before being sent to the cloud. The processing logic involves custom code and needs to be deployed and updated remotely. Which Azure service should be used to deploy and manage this custom processing logic on the IoT Edge devices?
- AAzure Logic Apps
- BAzure IoT Edge modules
- CAzure Stream Analytics (cloud-based)
- DAzure Functions (cloud-based)
Show answer & explanationAnswer & explanation
Correct answer: B. Azure IoT Edge modules
Azure IoT Edge modules allow custom business logic (e.g., C#, Python, Node.js code) to be deployed, managed, and run directly on IoT Edge devices. This enables local processing, filtering, and aggregation of data before sending it to the cloud, addressing the requirements for custom code and remote deployment/updates.
Why the other options are wrong
- A. Azure Logic Apps are cloud-based workflow automation services and are not designed for running custom processing logic directly on edge devices.
- C. Azure Stream Analytics is primarily a cloud-based service for real-time stream processing, although it has an IoT Edge module, the question implies custom code, not just ASA queries.
- D. Azure Functions are typically cloud-based and would not run directly on the edge device for local processing.
Azure IoT Edge Modules
Containerized units of business logic that can be deployed, managed, and run on Azure IoT Edge devices.
- Enable local processing of data on edge devices.
- Can contain custom code (e.g., C#, Python) or Azure services.
- Managed remotely from the Azure IoT Hub.
Memory trick: IoT Edge 'modules' are the 'brains' on the device, managed from the cloud.