A fleet of IoT devices is deployed behind a strict corporate firewall that only allows outbound traffic on ports 80 and 443. Which protocol configuration should you use in the Device SDK?

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

Correct Answer: MQTT over WebSockets

Native MQTT uses port 8883, and native AMQP uses port 5671. In environments where these ports are blocked by strict firewalls, you must use MQTT over WebSockets or AMQP over WebSoc...

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

A fleet of IoT devices is deployed behind a strict corporate firewall that only allows outbound traffic on ports 80 and 443. Which protocol configuration should you use in the Device SDK?

โœ“ Correct Answer & ExplanationAzure IoT Hub

Correct Answer

MQTT over WebSockets

Why This Answer Is Correct

Native MQTT uses port 8883, and native AMQP uses port 5671. In environments where these ports are blocked by strict firewalls, you must use MQTT over WebSockets or AMQP over WebSockets, which tunnel traffic through port 443.

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