Skip to content

Commit 8a46416

Browse files
committed
Content refresh for ACI module
1 parent d1575a4 commit 8a46416

13 files changed

Lines changed: 56 additions & 34 deletions

learn-pr/wwl-azure/create-run-container-images-azure-container-instances/1-introduction.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Introduction
88
description: "Introduction"
9-
ms.date: 06/17/2025
9+
ms.date: 01/15/2024
1010
author: wwlpublish
1111
ms.author: jeffko
1212
ms.topic: unit
1313
ms.custom:
1414
- N/A
1515
durationInMinutes: 3
1616
content: |
17-
[!include[](includes/1-introduction.md)]
17+
[!include[](includes/1-introduction.md)]

learn-pr/wwl-azure/create-run-container-images-azure-container-instances/2-azure-container-instances-overview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Explore Azure Container Instances
88
description: "Explore Azure Container Instances"
9-
ms.date: 06/17/2025
9+
ms.date: 01/15/2024
1010
author: wwlpublish
1111
ms.author: jeffko
1212
ms.topic: unit
1313
ms.custom:
1414
- N/A
1515
durationInMinutes: 3
1616
content: |
17-
[!include[](includes/2-azure-container-instances-overview.md)]
17+
[!include[](includes/2-azure-container-instances-overview.md)]

learn-pr/wwl-azure/create-run-container-images-azure-container-instances/3-run-azure-container-instances-cloud-shell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Exercise - Deploy a container to Azure Container Instances using Azure CLI commands
88
description: "Exercise - Deploy a container to Azure Container Instances using Azure CLI commands"
9-
ms.date: 06/17/2025
9+
ms.date: 01/15/2024
1010
author: wwlpublish
1111
ms.author: jeffko
1212
ms.topic: unit
1313
ms.custom:
1414
- N/A
1515
durationInMinutes: 15
1616
content: |
17-
[!include[](includes/3-run-azure-container-instances-cloud-shell.md)]
17+
[!include[](includes/3-run-azure-container-instances-cloud-shell.md)]

learn-pr/wwl-azure/create-run-container-images-azure-container-instances/4-run-containerized-tasks-restart-policies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Run containerized tasks with restart policies
88
description: "Run containerized tasks with restart policies"
9-
ms.date: 06/17/2025
9+
ms.date: 01/15/2024
1010
author: wwlpublish
1111
ms.author: jeffko
1212
ms.topic: unit
1313
ms.custom:
1414
- N/A
1515
durationInMinutes: 3
1616
content: |
17-
[!include[](includes/4-run-containerized-tasks-restart-policies.md)]
17+
[!include[](includes/4-run-containerized-tasks-restart-policies.md)]

learn-pr/wwl-azure/create-run-container-images-azure-container-instances/5-set-environment-variables-azure-container-instances.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Set environment variables in container instances
88
description: "Set environment variables in container instances"
9-
ms.date: 06/17/2025
9+
ms.date: 01/15/2024
1010
author: wwlpublish
1111
ms.author: jeffko
1212
ms.topic: unit
1313
ms.custom:
1414
- N/A
1515
durationInMinutes: 3
1616
content: |
17-
[!include[](includes/5-set-environment-variables-azure-container-instances.md)]
17+
[!include[](includes/5-set-environment-variables-azure-container-instances.md)]

learn-pr/wwl-azure/create-run-container-images-azure-container-instances/6-mount-azure-file-share-azure-container-instances.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Mount an Azure file share in Azure Container Instances
88
description: "Mount an Azure file share in Azure Container Instances"
9-
ms.date: 06/17/2025
9+
ms.date: 01/15/2024
1010
author: wwlpublish
1111
ms.author: jeffko
1212
ms.topic: unit
1313
ms.custom:
1414
- N/A
1515
durationInMinutes: 3
1616
content: |
17-
[!include[](includes/6-mount-azure-file-share-azure-container-instances.md)]
17+
[!include[](includes/6-mount-azure-file-share-azure-container-instances.md)]

learn-pr/wwl-azure/create-run-container-images-azure-container-instances/7-knowledge-check.yml

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Module assessment
88
description: "Knowledge check"
9-
ms.date: 06/17/2025
9+
ms.date: 01/15/2024
1010
author: wwlpublish
1111
ms.author: jeffko
1212
ms.topic: unit
@@ -17,36 +17,58 @@ durationInMinutes: 3
1717
quiz:
1818
title: "Check your knowledge"
1919
questions:
20-
- content: "Which of the following methods is recommended when deploying a multi-container group that includes only containers?"
20+
- content: "When your deployment includes only container instances, which approach is recommended for deploying a multi-container group?"
2121
choices:
22-
- content: "Azure Resource Management template"
22+
- content: "Azure Resource Manager template"
2323
isCorrect: false
2424
explanation: "Incorrect. Due to the YAML format's more concise nature, a YAML file is recommended when your deployment includes only container instances."
2525
- content: "YAML file"
2626
isCorrect: true
2727
explanation: "Correct. Due to the YAML format's more concise nature, a YAML file is recommended when your deployment includes only container instances."
28-
- content: "`az container creates` command"
28+
- content: "Azure portal"
2929
isCorrect: false
30-
explanation: "Incorrect. This command isn't specific to this scenario."
30+
explanation: "Incorrect. This module recommends using a YAML file (or a Resource Manager template) for multi-container group deployments."
3131
- content: "What is the purpose of a restart policy in Azure Container Instances?"
3232
choices:
3333
- content: "To charge customers more for compute resources used while the container is running."
3434
isCorrect: false
35-
explanation: "Incorrect. The restart policy is not related to charging customers more for compute resources."
35+
explanation: "Incorrect. The restart policy isn't related to charging customers more for compute resources."
3636
- content: "To ensure that containers are never restarted, even if the process fails."
3737
isCorrect: false
3838
explanation: "Incorrect. The `Never` restart policy ensures that containers are run at most once, but it doesn't allow for restarting on failure."
3939
- content: "To specify when and how containers should be restarted, based on the desired behavior."
4040
isCorrect: true
4141
explanation: "Correct. The restart policy allows you to specify when and how containers should be restarted, based on the desired behavior. This can help optimize resource usage and ensure that tasks are completed successfully."
42-
- content: "If you want to mount multiple volumes, what options are at your disposal for deployment?"
42+
- content: "If you want to mount multiple volumes, what options are available for deployment?"
4343
choices:
4444
- content: "YAML file only"
4545
isCorrect: false
4646
explanation: "While YAML file is a viable option, you can also use Azure Resource Manager templates."
4747
- content: "Azure Resource Manager template and YAML file"
4848
isCorrect: true
4949
explanation: "Correct. To mount multiple volumes in a container instance, you must deploy using an Azure Resource Manager template or a YAML file."
50-
- content: "Azure Resource Manager template and PowerShell"
50+
- content: "Azure portal only"
5151
isCorrect: false
52-
explanation: "While Azure Resource Manager templates are a viable option, you can't use PowerShell commands to directly mount multiple volumes."
52+
explanation: "Incorrect. The module explains that mounting multiple volumes requires a template-based approach such as a YAML file or an Azure Resource Manager template."
53+
- content: "When you need to pass a secret as an environment variable in Azure Container Instances, which option is supported?"
54+
choices:
55+
- content: "Define the variable in a YAML file by using `secureValue`"
56+
isCorrect: true
57+
explanation: "Correct. Azure Container Instances supports secure environment variables in YAML by using the `secureValue` property."
58+
- content: "Define the variable by using `--environment-variables` and expect the value to be visible in `az container show` output"
59+
isCorrect: false
60+
explanation: "Incorrect. Secure environment variable values aren't shown in container properties output. The secure value is accessible only from within the container."
61+
- content: "Bake the secret into the container image and retrieve it from the file system at runtime"
62+
isCorrect: false
63+
explanation: "Incorrect. Baking secrets into an image isn't a recommended approach because it increases the chance of accidental disclosure and makes rotation harder."
64+
- content: "Which statement about mounting an Azure Files share in Azure Container Instances is correct?"
65+
choices:
66+
- content: "You can mount Azure Files shares only to Linux containers"
67+
isCorrect: true
68+
explanation: "Correct. Azure Container Instances supports mounting Azure Files shares only for Linux containers."
69+
- content: "You can mount Azure Files shares to Windows containers"
70+
isCorrect: false
71+
explanation: "Incorrect. This module notes that Azure Files share mounting in Azure Container Instances is supported only for Linux containers."
72+
- content: "You can mount Azure Files over SMB by using managed identity"
73+
isCorrect: false
74+
explanation: "Incorrect. Azure Storage doesn't support SMB mounting of an Azure file share by using managed identity in this scenario."

learn-pr/wwl-azure/create-run-container-images-azure-container-instances/8-summary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ metadata:
66
prefetch-feature-rollout: true
77
title: Summary
88
description: "Summary"
9-
ms.date: 06/17/2025
9+
ms.date: 01/15/2024
1010
author: wwlpublish
1111
ms.author: jeffko
1212
ms.topic: unit
1313
ms.custom:
1414
- N/A
1515
durationInMinutes: 3
1616
content: |
17-
[!include[](includes/8-summary.md)]
17+
[!include[](includes/8-summary.md)]

learn-pr/wwl-azure/create-run-container-images-azure-container-instances/includes/2-azure-container-instances-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ There are two common ways to deploy a multi-container group: use a Resource Mana
3535

3636
## Resource allocation
3737

38-
Azure Container Instances allocates resources such as CPUs, memory, and optionally GPUs (preview) to a container group by adding the resource requests of the instances in the group. If you create a container group with two instances, each requesting one CPU, then the container group is allocated two CPUs.
38+
Azure Container Instances allocates resources such as CPUs and memory to a container group by adding the resource requests of the instances in the group. If you create a container group with two instances, each requesting one CPU, then the container group is allocated two CPUs.
3939

4040
## Networking
4141

learn-pr/wwl-azure/create-run-container-images-azure-container-instances/includes/4-run-containerized-tasks-restart-policies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ With a configurable restart policy, you can specify that your containers are sto
66

77
When you create a container group in Azure Container Instances, you can specify one of three restart policy settings.
88

9-
Restart policy | Description
9+
Restart policy | Description
1010
- | -
1111
`Always` | Containers in the container group are always restarted. This is the **default** setting applied when no restart policy is specified at container creation.
1212
`Never` | Containers in the container group are never restarted. The containers run at most once.
@@ -26,4 +26,4 @@ az container create \
2626

2727
## Run to completion
2828

29-
Azure Container Instances starts the container, and then stops it when its application, or script, exits. When Azure Container Instances stops a container whose restart policy is `Never` or `OnFailure`, the container's status is set to **Terminated**.
29+
Azure Container Instances starts the container, and then stops it when its application, or script, exits. When Azure Container Instances stops a container whose restart policy is `Never` or `OnFailure`, the container's status is set to **Terminated**.

0 commit comments

Comments
 (0)