Microsoft Azure IoT Developer — Question 25
You have a remote network that contains an IoT device named Device1 and a firewall named Firewall1.
You have an Azure subscription that contains an Azure IoT hub named Hub1. Device1 is registered to Hub1. Firewall1 only allows outbound traffic from Hub1 via TCP port 443.
You need to build an app that will connect to Device1 by using SSH on port 22. The solution must minimize costs.
What should you configure to connect to Device1?
Answer options
- A. IoT Hub message routing
- B. shared access policies
- C. Azure Private Link
- D. IoT Hub device streams
Correct answer: D
Explanation
The correct answer is D, IoT Hub device streams, as it enables direct communication with devices over a secure channel, allowing SSH connections. Options A, B, and C do not facilitate direct device connections via SSH; instead, they serve different purposes such as message routing, access control, or private network access.