AZ-220 · Question #16
You have an IoT device that gathers data in a CSV file named Sensors.csv. You deploy an Azure IoT hub that is accessible at ContosoHub.azure-devices.net. You need to ensure that Sensors.csv is…
The correct answer is A. Upload Sensors.csv by using the IoT Hub REST API. C. From the Azure subscription, select the IoT hub, select File upload, and then configure a storage. C: To use the file upload functionality in IoT Hub, you must first associate an Azure Storage account with your hub. Select File upload to display a list of file upload properties for the IoT hub that is being modified. For Storage container: Use the Azure portal to select a…
Question
Options
- AUpload Sensors.csv by using the IoT Hub REST API.
- BFrom the Azure subscription, select the IoT hub, select Message routing, and then configure a
- CFrom the Azure subscription, select the IoT hub, select File upload, and then configure a storage
- DConfigure the device to use a GET request to ContosoHub.azure-
How the community answered
(25 responses)- A72% (18)
- B20% (5)
- D8% (2)
Explanation
C: To use the file upload functionality in IoT Hub, you must first associate an Azure Storage account with your hub. Select File upload to display a list of file upload properties for the IoT hub that is being modified. For Storage container: Use the Azure portal to select a blob container in an Azure Storage account in your current Azure subscription to associate with your IoT Hub. If necessary, you can create an Azure Storage account on the Storage accounts blade and blob container on the A: IoT Hub has an endpoint specifically for devices to request a SAS URI for storage to upload a file. To start the file upload process, the device sends a POST request to {iot hub}.azure- devices.net/devices/ {deviceId}/files with the following JSON body: "blobName": "{name of the file for which a SAS URI will be generated}" } Incorrect Answers: D: Deprecated: initialize a file upload with a GET. Use the POST method instead. https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/iot-hub/iot-hub-configure-file-
Topics
Community Discussion
No community discussion yet for this question.