You are building an IIoT solution of a chemical plant.
As part of this, you need to connect with many pressure monitoring devices to an IoT Hub and configure the device twins for them appropriately.
Here is the list of the attributes to be added to the twin: Deployment location -> [?] Maximum acceptable pressure -> [?] Battery charge level -> [?] Firmware version -> [?] Telemetry send frequency -> [?] Which device twin sections should you select for the data above?
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answer: B.
Option A is incorrect because maximum acceptable pressure is a prescribed value which has to go into the “desired” properties.
Option B is CORRECT because deployment location and firmware version are meta-data of the device and should go to the “tags” section; acceptable pressure and telemetry send frequency are prescribed values and should go to the “desired” properties; battery charge level is a value updated by the device among the “reported” properties.
Option C is incorrect because deployment location is a meta-data of the device which should be added to the “tags” section.
The device identity section (i.e.
the root of the device twin document) is reserved for device-level identification and status data.
Telemetry send frequency is the desired property.
Option D is incorrect because the correct name of the section for the prescribed values is “desired” (not “required”).
Reference:
The device twin is a digital representation of a physical device in the Azure IoT Hub. It consists of two parts - the "desired" properties and the "reported" properties. Desired properties are set by the cloud application to control the device's behavior, while reported properties are updated by the device to inform the cloud application about its state.
To configure the device twin for the pressure monitoring devices in the chemical plant, the following attributes need to be added:
Based on this, the correct device twin sections to select are:
B. tags; properties.desired; properties.reported; tags; properties.desired
Explanation:
Therefore, option B is the correct answer for this question.