Exam4Training

Which two actions should you perform from Visual Studio Code?

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.
A . Build and push the SampleModule code to the registry.
B. Create a deployment for a single device.
C. Upload to Azure Storage.
D. Build an loT Edge solution.
E. Generate a shared access signature (SAS) token for Device 1.

Answer: B,D

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 module twins.

You deploy modules to your device by applying the deployment manifest that you configured with the module information.

✑ In the Visual Studio Code explorer view, expand the Azure IoT Hub section, and then expand the Devices node.

✑ 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.

✑ Select Create Deployment for Single Device.

✑ Navigate to the deployment manifest JSON file that you want to use, and click Select Edge Deployment Manifest.

Reference: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-modules-vscode

Latest AZ-220 Dumps Valid Version with 88 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version