You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: In this unit, we create interactive questions that validate if the learner has understood the learning objectives
7
-
ms.date: 11/27/2023
8
-
author: PatAltimore
9
-
ms.author: leestott
10
-
ms.topic: unit
11
-
ms.custom: team=nextgen
12
-
durationInMinutes: 5# dummy number at present
13
-
content: |
14
-
quiz:
15
-
questions:
16
-
- content: "Your company has recently decided to explore industrial IoT solutions. You want to simulate the working of various machines in a production environment. Which alternative would you recommend in this situation?"
17
-
choices:
18
-
- content: "Buy data from external sources."
19
-
isCorrect: false
20
-
explanation: "Buying external data can be expensive and may not simulate exact conditions."
21
-
- content: "Simulate the working of an edge device through a module deployed to the edge."
22
-
isCorrect: true
23
-
explanation: "Simulating the data through an edge module provides a flexible and a relatively inexpensive way to mimic the working of sensors in the field."
24
-
- content: "Use historical data."
25
-
isCorrect: false
26
-
explanation: "While historical data may provide some insights, it may not simulate conditions accurately."
27
-
- content: "You deployed a module to the edge and expect it to simulate data. How do you ensure the module is running?"
28
-
choices:
29
-
- content: "View the generated data."
30
-
isCorrect: true
31
-
explanation: "If the module is running, it should simulate data like any other sensor in the field."
32
-
- content: "Check the status of the module."
33
-
isCorrect: false
34
-
explanation: "Any status doesn't indicate if the module is running unless you see the simulated data."
35
-
- content: "Run a test for the module status."
36
-
isCorrect: false
37
-
explanation: "Any test does not indicate if the module is running unless you see the simulated data."
38
-
- content: "You're able to view generated temperature data from a simulated device. What else could you look for apart from the temperature data?"
39
-
choices:
40
-
- content: "Data about the pressure."
41
-
isCorrect: false
42
-
explanation: "It isn't known if pressure is relevant to the observations or not."
43
-
- content: "Anomalies in temperature data."
44
-
isCorrect: false
45
-
explanation: "While anomalies could be useful, we do not know enough information about detecting anomalies from simulated data."
46
-
- content: "Ensure that data about the ambient conditions is simulated."
47
-
isCorrect: true
48
-
explanation: "This sensor might be in a server room, on a factory floor, or on a wind turbine. Hence, the ambient data is relevant for analysis."
description: In this unit, we create interactive questions that validate if the learner has understood the learning objectives
7
+
ms.date: 05/09/2025
8
+
author: PatAltimore
9
+
ms.author: leestott
10
+
ms.topic: unit
11
+
ms.custom: team=nextgen
12
+
durationInMinutes: 5
13
+
content: |
14
+
quiz:
15
+
questions:
16
+
- content: "Your company has recently decided to explore industrial IoT solutions. You want to simulate the working of various machines in a production environment. Which alternative would you recommend in this situation?"
17
+
choices:
18
+
- content: "Buy data from external sources."
19
+
isCorrect: false
20
+
explanation: "Buying external data can be expensive and may not simulate exact conditions."
21
+
- content: "Simulate the working of an edge device through a module deployed to the edge."
22
+
isCorrect: true
23
+
explanation: "Simulating the data through an edge module provides a flexible and a relatively inexpensive way to mimic the working of sensors in the field."
24
+
- content: "Use historical data."
25
+
isCorrect: false
26
+
explanation: "While historical data may provide some insights, it may not simulate conditions accurately."
27
+
- content: "You deployed a module to the edge and expect it to simulate data. How do you ensure the module is running?"
28
+
choices:
29
+
- content: "View the generated data."
30
+
isCorrect: true
31
+
explanation: "If the module is running, it should simulate data like any other sensor in the field."
32
+
- content: "Check the status of the module."
33
+
isCorrect: false
34
+
explanation: "Any status doesn't indicate if the module is running unless you see the simulated data."
35
+
- content: "Run a test for the module status."
36
+
isCorrect: false
37
+
explanation: "Any test does not indicate if the module is running unless you see the simulated data."
38
+
- content: "You're able to view generated temperature data from a simulated device. What else could you look for apart from the temperature data?"
39
+
choices:
40
+
- content: "Data about the pressure."
41
+
isCorrect: false
42
+
explanation: "It isn't known if pressure is relevant to the observations or not."
43
+
- content: "Anomalies in temperature data."
44
+
isCorrect: false
45
+
explanation: "While anomalies could be useful, we do not know enough information about detecting anomalies from simulated data."
46
+
- content: "Ensure that data about the ambient conditions is simulated."
47
+
isCorrect: true
48
+
explanation: "This sensor might be in a server room, on a factory floor, or on a wind turbine. Hence, the ambient data is relevant for analysis."
To deploy the "Simulated Temperature Sensor" module from the Microsoft Artifact Registry, use the following steps:
1
+
Deploy the "Simulated Temperature Sensor" module from the Microsoft Artifact Registry using these steps:
2
2
3
3
1. Find the **Simulated Temperature Sensor** module in the [Microsoft Artifact Registry](https://mcr.microsoft.com/catalog?cat=IoT%20Edge%20Modules&alphaSort=asc&alphaSortKey=Name) filtered by *IoT Edge Modules*.
4
4
5
5
1. Select the latest image version of the **Simulated Temperature Sensor** module.
6
6
7
-
1. Copy the URI for the **Simulated Temperature Sensor** module. You only need the URI for the module. Don't include the *docker pull* command. For example, `mcr.microsoft.com/azureiotedge-simulated-temperature-sensor:latest`.
7
+
1. Copy the URI for the **Simulated Temperature Sensor** module. Only copy the URI, not the *docker pull* command. For example, `mcr.microsoft.com/azureiotedge-simulated-temperature-sensor:latest`.
8
8
9
9
1. In the Azure portal, go to your IoT Hub and select the device to add the **Simulated Temperature Sensor** module.
10
10
11
-
1.Select **Set modules** from the IoT Edge device details page.
11
+
1.On the IoT Edge device details page, select **Set modules**.
12
12
13
13
1. In the **IoT Edge modules** section, select **Add** then choose **IoT Edge Module**.
14
14
@@ -23,7 +23,7 @@ To deploy the "Simulated Temperature Sensor" module from the Microsoft Artifact
23
23
24
24
1. Select **Routes** to define how messages are passed between modules and to IoT Hub.
25
25
26
-
1. Add a route that sends all messages from the simulated temperature module to IoT Hub.
26
+
1. Add a route to send all messages from the simulated temperature module to IoT Hub.
@@ -32,18 +32,18 @@ To deploy the "Simulated Temperature Sensor" module from the Microsoft Artifact
32
32
33
33
1. Select **Review + create** to preview the deployment manifest JSON file that defines all the modules deployed to your IoT Edge device. Ensure it includes the *Simulated Temperature Sensor* module.
34
34
35
-
1. On the device details page, find the *Modules* section. Three modules should be listed: `$edgeAgent`, `$edgeHub`, and `SimulatedTemperatureSensor`. The list should look similar to the screenshot below.
35
+
1. On the device details page, find the *Modules* section. Three modules should be listed: `$edgeAgent`, `$edgeHub`, and `SimulatedTemperatureSensor`. The list should look similar to the following screenshot.
36
36
37
37
> [!IMPORTANT]
38
38
> If a **module is listed as "in deployment"** but not reported by the device, your IoT Edge device is still starting it. **Wait a few moments and click "Refresh"** at the top of the page.
39
39
40
40

41
41
42
42
1. Open the command prompt on your IoT Edge device, or use the SSH connection from Azure CLI.
43
-
1.Confirm that the module deployed from the cloud is running on your IoT Edge device using the `sudo iotedge list` command.
44
-
1. View the messages being sent from the temperature sensor module using the command `sudo iotedge logs SimulatedTemperatureSensor -f`.
43
+
1.Use the `sudo iotedge list` command to confirm that the module deployed from the cloud is running on your IoT Edge device.
44
+
1. View the messages being sent from the temperature sensor module using the command `sudo iotedge logs SimulatedTemperatureSensor -f`.
45
45
46
46
> [!IMPORTANT]
47
-
> Note that IoT Edge commands are case-sensitive when referring to module names.
47
+
> IoT Edge commands are case-sensitive when referring to module names.
Copy file name to clipboardExpand all lines: learn-pr/student-evangelism/deploy-prebuilt-module-edge-device/includes/8-summary.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
You put yourself into the role of a developer deploying IoT applications in the cloud for a factory automation application.
2
-
You wanted to simulate both the machine's behavior and the behavior of the environment around the machine. The pre-built temperature sensor simulator module can help solve this problem when deployed at the edge.
2
+
You wanted to simulate both the machine's behavior and the behavior of the environment around the machine. The prebuilt temperature sensor simulator module can help solve this problem when deployed at the edge.
3
3
4
-
In the absence of this module, you would be unable to test the solution adequately because it is expensive to acquire both machine and ambient data.
4
+
In the absence of this module, you would be unable to test the solution adequately because it's expensive to acquire both machine and ambient data.
5
5
6
-
By using the pre-built simulated sensor module, you can be more assured that the application will perform as stipulated.
6
+
By using the prebuilt simulated sensor module, you can be more assured that the application performs as stipulated.
7
7
8
8
In this module, we explored the following engineering-led themes:
title: "Deploy a pre-built module to the Edge device"
5
-
description: "Deploy a pre-built temperature simulator module to an IoT Edge device using a container. Check that the module was successfully created and deployed and view simulated data."
6
-
ms.date: 07/08/2024
7
-
author: orin-thomas
8
-
ms.author: orthomas
9
-
ms.topic: module
10
-
ms.custom: team=cloud_advocates
11
-
ms.service: azure-iot-edge
12
-
ms.collection: ce-advocates-ai-copilot
13
-
title: "Deploy a pre-built module to the Edge device"
14
-
summary: "Deploy a pre-built temperature simulator module to an IoT Edge device using a container. Check that the module was successfully created and deployed and view simulated data."
15
-
abstract: |
16
-
In this module, you will:
17
-
- Launch a module from Azure portal to IoT Edge
18
-
- Generate simulated data from an edge device
19
-
- Verify data generated from the edge device
20
-
prerequisites: |
21
-
- Ability to use IoT Hub in Azure
22
-
- Ability to use Azure Cloud Shell
23
-
- Experience creating and managing resources using the Azure portal or Azure Cloud Shell at the beginner level
title: "Deploy a pre-built module to the Edge device"
5
+
description: "Deploy a pre-built temperature simulator module to an IoT Edge device using a container. Check that the module was successfully created and deployed and view simulated data."
6
+
ms.date: 05/09/2025
7
+
author: orin-thomas
8
+
ms.author: orthomas
9
+
ms.topic: module
10
+
ms.custom: team=cloud_advocates
11
+
ms.service: azure-iot-edge
12
+
ms.collection: ce-advocates-ai-copilot
13
+
title: "Deploy a pre-built module to the Edge device"
14
+
summary: "Deploy a pre-built temperature simulator module to an IoT Edge device using a container. Check that the module was successfully created and deployed and view simulated data."
15
+
abstract: |
16
+
In this module, you will:
17
+
- Launch a module from Azure portal to IoT Edge
18
+
- Generate simulated data from an edge device
19
+
- Verify data generated from the edge device
20
+
prerequisites: |
21
+
- Ability to use IoT Hub in Azure
22
+
- Ability to use Azure Cloud Shell
23
+
- Experience creating and managing resources using the Azure portal or Azure Cloud Shell at the beginner level
0 commit comments