nerdexam
Microsoft

AZ-220 · Question #29

You have an Azure IoT hub. You need to recommend a solution to scale the IoT hub automatically. What should you include in the recommendation?

The correct answer is B. Create an Azure function that retrieves the quota metrics of the IoT hub. Note: IoT Hub is scaled and priced based on an allowed number of messages per day across all devices connected to that IoT Hub. If you exceed the allowed message threshold for your chosen tier and number of units, IoT Hub will begin rejecting new messages. To date, there is no…

Set up the Azure IoT Hub solution infrastructure

Question

You have an Azure IoT hub. You need to recommend a solution to scale the IoT hub automatically. What should you include in the recommendation?

Options

  • ACreate an SMS alert in IoT Hub for the Total number of messages used metric.
  • BCreate an Azure function that retrieves the quota metrics of the IoT hub.
  • CConfigure autoscaling in Azure Monitor.
  • DEmit custom metrics from the IoT device code and create an Azure Automation runbook alert.

How the community answered

(40 responses)
  • A
    8% (3)
  • B
    73% (29)
  • C
    18% (7)
  • D
    3% (1)

Explanation

Note: IoT Hub is scaled and priced based on an allowed number of messages per day across all devices connected to that IoT Hub. If you exceed the allowed message threshold for your chosen tier and number of units, IoT Hub will begin rejecting new messages. To date, there is no built-in mechanism for automatically scaling an IoT Hub to the next level of capacity if you approach or exceed that threshold. https://docs.microsoft.com/en-us/samples/azure-samples/iot-hub-dotnet-autoscale/iot-hub-dotnet-

Topics

#IoT Hub scaling#quota metrics#Azure Functions#autoscaling

Community Discussion

No community discussion yet for this question.

Full AZ-220 Practice