exam questions

Exam AZ-220 All Questions

View all questions & answers for the AZ-220 exam

Exam AZ-220 topic 5 question 7 discussion

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

You have an Azure IoT solution that includes several Azure IoT hubs.
A new alerting feature was recently added to the IoT devices. The feature uses a new device twin reported property named alertCondition.
You need to send alerts to an Azure Service Bus queue named MessageAlerts. The alerts must include alertCondition and the name of the IoT hub.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Configure File upload for each IoT hub. Configure the device to send a file to an Azure Storage container that contains the device name and status message.
  • B. Add the following message enrichments: Name = iotHubName Value = $twin.tag.location Endpoint = MessageAlerts
  • C. Create an IoT Hub routing rule that has a data source of Device Twin Change Events and select the endpoint for MessageAlerts.
  • D. Add the following message enrichments: Name = iotHubName Value = $iothubname Endpoint = MessageAlerts
  • E. Create an IoT Hub routing rule that has a data source of Device Telemetry Messages and select the endpoint for MessageAlerts.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

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
Yanzhi
Highly Voted 4 years, 11 months ago
The correct answer are: C & D
upvoted 22 times
...
blackdog
Highly Voted 4 years, 10 months ago
agree with C & D
upvoted 11 times
...
S0vere1gn
Most Recent 2 years, 6 months ago
Selected Answer: CD
agree with CD
upvoted 1 times
...
liberty123
3 years, 1 month ago
Selected Answer: CD
Agree with CD
upvoted 2 times
...
ripin_aggarwal
4 years, 8 months ago
B & D is surely not the correct option. As Message Enrichment require unique property name . In B & D options, the property name is provided same as 'iotHubName'.
upvoted 1 times
...
ripin_aggarwal
4 years, 8 months ago
The correct options should be C & D
upvoted 3 times
...
EyeeyeeyeeyeeyeeyeeyeeyeSPIDER
4 years, 9 months ago
C&D are right
upvoted 8 times
valkyrieShadow
4 years, 6 months ago
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-d2c#:~:text=For%20example%2C%20if%20a%20route%20is%20created%20with,indicating%20whether%20the%20device%20was%20deleted%20or%20created. message routing also enables sending device twin change events, device lifecycle events, and digital twin change events. For example, if a route is created with data source set to device twin change events, IoT Hub sends messages to the endpoint that contain the change in the device twin
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago