Learn the essential requirement for establishing secure connections between device streams and Azure IoT Hub streaming endpoints. Discover why TLS-enabled connections are critical for secure IoT communication.
Table of Contents
Question
What is required of the device and service portion of a device stream to establish a connection to an IoT Hub and its streaming endpoint?
A. A direct Secure Shell (SSH) connection to the device
B. Transport Layer Security (TLS)-enabled connections to the IoT Hub and its streaming endpoint
C. HTTP-enabled connections to the IoT Hub and its streaming endpoint
D. A VPN tunnel to stream data through the device
Answer
B. Transport Layer Security (TLS)-enabled connections to the IoT Hub and its streaming endpoint
Explanation
To establish a connection between a device stream and an Azure IoT Hub streaming endpoint, Transport Layer Security (TLS)-enabled connections are required. Both the device and service components must meet the following criteria:
TLS Encryption
All connections to the IoT Hub and its streaming endpoint must use TLS, ensuring that data is encrypted during transmission. This is critical for maintaining secure communication channels.
Outbound Connectivity via Port 443
Devices and services need outbound connectivity to the IoT Hub’s main endpoint and its streaming endpoint over port 443. This setup allows secure communication without requiring inbound firewall rules, making it firewall-friendly.
WebSocket Protocol
Once the outbound TCP connection is established, it is upgraded to a WebSocket connection, which acts as a secure tunnel for bidirectional communication between the device and service.
Authentication
Both the device and service sides must authenticate with the IoT Hub using their respective credentials before initiating the connection.
These requirements ensure that the connection is secure, reliable, and compatible with various TCP/IP-based applications.
Developing Microsoft Azure AI Solutions skill assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Developing Microsoft Azure AI Solutions exam and earn Developing Microsoft Azure AI Solutions certification.