Microsoft Azure IoT Developer — Question 10
You are developing an Azure IoT solution for a shipping company. The company's ships will have sensors used for predictive maintenance. Some sensor devices will be MQTT-capable, and others will use Modbus.
Each ship has an internet connection that is available only when the ship is docked.
You create an Azure IoT hub.
You need to implement an IoT solution that uses Azure IoT Edge.
What should you do?
Answer options
- A. Configure an IoT Edge gateway. Deploy an IoT Edge Modbus module. From the Azure portal, create IoT devices and add connection strings to the devices.
- B. Add the MQTT devices to the IoT hub and configure an IoT Edge gateway. From the IoT Edge gateway device, assign the MQTT devices as child devices of the gateway. Use the File upload feature of IoT Hub when internet connectivity is available.
- C. Add the MQTT devices to the IoT hub, configure an IoT Edge gateway, and set Enable connection to IoT Hub to Disable. From the IoT Edge gateway device, assign the MQTT devices as child devices of the gateway. Deploy the IoT Edge Modbus module.
- D. Add the MQTT devices to the IoT hub and configure an IoT Edge gateway. From the IoT Edge gateway device, assign the MQTT devices as child devices of the gateway. Deploy an IoT Edge Modbus module.
Correct answer: D
Explanation
The correct answer is D because it involves adding the MQTT devices to the IoT hub and configuring an IoT Edge gateway, which is necessary for managing the devices effectively. It also ensures that the Modbus module is deployed, which is essential for the devices using Modbus. Options A, B, and C are incorrect as they either miss the deployment of the Modbus module or configure the hub incorrectly.