AZ-220 practice questions
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure IoT solution that includes an Azure IoT hub and an Azure IoT Edge device. You plan to deploy 10 Bluetooth sensors. The sensors do not support MQTT, AMQP, or HTTPS. You need to ensure that all the sensors appear in the IoT hub as a single device. Solution: You configure the IoT Edge device as an IoT Edge transparent gateway. You configure the sensors to connect to the device. Does this meet the goal?
A. Yes
B. No
Discussion forum
Question
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You are developing a custom Azure IoT Edge module. The module needs to identify the device ID of the local device. Solution: You configure the module to read the device ID of the device twin. Does this meet the goal?
A. Yes
B. No
Discussion forum
Question
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You are developing a custom Azure IoT Edge module. The module needs to identify the device ID of the local device. Solution: You configure the module to read the ProductInfo property of ModuleClient. Does this meet the goal?
A. Yes
B. No
Discussion forum
Question
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You are developing a custom Azure IoT Edge module. The module needs to identify the device ID of the local device. Solution: You configure the module to read the IOTEDGE_DEVICEID environment variable. Does this meet the goal?
A. Yes
B. No
Discussion forum
Question
You have an Azure IoT Edge module named SampleModule that runs on a device named Device1. You make changes to the code of SampleModule by using Microsoft Visual Studio Code. You need to push the code to the container registry and then deploy the module to Device1. Which two actions should you perform from Visual Studio Code? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A. Build and push the SampleModule code to the registry.
B. Create a deployment for a single device.
C. Generate a deployment manifest.
D. Build an IoT Edge solution.
E. Generate a shared access signature (SAS) token for Device1.
Discussion forum
Question
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?
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.
Discussion forum
Question
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?
A. 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
B. 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
C. 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
D. 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
Discussion forum
Question
You develop a custom Azure IoT Edge module named temperature-module. You publish temperature-module to a private container registry named mycr.azurecr.io You need to build a deployment manifest for the IoT Edge device that will run temperature-module. Which three container images should you define in the manifest? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A. mcr.microsoft.com/azureiotedge-simulated-temperature-sensor:1.0
B. mcr.microsoft.com/azureiotedge-agent:1.0
C. mcr.microsoft.com/iotedgedev:2.0
D. mycr.azurecr.io/temperature-module:latest
E. mcr.microsoft.com/azureiotedge-hub:1.0
Discussion forum
Question
You have an IoT device that has the following configurations: ✑ Hardware: Raspberry Pi ✑ Operating system: Raspbian You need to deploy Azure IoT Edge to the device. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A. Update the IoT Edge runtime.
B. Install the IoT Edge security daemon.
C. Run the Deploy-IoTEdge PowerShell cmdlet on the IoT Edge device.
D. Install the container runtime.
Discussion forum
Question
You are deploying an Azure IoT Edge solution that includes multiple IoT Edge devices. You need to configure module-to-module routing. To which section of the deployment manifest should you add the routes?
A. storeAndForwardConfiguration
B. $edgeHub
C. modules
D. systemModules
Discussion forum
Question
You have an Azure IoT Central solution that includes multiple IoT devices. The devices report temperature, humidity, and pressure. You need to export the sensor data captured during a 48-hour period as a CSV file. What should you use in IoT Central?
A. Devices
B. Jobs
C. Device groups
D. Analytics
Discussion forum
Question
You have three Azure IoT hubs named Hub1, Hub2, and Hub3, a Device Provisioning Service instance, and an IoT device named Device1. Each IoT hub is deployed to a separate Azure region. Device enrollment uses the Lowest latency allocation policy. The Device Provisioning Service uses the Lowest latency allocation policy. Device1 is auto-provisioned to Hub1 by using the Device Provisioning Service. Device1 regularly moves between regions. You need to ensure that Device1 always connects to the IoT hub that has the lowest latency. What should you do?
A. Configure device attestation that uses X.509 certificates.
B. Implement device certificate rolling.
C. Disenroll and reenroll Device1.
D. Configure the re-provisioning policy.
Discussion forum
Question
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have devices that connect to an Azure IoT hub. Each device has a fixed GPS location that includes latitude and longitude. You discover that a device entry in the identity registry of the IoT hub is missing the GPS location. You need to configure the GPS location for the device entry. The solution must prevent the changes from being propagated to the physical device. Solution: You add the desired properties to the device twin. Does the solution meet the goal?
A. Yes
B. No
Discussion forum
Question
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure IoT solution that includes an Azure IoT hub, a Device Provisioning Service instance, and 1,000 connected IoT devices. All the IoT devices are provisioned automatically by using one enrollment group. You need to temporarily disable the IoT devices from connecting to the IoT hub. Solution: You disconnect the Device Provisioning Service from the IoT hub. Does this meet the goal?
A. Yes
B. No
Discussion forum
Question
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have a Standard tier Azure IoT hub and a fleet of IoT devices. The devices connect to the IoT hub by using either Message Queuing Telemetry Transport (MQTT) or Advanced Message Queuing Protocol (AMQP). You need to send data to the IoT devices and each device must respond. Each device will require three minutes to process the data and respond. Solution: You use cloud-to-device messages and watch the cloud-to-device feedback endpoint for successful acknowledgement. Does this meet the goal?
A. Yes
B. No
Discussion forum
Question