Connect 100 Distributed Sensors to Azure IoT Infrastructure - Exam AZ-220 Microsoft Azure IoT Developer

Connect 100 Distributed Sensors to Azure IoT Infrastructure

Question

You need to connect 100 distributed sensors to your Azure IoT infrastructure, authenticated with SAS tokens.

The devices are Azure certified sensors developed by a major sensor manufacturer.

To speed up the provisioning process, you decide to use IoT Central, by executing the following steps: Add device ID, SAS, ID scope, and Model ID to device code Import list of devices from CSV Export device data to CSV Connect devices What is the correct order of the steps above?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: A.

Option A is CORRECT because, during bulk provisioning of devices, the list of 100 device ID-s and names can be imported from CSV.

IoT Central automatically creates the devices with the necessary SAS keys.

The device list, together with the credentials can be exported to CSV, which then can be used to update the code on the devices.

ID Scope and Model ID also need to be added before actually connecting the device.

Option B is incorrect because importing the list of devices must precede the further steps.

This is the first step which is the basis of mass-creation of devices in the IoT Central.

Option C is incorrect because immediately after creating the devices in the IoT Central (from the list exported earlier), the same list of devices, complemented with authentication data (SAS keys) must be exported and then used for updating the device codes.

Option D is incorrect because all the other steps must be executed before the devices can connect.

References:

The correct order of the steps to connect 100 distributed sensors to Azure IoT infrastructure using IoT Central, authenticated with SAS tokens is:

C. 2, 1, 3, 4

Here is a detailed explanation of each step:

  1. Import list of devices from CSV Before devices can be connected to Azure IoT infrastructure, their device IDs, SAS tokens, ID scopes, and Model IDs need to be defined. To speed up the provisioning process, a list of devices can be imported from a CSV file that contains this information. This step should be done before any of the other steps.

  2. Add device ID, SAS, ID scope, and Model ID to device code Once the list of devices is imported, the next step is to add the device ID, SAS, ID scope, and Model ID to the device code. This step ensures that the devices can be authenticated with SAS tokens when connecting to Azure IoT infrastructure. This step should be done after importing the list of devices.

  3. Export device data to CSV After the devices are added to the IoT Central application, their data can be exported to a CSV file. This step is useful for keeping track of device information and for performing analytics on the data collected by the devices. This step should be done after adding the device information to the device code.

  4. Connect devices Once the devices are set up and their data is exported, the final step is to connect the devices to Azure IoT infrastructure. This step involves establishing a connection between the devices and IoT Hub using SAS tokens. This step should be done after exporting device data to CSV.

Therefore, the correct order of the steps is 2, 1, 3, 4, which is option C.