AZ-204 · Question #502
You are developing several microservices to run on Azure Container Apps. External HTTP ingress traffic has been enabled for the microservices. The microservices must be deployed to the same virtual ne
The correct answer is D. Use a single environment for all containers.. To deploy multiple microservices to the same virtual network and Log Analytics workspace in Azure Container Apps, all microservices must reside within a single Container Apps environment.
Question
Options
- AEnable single revision mode.
- BUse a separate environment for each container.
- CUse a private container registry image and single image for all containers.
- DUse a single environment for all containers.
- EEnable multiple revision mode.
How the community answered
(50 responses)- A8% (4)
- B2% (1)
- C16% (8)
- D70% (35)
- E4% (2)
Why each option
To deploy multiple microservices to the same virtual network and Log Analytics workspace in Azure Container Apps, all microservices must reside within a single Container Apps environment.
Enabling single revision mode controls how revisions of a *single* container app are managed, not the deployment of *multiple* microservices to shared network/logging resources.
Using a separate environment for each container would result in each microservice having its own dedicated virtual network and Log Analytics workspace, contradicting the requirement to share these resources.
Using a private container registry image and a single image for all containers relates to image source and reusability, not the deployment configuration for shared network or logging.
An Azure Container Apps environment is directly associated with a single virtual network and a single Log Analytics workspace. Deploying all microservices into one environment ensures they share these common infrastructure components, meeting the specified requirements.
Enabling multiple revision mode controls how revisions of a *single* container app are managed for blue/green deployments or traffic splitting, not the deployment of *multiple* microservices to shared network/logging resources.
Concept tested: Azure Container Apps Environment shared resources
Source: https://learn.microsoft.com/en-us/azure/container-apps/environments
Topics
Community Discussion
No community discussion yet for this question.