AZ-220 Exam QuestionsBrowse all questions from this exam

AZ-220 Exam - Question 47


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?

Show Answer
Correct Answer: B

To configure the GPS location for the device entry without propagating changes to the physical device, you should use tags instead of desired properties. Desired properties in a device twin are intended to be synchronized between the cloud service and the device. Adding desired properties would result in the device receiving the updated values, which does not meet the requirement of preventing changes from being propagated to the device. Tags, on the other hand, are not visible to the device and will not be synchronized, thus satisfying the goal. Therefore, the proper solution is to use tags, making 'No' the correct answer.

Discussion

10 comments
Sign in to comment
mk07
Jun 10, 2020

shouldn't this be device tag? it says changes should not propagate to device.

getazusername
Nov 4, 2020

yes, https://docs.microsoft.com/de-de/azure/iot-hub/iot-hub-devguide-device-twins

EyeeyeeyeeyeeyeeyeeyeeyeSPIDER
Jul 20, 2020

Correct, the answer should be YES here

Ashwinee
Mar 28, 2021

i think ans is No. tags should be used

JeeBi
May 5, 2021

https://docs.microsoft.com/en-us/learn/modules/remotely-monitor-devices-with-azure-iot-hub/7-write-code-device-twins => Tags: information on the device that isn't visible to the device. Changes should not be sent to the device, so I would go with tags and answer B 'No'

coramellaOption: B
Jan 18, 2022

Desired props are propagated to device. No is the answer

spartons12345
Oct 24, 2020

I think the answer should be Yes

srama79
Nov 20, 2020

Answer should be YES ..

sballmer
Jan 8, 2021

I think No is the right answer, in my opinion "adding a tag to the device twin" means adding a data to the desired property, which will be transmited to the device and we must prevent changes being propagated to the device. The solution is to add a tag to the device, not to the device twin.

pbleep
Jan 23, 2021

Tags are not desired properties and are not seen by the device and therefore would not trigger a response. Desired properties themselves are seen by devices and would trigger a response

ipindado2020
Nov 21, 2020

A is the way

Lihz
Nov 22, 2020

I think should be A.