exam questions

Exam AZ-220 All Questions

View all questions & answers for the AZ-220 exam

Exam AZ-220 topic 2 question 10 discussion

Actual exam question from Microsoft's AZ-220
Question #: 10
Topic #: 2
[All AZ-220 Questions]

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 use an Azure policy to apply tags to a resource group.
Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Instead tags should be added to the Device twin.
Tags: A section of the JSON document that the solution back end can read from and write to. Tags are not visible to device apps.
Reference:
https://docs.microsoft.com/de-de/azure/iot-hub/iot-hub-devguide-device-twins https://azure.microsoft.com/sv-se/blog/deep-dive-into-azure-iot-hub-notifications-and-device-twin/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
thestillheron
Highly Voted 4 years, 10 months ago
The explanation of the answer is slightly inaccurate. The question specifies that this information should not be propagated to the device. For that reason, you should not put the information in the desired properties. Information in the "desired properties" will propagate to the devices. You should instead put that information in the device tags. Information in the devices tags do not propagate to the physical device.
upvoted 16 times
AnonymousJhb
4 years, 1 month ago
WRONG! A desired property: is WRITTEN by a back-end application and READ ONLY by a device. A reported property is WRITTEN by a device and READ ONLY by a back-end application. A tag is set by a back-end application and is NEVER sent to a device. https://docs.microsoft.com/en-us/azure/iot-hub/tutorial-device-twins (some clown has copied the same answers from 1 question to all the questions of this sim) Read the question: You need to configure the GPS location for the device entry. The solution must prevent the changes from being propagated (=NEVER) to the physical device. =TAGS!
upvoted 3 times
...
...
exam67
Highly Voted 4 years ago
The answer given is "no" and it is correct. The reason is that "resource tags" are not appropriate in this case. "Twin tags" are instead appropriate. In Azure every resource may have tags, those are called "resource tags", but are used for organizing resources. In this case "twin tags" are needed, which are a completely different concept
upvoted 6 times
d0bermannn
3 years, 5 months ago
best explanation here
upvoted 1 times
...
...
liberty123
Most Recent 3 years, 3 months ago
Selected Answer: B
Given answer is correct, Instead tags should be added to the Device twin.
upvoted 2 times
...
srama79
4 years, 6 months ago
I think the answer should be Yes ... it has to be tags ... i think the answer give is inaccurate.
upvoted 2 times
srama79
4 years, 6 months ago
Might be the Answer is right as a NO ... since we dont apply tags to the resource group, but to the device twin. I think the answer is right, but the explanation is misleading
upvoted 4 times
...
...
joy5
4 years, 8 months ago
A tag is set by a back-end application and is never sent to a device
upvoted 2 times
...
tommy1244
4 years, 8 months ago
Should the answer be yes?
upvoted 2 times
certstowinirl
4 years, 8 months ago
The answer is no. It should say "Device Tags" not resource tags.
upvoted 11 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...