AZ-220 Exam QuestionsBrowse all questions from this exam

AZ-220 Exam - Question 102


You have an Azure IoT hub.

You plan to implement IoT Hub events by using Azure Event Grid.

You need to send an email when the following events occur:

✑ Device Created

✑ Device Deleted

✑ Device Connected

✑ Device Disconnected

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Show Answer
Correct Answer: BC

To implement IoT Hub events by using Azure Event Grid and send an email when Device Created, Device Deleted, Device Connected, and Device Disconnected events occur, you need to configure an event subscription in the IoT hub and create an Azure logic app to handle these events and send the email. Configure an event subscription that has Web Hook as the Endpoint Type from the IoT hub to receive event notifications. Additionally, create an Azure logic app with a Request trigger to react to these events and define the necessary actions such as sending an email.

Discussion

1 comment
Sign in to comment
d0bermannnOptions: BC
Jan 4, 2022

LInk and explanation looks ok