nerdexam
Microsoft

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…

Process and manage data

Question

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 functions binding for the IoT hub. Which two configuration details should you use to configure the binding? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

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)
  • A
    5% (2)
  • B
    12% (5)
  • C
    84% (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

#Azure Functions#IoT Hub binding#Event Hub-compatible endpoint#connection string

Community Discussion

No community discussion yet for this question.

Full AZ-220 Practice