nerdexam
Microsoft

AZ-220 · Question #137

You have an Azure IoT Edge module named SampleModule that runs on a device named Device1. You make changes to the code of SampleModule by using Microsoft Visual Studio Code. You need to push the…

The correct answer is B. Create a deployment for a single device. D. Build an IoT Edge solution. D: Once you create IoT Edge modules with your business logic, you want to deploy them to your devices to operate at the edge. B: Configure a deployment manifest. A deployment manifest is a JSON document that describes which modules to deploy, how data flows between the modules…

Implement IoT Edge

Question

You have an Azure IoT Edge module named SampleModule that runs on a device named Device1. You make changes to the code of SampleModule by using Microsoft Visual Studio Code. You need to push the code to the container registry and then deploy the module to Device1. Which two actions should you perform from Visual Studio Code? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • ABuild and push the SampleModule code to the registry.
  • BCreate a deployment for a single device.
  • CUpload to Azure Storage.
  • DBuild an IoT Edge solution.
  • EGenerate a shared access signature (SAS) token for Device1.

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    74% (17)
  • C
    13% (3)
  • E
    9% (2)

Explanation

D: Once you create IoT Edge modules with your business logic, you want to deploy them to your devices to operate at the edge. B: Configure a deployment manifest. A deployment manifest is a JSON document that describes which modules to deploy, how data flows between the modules, and desired properties of the You deploy modules to your device by applying the deployment manifest that you configured with the module information. 1. In the Visual Studio Code explorer view, expand the Azure IoT Hub section, and then expand the Devices node. 2. To confirm that the device you've chosen is an IoT Edge device, select it to expand the list of modules and verify the presence of $edgeHub and $edgeAgent. Every IoT Edge device includes these two modules. 3. Select Create Deployment for Single Device. 4. Navigate to the deployment manifest JSON file that you want to use, and click Select Edge Deployment Manifest. https://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-modules-vscode

Topics

#IoT Edge module deployment#container registry#Visual Studio Code#single device deployment

Community Discussion

No community discussion yet for this question.

Full AZ-220 Practice