exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 52 discussion

Actual exam question from Microsoft's AZ-204
Question #: 52
Topic #: 2
[All AZ-204 Questions]

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 network and write logs to the same Log Analytics workspace.

You need to deploy the microservices.

What should you do?

  • A. Enable single revision mode.
  • B. Use a separate environment for each container.
  • C. Use a private container registry image and single image for all containers.
  • D. Use a single environment for all containers.
  • E. Enable multiple revision mode.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MikeM27
Highly Voted 1 year, 7 months ago
The correct answer should be D
upvoted 12 times
Steffexx
1 year, 7 months ago
That is what I thought as well. The single revision would not solve anything here.
upvoted 3 times
Regex37
6 months, 2 weeks ago
A bit more background: "Use a single environment when you want to: [...] Have applications share the same log destination" (https://learn.microsoft.com/en-us/azure/container-apps/environment)
upvoted 1 times
...
...
...
J_obando13
Most Recent 3 months ago
Selected Answer: D
Got this in the exam today! May 15, 2025. Went most voted. 940/1000. 50 of 51 from examtopics. Cases Munson’s Pickles and Preserves Farm (7) and Fourth Coffee (3)
upvoted 1 times
...
Sushantjadhav416
10 months, 3 weeks ago
Selected Answer: D
https://www.examtopics.com/exams/microsoft/az-204/view/9/#
upvoted 2 times
...
jobolesonihal
10 months, 3 weeks ago
Per copilot - To configure a custom domain in Azure Container Apps and allow HTTPS access, you should perform the actions in the following order: 1) Enable Ingress: This will allow external access to your microservices. 2) Add custom domain name: You need to specify the custom domain that you want to use for your microservices. 3) Bind the certificate: This is necessary for enabling HTTPS. You need to bind the SSL/TLS certificate to your custom domain. 4) Add DNS Records to the domain provider: This will point your custom domain to the IP address of your Azure Container Apps. 5) Validate the custom domain name: This is the final step to ensure that your custom domain has been properly configured and is accessible.
upvoted 2 times
...
Xtoluck
11 months, 4 weeks ago
The correct answer should be D
upvoted 1 times
...
Rabi3
1 year ago
Selected Answer: D
Answer should be D
upvoted 1 times
...
SanjanaBAZINGAA
1 year, 2 months ago
D. Use a single environment for all containers. Explanation: Using a single environment for all containers can help in managing multiple microservices within the same context, which may include deploying them to the same virtual network and configuring them to write logs to the same Log Analytics workspace. The concept of "environment" in this context could refer to a shared Azure Container Apps instance or a broader resource group or Azure region where the microservices are deployed and managed together.4
upvoted 3 times
...
dhivya6613
1 year, 2 months ago
D. Use a single environment for all containers: Azure Container Apps Environment acts as a logical grouping of container apps that share common characteristics. By using a single environment for all your microservices, you can easily manage network and security settings across all apps, ensuring they are deployed in the same virtual network and can write logs to the same Log Analytics workspace. This approach simplifies network and log management while maintaining isolation at the microservice level.
upvoted 3 times
...
Karunan
1 year, 3 months ago
If D is the correct answer, why answer is not changed?
upvoted 1 times
...
CarlosTheBoldest
1 year, 3 months ago
Selected Answer: D
D FTW!
upvoted 2 times
...
p2006
1 year, 5 months ago
Selected Answer: D
https://learn.microsoft.com/en-us/azure/container-apps/environment#single-environment
upvoted 4 times
...
renierdbruyn
1 year, 5 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
Kanasan
1 year, 5 months ago
Selected Answer: D
D. Use a single environment for all containers. By deploying all microservices in a single environment, you can ensure that they are part of the same virtual network. This makes it easier to manage network policies and allows the services to communicate more easily with each other. Additionally, using a single environment can simplify the configuration for writing logs to the same Log Analytics workspace.
upvoted 2 times
...
AashirwadSinha
1 year, 6 months ago
My vote goes to D
upvoted 1 times
...
JeyTlenJey
1 year, 6 months ago
I think option D is correct. A Container Apps environment is a secure boundary around groups of container apps that share the same virtual network and write logs to the same logging destination. https://learn.microsoft.com/en-us/azure/container-apps/environment
upvoted 2 times
...
AlexMMReis
1 year, 7 months ago
Selected Answer: D
seems the only one to make sense D
upvoted 2 times
...
lyggwtwtczxnhznebw
1 year, 7 months ago
Selected Answer: D
voting for D as well
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...