exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 31 discussion

Actual exam question from Microsoft's AZ-400
Question #: 31
Topic #: 8
[All AZ-400 Questions]

DRAG DROP -
You are defining release strategies for two applications as shown in the following table.

Which release strategy should you use for each application? To answer, drag the appropriate release strategies to the correct applications. Each release strategy may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
App1: Canary deployment -
With canary deployment, you deploy a new application code in a small part of the production infrastructure. Once the application is signed off for release, only a few users are routed to it. This minimizes any impact.
With no errors reported, the new version can gradually roll out to the rest of the infrastructure.
App2: Rolling deployment:
In a rolling deployment, an application's new version gradually replaces the old one. The actual deployment happens over a period of time. During that time, new and old versions will coexist without affecting functionality or user experience. This process makes it easier to roll back any new component incompatible with the old components.
Incorrect Answers:

Blue/Green deployment -
A blue/green deployment is a change management strategy for releasing software code. Blue/green deployments, which may also be referred to as A/B deployments require two identical hardware environments that are configured exactly the same way. While one environment is active and serving end users, the other environment remains idle.
Blue/green deployments are often used for consumer-facing applications and applications with critical uptime requirements. New code is released to the inactive environment, where it is thoroughly tested. Once the code has been vetted, the team makes the idle environment active, typically by adjusting a router configuration to redirect application program traffic. The process reverses when the next software iteration is ready for release.
Reference:
https://dev.to/mostlyjason/intro-to-deployment-strategies-blue-green-canary-and-more-3a3

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
TosO
Highly Voted 4 years, 8 months ago
App 1 - Canary App 2 - Blue/Green Blue/Green is for sure faster when you need to roll back the changes
upvoted 166 times
rdemontis
2 years, 8 months ago
agree with you
upvoted 2 times
...
Yogothegreat
4 years, 6 months ago
I think it should be this like Tos0 said, can anyone please confirm App 1 - Canary App 2 - Blue/Green
upvoted 6 times
...
[Removed]
4 years, 8 months ago
The answer is Canary and Rolling upgrade since rolling upgrade allows faster release . In case of blue/green you have to deploy to blue and if everything goes fine you will have to switch to green which is time taking
upvoted 4 times
hubeau
4 years, 7 months ago
Blue/green real take more time of deployment
upvoted 3 times
...
hubeau
4 years, 8 months ago
Reroute application traffic is just faster than step-back one by one. At this point, Blue/Green is faster than Rolling. Especially when you change a lot in data layer which impact a lot in front-end. We may create two different system with independant infrastructure. So just make a traffic switch is the fastest way.
upvoted 2 times
...
...
motu
4 years, 3 months ago
Correct, see here: https://docs.microsoft.com/en-us/learn/modules/manage-release-cadence/2-what-are-deployment-patterns "A canary release is a way to identify potential problems early without exposing all users to the issue. The idea is that we expose a new feature to only a small subset of users before we make it available to everyone." "Blue-green deployment also gives us a fast way to do a rollback. If anything goes wrong in the green environment, then we just switch the router back to the blue environment."
upvoted 11 times
rdemontis
2 years, 8 months ago
thanks for sharing the document
upvoted 1 times
...
...
...
vsvaid
Most Recent 11 months, 2 weeks ago
Correct Answer Canary Blue/Green
upvoted 1 times
...
xRiot007
1 year, 4 months ago
App 1 : Canary App 2 : Blue/Green A rolling deployment could be used for rollback if you do it manually, but it's just bad practice, a rolling deployment is used to fix failures, not rollback. A blue/green will be always faster and less risk involved for rollbacks.
upvoted 2 times
...
Fal991l
1 year, 7 months ago
A Blue/Green Deployment strategy is also a valid option for App2, but it may not be the best fit for the requirement of minimizing deployment time and maximizing rollback speed. A Blue/Green Deployment strategy involves creating two identical environments - one with the current version of the application (blue), and the other with the new version (green). The new version is tested in the green environment, and once verified, the traffic is switched to the green environment, making it the new production environment.
upvoted 1 times
Fal991l
1 year, 7 months ago
While a Blue/Green Deployment strategy allows for easy rollback in case of issues, it may not be the fastest option for minimizing deployment time since it involves creating an entirely new environment. Additionally, switching traffic from the blue to green environment may cause downtime or disruptions for users, which is not desirable when trying to minimize deployment time. In summary, a Rolling Deployment strategy may be a better fit for App2 as it allows for faster deployment and rollbacks with minimal downtime, while a Blue/Green Deployment strategy is still a valid option but may not be the most efficient in this particular scenario.
upvoted 1 times
...
...
Rams_84zO6n
1 year, 9 months ago
App1 - Canary - everyone agrees App2 - This is one of the weird MS question with conflicting case. Yes, rolling gives faster deployment, Blue/Green gives faster rollback. When you need both, which is safer ? Do you want a fast deployment with very slow rollback or a slower deployment with faster rollback? I think it is later- so Blue/Green
upvoted 3 times
...
Atos
2 years, 2 months ago
Rolling Deployment is not supported outside of VM resources.
upvoted 2 times
...
syu31svc
2 years, 3 months ago
App 1 is canary for "small group of users" App 2 is Blue/Green to "roll back as quickly as possible"
upvoted 1 times
...
Manjubk
2 years, 4 months ago
App 1 - Canary App 2 - Rolling Update - Need to implement new version quicker and Rollback quickly. Rollback is easy in Blue/green also, But new version upgrade is easy in rolling update when compare to Bluegreen
upvoted 1 times
sha1979
2 years, 4 months ago
A rolling deployment is generally faster than a blue/green deployment; however, unlike a blue/green deployment, in a rolling deployment there is no environment isolation between the old and new application versions. This allows rolling deployments to complete more quickly, but also increases risks and complicates the process of rollback if a deployment fails. https://docs.aws.amazon.com/whitepapers/latest/overview-deployment-options/rolling-deployments.html
upvoted 2 times
...
...
Eltooth
2 years, 6 months ago
Canary Blue/green
upvoted 2 times
...
Cheehp
2 years, 7 months ago
Selected during exam. App 1 - Canary App 2 - Blue/Green
upvoted 3 times
...
AlMargoi
3 years ago
App1 - Canary App2 - Blue/Green
upvoted 3 times
...
erico
3 years, 5 months ago
App 1 - Canary App 2 - Blue/Green
upvoted 2 times
...
nvnrao57
3 years, 7 months ago
App 1 - Canary App 2 - Blue/Green
upvoted 1 times
...
vglearn
3 years, 10 months ago
App1: Canary App2 : Blue/Green Explanation When you want to deploy newer versions of an application to a subset of users, you will use the Canary deployment method use Blue/Green deployments wherein, you have both versions of the application running side by side. At any point in time you can switch between the application versions.
upvoted 1 times
...
RameezMulla
3 years, 11 months ago
App2 - Blue/Green also given in wizlabs questions
upvoted 1 times
...
Hanuman
4 years ago
App 1 - Canary App 2 - Blue/Green
upvoted 1 times
...
aftab7500
4 years, 1 month ago
Blue-green deployment also gives us a fast way to do a rollback. If anything goes wrong in the green environment, then we just switch the router back to the blue environment.
upvoted 1 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 ...