Microsoft Azure IoT Developer: Determining IoT Hub Requirements

Determining IoT Hub Requirements

Question

You need to set up an IoT infrastructure and you need to determine what type and number of IoT hubs to provision.

You need to connect 1000 devices, each sending 6 telemetry messages per minute, and the devices expected to receive 10 messages per each from the IoT hub daily.

How many units of IoT hubs do you need to provision and of what type?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: C.

Option A is incorrect because you need to send cloud-to-device messages, and this feature is only available in the S (Standard) tier hubs.

Option B is incorrect becauseyou need to send cloud-to-device messages, and this feature is only available in the S (Standard) tier hubs.

Option C is CORRECT because you need to send C2D messages, which is only available in S (Standard) tier.

The expected send rate of your devices is 1000*6=6000 messages/min.

One unit of size 2 hub is able to handle 4167 messages/minute, therefore you'll need 2 of them.

Option D is incorrect because one unit of a size 1 hub can only handle an average of 278 messages/min, therefore it cannot cope with the expected send rate.

References:

To determine the type and number of IoT hubs needed, we need to calculate the expected throughput of the system.

First, let's calculate the total number of messages per day from all devices:

1000 devices * 6 messages per minute * 60 minutes per hour * 24 hours per day = 8,640,000 messages per day

Next, let's calculate the total number of messages that the devices are expected to receive from the IoT hub daily:

1000 devices * 10 messages per device per day = 10,000 messages per day

So, the total daily throughput of the system is:

8,640,000 messages per day + 10,000 messages per day = 8,650,000 messages per day

Now, let's look at the different types of IoT hubs and their throughput limits:

  • B1: 400,000 messages per day
  • B2: 6,000,000 messages per day
  • B3: 300,000,000 messages per day
  • S1: 1,000,000 messages per day
  • S2: 6,000,000 messages per day
  • S3: 300,000,000 messages per day

Based on the total daily throughput of 8,650,000 messages per day, we can eliminate B1 and S1 as options.

To handle the expected throughput, we can provision either 2 units of B2 or 2 units of S2.

Therefore, the answer is C. 2 units of S2.