AZ-220 · Question #35
You have 100 devices that connect to an Azure IoT hub. You plan to use Azure functions to process all the telemetry messages from the devices before storing the messages. You need to configure the…
The correct answer is C. the connection string of the Azure Event Hub-compatible endpoint from the IoT Hub built-in D. the Azure Event-Hub compatible name. EventHubName: Functions 2.x and higher. The name of the event hub. When the event hub name is also present in the connection string, that value overrides this property at runtime. Connection: The name of an app setting that contains the connection string to the event hub's Copy…
Question
Options
- Athe name of the resource group that contains the IoT hub
- Bthe IoT hub's connection string shared access key that has Service connect permissions
- Cthe connection string of the Azure Event Hub-compatible endpoint from the IoT Hub built-in
- Dthe Azure Event-Hub compatible name
How the community answered
(43 responses)- A5% (2)
- B12% (5)
- C84% (36)
Explanation
EventHubName: Functions 2.x and higher. The name of the event hub. When the event hub name is also present in the connection string, that value overrides this property at runtime. Connection: The name of an app setting that contains the connection string to the event hub's Copy this connection string by clicking the Connection Information button for the namespace, not the event hub itself. This connection string must have send permissions to send the message to the event stream. https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-event-iot-output
Topics
Community Discussion
No community discussion yet for this question.