You have an Azure IoT solution that includes an Azure IoT hub and 100 Azure IoT Edge devices. You plan to deploy the IoT Edge devices to external networks. The firewalls of the external networks only allow traffic on port 80 and port 443. You need to ensure that the devices can connect to the IoT hub. The solution must minimize costs. What should you do?

QuestionsCategory: AZ-220You have an Azure IoT solution that includes an Azure IoT hub and 100 Azure IoT Edge devices. You plan to deploy the IoT Edge devices to external networks. The firewalls of the external networks only allow traffic on port 80 and port 443. You need to ensure that the devices can connect to the IoT hub. The solution must minimize costs. What should you do?
Admin Staff asked 4 months ago
You have an Azure IoT solution that includes an Azure IoT hub and 100 Azure IoT Edge devices.
You plan to deploy the IoT Edge devices to external networks. The firewalls of the external networks only allow traffic on port 80 and port 443.
You need to ensure that the devices can connect to the IoT hub. The solution must minimize costs.
What should you do?

A. Configure the upstream protocol of the devices to use MQTT over TCP.

B. Configure the upstream protocol of the devices to use MQTT over WebSocket.

C. Connect the external networks to the IoT solution by using ExpressRoute.

D. Integrate cellular communication hardware onto the devices and avoid the use of the external networks.








 

Suggested Answer: B

MQTT over WebSockets uses port 443.
Note: Devices can communicate with IoT Hub in Azure using various protocols. Typically, the choice of protocol is driven by the specific requirements of the solution. The following table lists the outbound ports that must be open for a device to be able to use a specific protocol:
 Reference Image
Incorrect Answers:
A: MQTT over TCP uses port 883.
C: ExpressRoute uses BGP, which uses TCP port 179.
D: HTTPS proxy also uses port 443, but it would be a more expensive solution.
Reference: alt="Reference Image" />
Incorrect Answers:
A: MQTT over TCP uses port 883.
C: ExpressRoute uses BGP, which uses TCP port 179.
D: HTTPS proxy also uses port 443, but it would be a more expensive solution.
Reference:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-protocols

This question is in AZ-220 Microsoft Azure IoT Developer Exam
For getting Microsoft Certified: Azure IoT Developer Specialty Certificate





Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Microsoft. 
The website does not contain actual questions and answers from Microsoft's Certification Exams.
Trademarks, certification & product names are used for reference only and belong to Microsoft.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.