You have configured several message routes in IoT Hub to direct telemetry to Blob Storage and Event Hubs. However, you notice that messages not matching any route criteria are being dropped. How can you preserve these messages?

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

Correct Answer: Enable the built-in Fallback Route to send non-matching messages to the default event hub endpoint

When custom routes are defined, messages that do not match any route query are discarded unless the built-in Fallback Route is enabled. Enabling it redirects all unmatched messages...

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

You have configured several message routes in IoT Hub to direct telemetry to Blob Storage and Event Hubs. However, you notice that messages not matching any route criteria are being dropped. How can you preserve these messages?

โœ“ Correct Answer & ExplanationAzure IoT Hub

Correct Answer

Enable the built-in Fallback Route to send non-matching messages to the default event hub endpoint

Why This Answer Is Correct

When custom routes are defined, messages that do not match any route query are discarded unless the built-in Fallback Route is enabled. Enabling it redirects all unmatched messages to the default built-in messaging endpoint (messages/events).

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Azure IoT Hub โ€” a core concept tested in Microsoft Certified: Azure IoT Developer Specialty (AZ-220). Understanding Azure IoT Hub 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.