Microsoft Azure IoT Developer — Question 4

You plan to deploy a standard tier Azure IoT hub.
You need to perform an over-the-air (OTA) update on devices that will connect to the IoT hub by using scheduled jobs.
What should you use?

Answer options

Correct answer: C

Explanation

The correct answer is C, as a cloud-to-device message allows you to send commands or updates from the cloud to a specific device, which is necessary for OTA updates. Option A is incorrect because a device-to-cloud message is used for sending data from devices to the cloud rather than the other way around. Option B is not suitable since the device twin reported properties are used for device state management, not for sending updates. Option D, a direct method, is typically used for real-time communication rather than scheduled jobs for updates.