AZ-220 Microsoft Azure IoT Developer

Loading demo links...

Showing 13–15 of 15 questions

Question 13 (Mixed Questions)

You have an Azure IoT solution that includes an Azure IoT Hub named Hub1 and an Azure IoT Edge device named Edge1. Edge1 connects to Hub1.

You need to deploy a temperature module to Edge1.

What should you do?

Select an option, then click Submit answer.

  • From the Azure portal, navigate to Hub1 and select IoT Edge. Select Edge1, and then select Manage Child Devices. From a Bash prompt, run the following command: az iot edge set-modules --device-id Edge1 --hub-name Hub1 --content deploymentMan1.json

  • Create an IoT Edge deployment manifest that specifies the temperature module and the route to $upstream. From a Bash prompt, run the following command: az iot hub monitor-events --device-id Edge1 --hub-name Hub1

  • From the Azure portal, navigate to Hub1 and select IoT Edge. Select Edge1, select Device Twin, and then set the deployment manifest as a desired property. From a Bash prompt, run the following command: az iot hub monitor-events --device-id Edge1 --hub-name Hub1

  • Create an IoT Edge deployment manifest that specifies the temperature module and the route to $upstream. From a Bash prompt, run the following command: az iot edge set-modules --device-id Edge1 --hub-name Hub1 --content deploymentMan1.json

Question 14 (New Update)

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?

Select an option, then click Submit answer.

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

  • Configure the upstream protocol of the devices to use AMQP over WebSocket.

  • Connect the external networks to the loT solution by using ExpressRoute.

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

Question 15 (Mixed Questions)

You have an Azure IoT hub.

You need to recommend a solution to scale the IoT hub automatically.

What should you include in the recommendation?

Select an option, then click Submit answer.

  • Create an SMS alert in IoT Hub for the Total number of messages used metric.

  • Create an Azure function that retrieves the quota metrics of the IoT hub.

  • Configure autoscaling in Azure Monitor.

  • Emit custom metrics from the IoT device code and create an Azure Automation runbook alert.