What tasks should you perform to configure the devices?

HOTSPOT

You have an Azure subscription that contains an Azure IoT hub and two IoT devices named Device1 and Device2.

You plan to deploy an Azure IoT Edge gateway device named Gateway1.

You need to ensure that all device-to-cloud messages and twin change notifications from Device1 and Device2 to the IoT hub are routed by using Gateway1.

What tasks should you perform to configure the devices? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Graphical user interface, text, application, email

Description automatically generated

Box 1: Device1 and Device2

Connection strings for downstream devices need the following components:

✑ The gateway device that the device connects through. Provide the hostname value from the IoT Edge gateway device’s config file: GatewayHostName={gateway hostname}

Box 2: Gateway1

To deploy the IoT Edge hub module and configure it with routes to handle incoming messages from downstream devices, follow these steps:

✑ In the Azure portal, navigate to your IoT hub.

✑ Go to IoT Edge and select your IoT Edge device that you want to use as a gateway.

✑ Select Set Modules.

✑ On the Modules page, you can add any modules you want to deploy to the gateway device.

✑ Select Next: Routes.

✑ On the Routes page, make sure that there is a route to handle messages coming from downstream devices. For example: A route that sends all messages, whether from a module or from a downstream device, to IoT Hub:

Name: allMessagesToHub Value: FROM /messages/* INTO $upstream

Box 3: FROM /messages/* INTO $upstream

Latest AZ-220 Dumps Valid Version with 88 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments