You need to dynamically update the temperature warning threshold of a custom telemetry filter module on an IoT Edge device from the cloud without restarting the module. What should you use?

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

Correct Answer: Update the module's twin desired properties in IoT Hub, and handle the twin update callback in the module

Every module on an IoT Edge device has its own module twin in IoT Hub. Modifying its desired properties allows you to push configurations to the module dynamically. The module can ...

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

You need to dynamically update the temperature warning threshold of a custom telemetry filter module on an IoT Edge device from the cloud without restarting the module. What should you use?

โœ“ Correct Answer & ExplanationAzure IoT Edge

Correct Answer

Update the module's twin desired properties in IoT Hub, and handle the twin update callback in the module

Why This Answer Is Correct

Every module on an IoT Edge device has its own module twin in IoT Hub. Modifying its desired properties allows you to push configurations to the module dynamically. The module can handle the change in its code without needing a container restart, unlike changing environment variables.

๐Ÿ“š 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.