Microsoft Azure IoT Developer AZ-220 Exam Practice Test

Page: 1 / 14
Total 204 questions
Question 1

You have an Azure IoT solution that includes several Azure IoT hubs.

A new alerting feature was recently added to the IoT devices. The feature uses a new device twin reported property named alertCondition.

You need to send alerts to an Azure Service Bus queue named MessageAlerts. The alerts must include

alertCondition and the name of the IoT hub.

Which two actions should you perform? Each Answer presents part of the solution.

NOTE: Each correct selection is worth one point.



Answer : B, D

B: Message enrichments is the ability of the IoT Hub to stamp messages with additional information before the messages are sent to the designated endpoint. One reason to use message enrichments is to include data that can be used to simplify downstream processing. For example, enriching device telemetry messages with

a device twin tag can reduce load on customers to make device twin API calls for this information.

D: Applying enrichments

The messages can come from any data source supported by IoT Hub message routing, including the following examples:

-->device twin change notifications -- changes in the device twin device telemetry, such as temperature or pressure

device life-cycle events, such as when the device is created or deleted


https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-message-enrichments-overview

Question 2

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 question, 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 the connecting to the IoT hub. Solution: You delete the enrollment group from the Device Provisioning Service. Does the solution meet the goal?



Answer : B

Instead, from the Device Provisioning Service, you disable the enrollment group, and you disable device entries in the identity registry of the IoT hub to which the IoT devices are provisioned.


https://docs.microsoft.com/bs-latn-ba/azure/iot-dps/how-to-unprovision-devices

Question 3

You have an Azure IoT hub.

You need to check whether the IoT hub was affected by an outage.

What should you select in the Azure portal? To answer, select the appropriate option in the answer area.

NOTE: Each correct selection is worth one point.



Question 4

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?



Answer : B

Routes are declared in the $edgeHub desired properties.


https://docs.microsoft.com/en-us/azure/iot-edge/module-composition

Question 5

You have an IoT device that gathers data in a CSV file named Sensors.csv.

You deploy an Azure IoT hub that is accessible at ContosoHub.azure-devices.net. You need to ensure that Sensors.csv is uploaded to the IoT hub.

Which two actions should you perform? Each correct answer presents part of the solution.



Answer : A, C

C: To use the file upload functionality in IoT Hub, you must first associate an Azure Storage account with your hub. Select File upload to display a list of file upload properties for the IoT hub that is being modified.

For Storage container: Use the Azure portal to select a blob container in an Azure Storage account in your current Azure subscription to associate with your IoT Hub. If necessary, you can create an Azure Storage account on the Storage accounts blade and blob container on the Containers

A: IoT Hub has an endpoint specifically for devices to request a SAS URI for storage to upload a file. To start the file upload process, the device sends a POST request to {iot hub}.azure-devices.net/devices/{deviceId}/ files with the following JSON body:

{

'blobName': '{name of the file for which a SAS URI will be generated}'

}

Incorrect Answers:

D: Deprecated: initialize a file upload with a GET. Use the POST method instead.


https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/iot-hub/iot-hub-configure-file-upload.md

Question 6

You need to design a module deployment strategy that meets the device requirements. What should you create?



Answer : C


Question 7

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.



Answer : A, B

The Azure IoT Edge runtime is what turns a device into an IoT Edge device. The runtime can be deployed on devices as small as a Raspberry Pi or as large as an industrial server.

The IoT Edge security daemon provides and maintains security standards on the IoT Edge device. The daemon starts on every boot and bootstraps the device by starting the rest of the IoT Edge runtime.


https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge

Page:    1 / 14   
Total 204 questions