You have an Azure IoT Edge device deployed at a factory. A custom module processes sensor data and should forward only anomaly alerts to IoT Hub to minimize bandwidth. Normal readings should be discarded at the edge. How do you configure this routing?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Define an IoT Edge route in the deployment manifest from the module to $upstream with a condition filter

IoT Edge message routing in the deployment manifest allows you to define routes between modules and to $upstream (IoT Hub). You can add a condition (WHERE clause) so only messages ...

๐Ÿ“‹Part of Microsoft Certified: Azure IoT Developer Specialty (AZ-220) ยท Azure Certification Practice
Real Exam ScenarioAzure IoT Edge

You have an Azure IoT Edge device deployed at a factory. A custom module processes sensor data and should forward only anomaly alerts to IoT Hub to minimize bandwidth. Normal readings should be discarded at the edge. How do you configure this routing?

โœ“ Correct Answer & ExplanationAzure IoT Edge

Correct Answer

Define an IoT Edge route in the deployment manifest from the module to $upstream with a condition filter

Why This Answer Is Correct

IoT Edge message routing in the deployment manifest allows you to define routes between modules and to $upstream (IoT Hub). You can add a condition (WHERE clause) so only messages matching the anomaly criteria are routed upstream. This ensures filtering happens on the device before any cloud bandwidth is consumed.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Azure IoT Edge โ€” a core concept tested in Microsoft Certified: Azure IoT Developer Specialty (AZ-220). Understanding Azure IoT Edge is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.