Skip to Content

Microsoft AZ-220: Secure Azure IoT Device Communication Protocol for Constrained Devices

Discover the optimal communication protocol for securely connecting resource-constrained IoT devices to Azure IoT Hub, even when port 443 is blocked by firewalls.

Table of Contents

Question

You have an Azure IoT Hub deployment.

You plan to deploy 1,000 IoT devices that will have 1 MB of RAM. The devices will be deployed behind firewalls that block port 443.

You need to configure the communication protocol for the devices. The solution must ensure that each device uses unique credentials.

Which protocol should you use?

A. AMQP
B. MQTT over WebSockets
C. MQTT
D. AMQP over WebSockets

Answer

D. AMQP over WebSockets

Explanation

The most suitable protocol for the given scenario is AMQP over WebSockets.

AMQP (Advanced Message Queuing Protocol) over WebSockets allows devices with limited resources, such as those with only 1 MB of RAM, to securely communicate with Azure IoT Hub using unique credentials. It enables bidirectional communication and supports reliable message delivery.

WebSockets provide a full-duplex communication channel over a single TCP connection, allowing data to be sent and received simultaneously. By leveraging WebSockets, AMQP can bypass firewall restrictions that block port 443, as WebSocket connections typically use ports 80 or 443, which are commonly open.

AMQP over WebSockets ensures secure communication by utilizing TLS encryption, protecting data in transit. Additionally, it supports per-device authentication using unique credentials, ensuring that each device is individually authenticated and authorized to connect to the IoT Hub.

Given the resource constraints of the devices (1 MB RAM) and the requirement for unique credentials, AMQP over WebSockets is the most appropriate choice among the provided options.

Microsoft Azure IoT Developer AZ-220 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure IoT Developer AZ-220 exam and earn Microsoft Azure IoT Developer AZ-220 certification.