AZ-104 · Question #675
Hotspot Question You have an Azure subscription that contains the container images shown in the following table. You plan to use the following services: - Azure Container Instances - Azure Container…
The correct answer is Azure Container Instances can run Image1 (Windows Server) = Yes; Azure Container Instances can run Image2 (Linux) = Yes; Azure Container Apps can run Image1 (Windows Server) = No; Azure Container Apps can run Image2 (Linux) = Yes; Azure App Service can run Image1 (Windows Server) = Yes; Azure App Service can run Image2 (Linux) = Yes. Azure Container Apps only supports Linux containers, while Azure Container Instances and Azure App Service support both Windows and Linux container images.
Question
Exhibits
Answer Area
- Azure Container Instances can run Image1 (Windows Server)Yes
- Azure Container Instances can run Image2 (Linux)Yes
- Azure Container Apps can run Image1 (Windows Server)No
- Azure Container Apps can run Image2 (Linux)Yes
- Azure App Service can run Image1 (Windows Server)Yes
- Azure App Service can run Image2 (Linux)Yes
Explanation
Azure Container Apps only supports Linux containers, while Azure Container Instances and Azure App Service support both Windows and Linux container images.
Approach. For Image1 (Windows Server), select 'Azure Container Instances and App Services only'. Azure Container Instances (ACI) and Azure App Service both support running custom Windows containers, but Azure Container Apps (ACA) strictly supports Linux containers. For Image2 (Linux), select 'Azure Container Instances, Azure Container Apps, and App Services' because all three services fully support Linux-based containers.
Common mistakes.
- common_mistake. A frequent error is assuming Azure Container Apps can host Windows containers, which leads to incorrectly choosing the 'all services' option for Image1. Another error is overlooking Azure App Service's capability to natively run custom container images (Web App for Containers), causing test-takers to incorrectly omit it from their selections.
Concept tested. Azure container compute options and their respective operating system compatibility (specifically, Linux-only support in Azure Container Apps versus dual OS support in ACI and App Service).
Reference. https://learn.microsoft.com/en-us/azure/container-apps/containers
Topics
Community Discussion
No community discussion yet for this question.

