exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 58 discussion

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

You are developing a microservice to run on Azure Container Apps for a company. External HTTP ingress traffic has been enabled.

The company requires that updates to the microservice must not cause downtime.

You need to deploy an update to the microservices.

What should you do?

  • A. Enable single revision mode.
  • B. Use multiple environments for each container.
  • C. Use a private container registry 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: A 🗳️

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
AzDeveloper
Highly Voted 1 year, 3 months ago
Selected Answer: A
Zero downtime deployment using single mode https://learn.microsoft.com/en-us/azure/container-apps/revisions#zero-downtime-deployment
upvoted 12 times
1CY1
10 months ago
I agree with Kvadraciuks. See : https://learn.microsoft.com/en-us/azure/container-apps/revisions#work-with-multiple-revisions The question talks about development which to me implies that you are going to want to stage deployment of new revisions and be able to monitor traffic splitting using multiple revisions. Answer => E. Enable multiple revision mode.
upvoted 1 times
...
...
Iaminall
Most Recent 1 month ago
Selected Answer: E
Enable multiple revision mode.
upvoted 2 times
...
Iaminall
1 month, 3 weeks ago
Selected Answer: E
E is the correct one.
upvoted 1 times
...
5691024
2 months, 3 weeks ago
Selected Answer: E
My guess is E? The docs are very clear that both Single- and Multi-Revision are zero-downtime: https://learn.microsoft.com/en-us/azure/container-apps/revisions#zero-downtime-deployment ...so there's no clear answer just from that. My thinking is: Even if the container ready-checks pass, the deployed code itself could still be flawed and result in a broken application. Being able to validate the new version using multi-revision mode is a safer option than just sending it. Is a broken app technically 'downtime'? Debatable. Should a broken app be caught before the prod deploy? Certainly. But I don't see any other way to favour one option over the other. Of course, is that what Mr. Microsoft wants...? I have no idea.
upvoted 3 times
...
VithobaS
3 months, 1 week ago
Selected Answer: E
Multiple Revision Mode: - In multiple revision mode, Azure Container Apps creates a new revision each time a deployment is updated. - Traffic can be split between the current and new revisions during the update process, ensuring zero downtime. - Once the new revision is stable, traffic can be shifted fully to the new revision, completing the update.
upvoted 1 times
...
NewChampion
4 months, 3 weeks ago
Selected Answer: A
Single Revision Mode has zero downtime.
upvoted 1 times
...
Dkijc
6 months ago
A Source: https://learn.microsoft.com/en-us/azure/container-apps/revisions#zero-downtime-deployment
upvoted 1 times
...
ciamp
8 months, 2 weeks ago
E Single Revision Mode: In single revision mode, only one revision of the application is active at any given time. When you deploy a new revision, it replaces the current active revision. This means that during the deployment process, the old revision is taken offline while the new one is brought up. This can cause a brief period where the application might be unavailable or not fully functional, resulting in potential downtime. Multiple Revision Mode: This mode allows multiple revisions to run concurrently. When deploying a new revision, it can coexist with the old revision. Traffic can be routed gradually from the old revision to the new one, ensuring a smooth transition without downtime.
upvoted 1 times
...
Kvadraciuks
1 year ago
Selected Answer: E
E. Enable multiple revision mode: Multiple revision mode allows for more than one version of the container app to be active at the same time. This is essential for zero-downtime deployments because you can deploy a new revision without taking down the old one, then gradually shift traffic to the new revision using traffic splitting.
upvoted 4 times
...
azpardha
1 year, 1 month ago
Selected Answer: A
single revision mode
upvoted 1 times
...
Sachin39
1 year, 3 months ago
Selected Answer: A
In single revision mode, Container Apps ensures your app doesn't experience downtime when creating a new revision. The existing active revision isn't deactivated until the new revision is ready. If ingress is enabled, the existing revision continues to receive 100% of the traffic until the new revision is ready. https://learn.microsoft.com/en-us/azure/container-apps/revisions
upvoted 4 times
...
manopeydakon
1 year, 3 months ago
E. Enable multiple revision mode. Explanation: Azure Container Apps supports multiple revision mode, allowing you to deploy updates without causing downtime. With multiple revision mode, you can deploy new revisions of your microservice while keeping the previous revision running. This approach enables a smooth transition without interruption to your application. So, choose option E to enable multiple revision mode when deploying updates to your microservice on Azure Container Apps.
upvoted 2 times
Woksi
1 year, 2 months ago
The task is to deploy "an update". Maybe they are trying to signal that there is no need to allow the old version to continue running when the update is completed. A/B testing is not mentioned. I agree that it would solve the ask - but Single Revision Mode does so as well, without the need for manual setup of Traffic Splitting, and without having to manually clean up old revisions.
upvoted 1 times
...
...
AlpeshD
1 year, 3 months ago
Selected Answer: A
https://www.google.co.nz/search?q=which+revision+mode+in+azure+for+zero+downtime&safe=active&sca_esv=596418299&ei=yyObZa-sM9GYseMP2IOmqA0&ved=0ahUKEwjvvdT3p8yDAxVRTGwGHdiBCdUQ4dUDCBA&uact=5&oq=which+revision+mode+in+azure+for+zero+downtime&gs_lp=Egxnd3Mtd2l6LXNlcnAiLndoaWNoIHJldmlzaW9uIG1vZGUgaW4gYXp1cmUgZm9yIHplcm8gZG93bnRpbWUyBxAhGAoYoAFI8k5QlApYhE5wCHgBkAECmAGNBqAB_0WqAQ0yLTEzLjExLjEuMS4xuAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBRAhGKABwgIEECEYFeIDBBgAIEGIBgGQBgg&sclient=gws-wiz-serp
upvoted 1 times
...
Circle089
1 year, 3 months ago
Selected Answer: A
https://learn.microsoft.com/en-us/azure/container-apps/revisions#zero-downtime-deployment
upvoted 2 times
...
Ciupaz
1 year, 3 months ago
Selected Answer: E
Wrong. Should be multiple revision mode.
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago