You have an Azure IoT hub that has 1,000 registered devices. You create an Azure logic app. You need to send Device Connected and Device Disconnected events in real time to the logic app. What should you do?
A.
From the Message routing blade of the IoT hub, add a route, Route DeviceLifecycleEvents to an Azure Service Bus queue.
B.
From the Diagnostic settings blade of the IoT hub, add a diagnostic setting. Route the connection logs to a Log Analytics workspace.
C.
From the Events blade of the IoT hub, add an event subscription. Configure the Filter to Event Types setting and route the events to a webhook.
Suggested Answer:C🗳️
Adding an Event subscription. Example: To proceed with Event Grid events, go back to the Event tab in your IoT Hub. Add an Event subscription and name it 'DeviceRelated'. The default selected event types to send are device creation, device deletion, device connected, device disconnected. And we see the event schemas: Just keep it to the Event Grid Schema. You can experiment with other schemas on your own. Because we added the subscription from within our IoT Hub, this IoT Hub is selected as Topic resource. For the endpoint, select 'Webhook' as the type and fill in your assembled endpoint URL. Reference: https://sandervandevelde.wordpress.com/2019/12/20/subscribe-your-iothub-to-eventgrid-as-event-source/
There definitely is an Events blade on IoT Hub. As of Feb 2023, it's five spaces under "Overview" in the menu.
upvoted 2 times
...
...
This section is not available anymore. Please use the main Exam Page.AZ-220 Exam Questions
Log in to ExamTopics
Sign in:
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.
jackleron
2 years, 5 months agoinsanewriters
2 years, 4 months ago