You are building an industrial IoT solution for a manufacturing plant equipped with a number of field devices which communicate using the MQTT protocol.
Because of security and traffic monitoring reasons, you want the devices to connect to the IoT Hub via an edge device.
How would you configure the solution for this scenario?
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answer: B.
Option A is incorrect because via the MQTT protocol, the leaf devices can communicate with the IoT Hub directly.
No translation function is needed.
Option B is CORRECT because all the devices can communicate with the IoT Hub via MQTT.
The gateway transparently mediates communication between the devices and IoT Hub while operating as a security layer.
Option C is incorrect because while the transparent gateway is the right choice for the given scenario, in case of transparent gateways, the leaf devices must have a cloud identity to be able to connect to the hub.
Option D is incorrect because the leaf devices communicate smoothly with the hub via MQTT, therefore there is no need for translation.
Diagram:
Reference:
In this scenario, the goal is to ensure security and traffic monitoring for a manufacturing plant with several field devices that communicate using the MQTT protocol. To achieve this, an edge device is used to connect the devices to the IoT Hub.
The first step in configuring the solution is to create an IoT Hub in the Azure portal. Once the IoT Hub is created, you need to add the edge device to the IoT Hub. This can be done by registering the edge device in the Azure portal and configuring the device connection string.
Next, you need to configure the leaf devices to connect to the edge device. To do this, you can create an IoT Hub identity for each leaf device. This will allow the edge device to authenticate each device and ensure that only authorized devices are allowed to connect to the IoT Hub.
There are two options for using the edge device as a gateway: transparent gateway and translation gateway.
A transparent gateway allows the devices to communicate with the IoT Hub directly, as if there was no edge device in between. The edge device simply passes the messages through to the IoT Hub without altering them in any way. In this scenario, you would create an IoT Hub identity for each leaf device and use the edge device as a transparent gateway.
A translation gateway, on the other hand, allows the edge device to modify the messages sent by the devices before they are sent to the IoT Hub. This can be useful for situations where the devices are not using the same protocols as the IoT Hub. In this scenario, you would also create an IoT Hub identity for each leaf device, but use the edge device as a translation gateway.
Therefore, the correct answer to this question is option B: Create IoT Hub identity for each leaf device; Use edge as a transparent gateway.