Azure IoT Developer Exam: Actions for Detaching NO2 Sensors | XYZ Company

Actions for Detaching NO2 Sensors

Question

You are working for a company that is operating a country-wide environmental monitoring system for real-time air pollution monitoring.

The 10000 sensors of the system were provisioned 2 years ago by using a separate enrollment group in Azure DPS and they use X.509 certificates.

The maintenance cycle of the NO2 sensors is 24 months, so some of them need to be detached from the IoT hubs temporarily.

Which two actions should you complete as part of your task?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answers: A and C.

Option A is CORRECT because in the case of temporary deprovisioning you can simply disable the enrollment group.

Option B is incorrect because it is unnecessary to delete the enrollment group since you're going to need it when the devices must reconnect.

Option C is CORRECT because in this case, the device on the IoT Hub should also be temporarily disabled.

Option D is incorrect because while you can remove the registration records (not the devices) of previously provisioned devices from the enrollment group, it is not needed in this scenario.Disable the enrollment group, instead.

Option E is incorrect because you cannot disable the X.509 certificate in DPS.

What you can do is disabling the enrollment group (which disables the certificate, implicitly).

Reference:

As part of your task, you need to temporarily detach some of the NO2 sensors from the IoT hubs. To do this, you need to take the following actions:

  1. Disable the devices on the IoT Hub: You can disable the devices on the IoT Hub by using the Azure portal or the Azure CLI. Disabling the devices will stop them from sending data to the IoT Hub, which means that you can temporarily detach them from the network without losing any data. Once the maintenance cycle is complete, you can re-enable the devices and they will start sending data to the IoT Hub again.

  2. Remove the devices from the enrollment group: You can remove the devices from the enrollment group in Azure DPS by using the Azure portal or the Azure CLI. This will remove the devices from the group and stop them from receiving any updates or changes to their configuration. This is a good practice to ensure that the devices are not inadvertently modified or updated while they are detached from the IoT hubs.

Therefore, the correct actions to complete as part of your task are C and D:

C. Disable the devices on the IoT Hub D. Remove the devices from the enrollment group in DPS

Answers A, B, and E are incorrect:

A. Disabling the enrollment group in DPS will stop all the devices in the group from sending data to the IoT Hub. This is not necessary, as you only need to temporarily detach some of the devices.

B. Deleting the enrollment group in DPS will permanently remove all the devices in the group from the system. This is not desirable, as you only need to temporarily detach some of the devices.

E. Disabling the X.509 certificate in DPS will prevent all the devices in the group from being able to connect to the IoT Hub. This is not necessary, as you only need to temporarily detach some of the devices.