Azure IoT Device Configuration - Exam AZ-220: Microsoft Azure IoT Developer

Configuration for Updating IoT Devices

Question

You are operating a fleet of IoT devices consisting of several different types of environmental sensors.

Because of some changes in the standards, the maximum temperature limits for the sensors must be updated using the automatic device configuration feature of IoT hub.

You are now about creating a configuration for updating your devices.

Which of the below settings won't you set as parts of the configuration?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: B.

Option A is incorrect because the scope of the devices, i.e.

the devices that need to be targeted by the configurations is required.

It is called “target condition”

Option B is CORRECT because system metrics are included in all configurations by default.

You don't need to (and you can't) set them manually.

System metrics include the number of twins targeted and the number of twins successfully updated.

System metrics can be used to monitor the process and the success of the operation.

Option C is incorrect because the setting defining the values to be applied to the given set of devices (i.e.

the “target content”) is a required part of the configuration.

Option D is incorrect because, while it is not required, you can define your own custom metrics for automatic configurations, as part of the process.

Reference:

When creating a configuration for updating the maximum temperature limits for the sensors using the automatic device configuration feature of IoT hub, you would not include System metrics as part of the configuration.

The System metrics option is not relevant to updating the maximum temperature limits of the sensors. Instead, it provides information about the usage and performance of the IoT hub, such as the number of messages sent and received, the number of connections established, and the amount of data transferred.

The other options mentioned are relevant to creating a configuration for updating the maximum temperature limits of the sensors using the automatic device configuration feature of IoT hub:

  • Device scope: This option allows you to specify which devices the configuration applies to, based on device properties such as device ID or device twin tags. This is important if you have multiple types of sensors or devices that require different maximum temperature limits.
  • Target content: This option allows you to specify the configuration settings that you want to update, such as the maximum temperature limits for the sensors. You can also specify the format of the configuration content, such as JSON or XML.
  • Custom metrics: This option allows you to track additional metrics that are specific to your IoT solution, such as the number of times a sensor reaches its maximum temperature limit or the average temperature readings from the sensors over a certain period of time.

In summary, when creating a configuration for updating the maximum temperature limits for the sensors using the automatic device configuration feature of IoT hub, you would not include System metrics as part of the configuration, but would include Device scope, Target content, and Custom metrics.