exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 19 discussion

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

HOTSPOT -
You are designing YAML-based Azure pipelines for the apps shown in the following table.

You need to configure the YAML strategy value for each app. The solution must minimize app downtime.
Which value should you configure for each app? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
App1: rolling -
A rolling deployment replaces instances of the previous version of an application with instances of the new version of the application on a fixed set of virtual machines (rolling set) in each iteration.

App2: canary -
Canary deployment strategy is an advanced deployment strategy that helps mitigate the risk involved in rolling out new versions of applications. By using this strategy, you can roll out the changes to a small subset of servers first. As you gain more confidence in the new version, you can release it to more servers in your infrastructure and route more traffic to it.
Incorrect Answers:
runonce:
runOnce is the simplest deployment strategy wherein all the lifecycle hooks, namely preDeploy deploy, routeTraffic, and postRouteTraffic, are executed once.
Then, either on: success or on: failure is executed.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/deployment-jobs

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
Sylph
Highly Voted 3 years, 6 months ago
Correct
upvoted 20 times
...
ozbonny
Most Recent 8 months, 1 week ago
Correct
upvoted 2 times
...
renzoku
1 year, 3 months ago
1. Rolling: Incremental rollout of the new version across all nodes in a controlled manner while minimizing disruption. 2. Canary: Gradual rollout of new version to a subset of users or nodes Used to test new features, allowing for risk mitigation and early issue detection.
upvoted 4 times
...
mamoon_malta2022
2 years, 1 month ago
A rolling deployment replaces instances of the previous version of an application with instances of the new version of the application on a fixed set of virtual machines (rolling set) in each iteration. We currently only support the rolling strategy to VM resources. https://docs.microsoft.com/en-us/azure/devops/pipelines/process/deployment-jobs?view=azure-devops
upvoted 1 times
...
syu31svc
2 years, 2 months ago
Answer is correct and explanation supports it
upvoted 1 times
...
hebertpena88
2 years, 2 months ago
Correct
upvoted 1 times
...
tjeerd
2 years, 3 months ago
On exam 20220727. Answer is correct.
upvoted 3 times
...
UnknowMan
2 years, 5 months ago
Correct
upvoted 1 times
...
rdemontis
2 years, 7 months ago
correct
upvoted 2 times
...
poplovic
3 years, 3 months ago
Rolling for VM, Canary for AKS. One difference is preDeploy is running once for Canary but multiple times for each VM
upvoted 4 times
...
lesiris
3 years, 4 months ago
Is there a real difference between canary and rolling ? For me they are very similar ...
upvoted 1 times
dupakonia
2 years, 8 months ago
The canary deployment pattern is similar to a rolling deployment in that the IT team makes the new release available to some users before others. However, the canary technique targets certain users to receive access to the new application version, rather than certain servers.
upvoted 6 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