Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 4 question 14 discussion

Actual exam question from Microsoft's AZ-104
Question #: 14
Topic #: 4
[All AZ-104 Questions]

You plan to move a distributed on-premises app named App1 to an Azure subscription.
After the planned move, App1 will be hosted on several Azure virtual machines.
You need to ensure that App1 always runs on at least eight virtual machines during planned Azure maintenance.
What should you create?

  • A. one virtual machine scale set that has 10 virtual machines instances
  • B. one Availability Set that has three fault domains and one update domain
  • C. one Availability Set that has 10 update domains and one fault domain
  • D. one virtual machine scale set that has 12 virtual machines instances
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
mlantonis
Highly Voted 3 years, 6 months ago
Correct Answer: A VM Scale Set consists of a set of identically configured VMs. Availability Set consists of a set of discrete VMs. No more than 20% of the Scale Set upgrading at any time, then 2 machines out of 10 will have maintenance, the 8 remaining VMs will be up. Virtual machine scale sets are created with five fault domains by default in Azure regions with no zones. For the regions that support zonal deployment of virtual machine scale sets and this option is selected, the default value of the fault domain count is 1 for each of the zones. FD=1 in this case implies that the VM instances belonging to the scale set will be spread across many racks on a best effort basis. Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/manage-availability https://docs.microsoft.com/en-us/learn/modules/build-app-with-scale-sets/2-features-benefits-virtual-machine-scale-sets https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade
upvoted 263 times
gil906
8 months, 3 weeks ago
Thats true. " While you're upgrading a batch, there could be other concurrent planned or unplanned maintenance activities that could impact the health of your scale set instances. In such cases if more than 20% of the scale set's instances become unhealthy, then the scale set upgrade stops at the end of current batch." https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade#upgrading-vms-in-a-scale-set
upvoted 1 times
...
garmatey
1 year, 7 months ago
What part of the question indicates if the VMs are identical or discrete?
upvoted 1 times
a6bd45e
4 months, 2 weeks ago
Identical because they are to be created to serve App1.
upvoted 1 times
...
...
morito
1 year, 8 months ago
"Virtual machine scale sets are created with five fault domains by default in Azure regions" I believe you're speaking of update domains?
upvoted 3 times
...
UWSFish
1 year, 7 months ago
I agree with everyone here saying that answer C will do the job. I wouldn't get hunf up on that. The final line does not say, "which of these choices will meet the requirements". it says, "What SHOULD you create" (emphasis mine). Which of the options is cleanest, most elegant, way forward. Clearly A.
upvoted 3 times
nightfxll
1 year, 5 months ago
Try making it and you can't. Only 1 update domain can be made if there is 1 fault domain and vice versa.
upvoted 7 times
...
KingHalik
1 year ago
I think you cannot create an availability set with more then one update and only one fault domain.
upvoted 1 times
...
...
...
fedztedz
Highly Voted 3 years, 11 months ago
Answer is wrong. The correct Answer is A. First: in case you created on fault domain, you are limited with one update domain. You can test this. Second: By default, Azure uses 5 update domains and up to 3 fault domains. So, In case you created 10 vm in scale set. then you will have 2 vm in each update domain. So once one update domain is not available, then you get 4 domains with 8 vms as required.
upvoted 219 times
valente_sven1
3 years, 3 months ago
Thank you, now i know why.
upvoted 2 times
...
DodgyD
3 years, 10 months ago
Well researched and explained. Appreciated! Agree. Very sneaky question leading us to think it is C when ans is A.
upvoted 8 times
Dankho
1 month, 2 weeks ago
yah this question taught me that not only availability sets include update and fault domains but Scale sets do also and have a default rolling update feature. taking these tests is unmeasurable to passing these tests.
upvoted 1 times
...
...
QiangQiang
3 years, 10 months ago
but if A is good, then isn't D better, well costs more
upvoted 4 times
...
QiangQiang
3 years, 10 months ago
this is more like it. thanks
upvoted 3 times
...
...
sca88
Most Recent 4 days, 17 hours ago
Selected Answer: A
https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade "Before you begin the upgrade process, the orchestrator will ensure that no more than 20% of instances in the entire scale set are unhealthy (for any reason). The upgrade orchestrator identifies the batch of VM instances to upgrade, with any one batch having a maximum of 20% of the total instance count, subject to a minimum batch size of one virtual machine. There is no minimum scale set size requirement and scale sets with 5 or fewer instances will have 1 VM per upgrade batch (minimum batch size)." So the answer is A
upvoted 1 times
...
Jo696
2 months, 2 weeks ago
Selected Answer: C
Straight away I thought C as this as availability sets is designed for this specific scenario
upvoted 1 times
itismadu
1 month, 3 weeks ago
https://www.youtube.com/watch?v=Vqa--T2as-w you cannot have 1 fault domain and more than 2 update domain
upvoted 2 times
Dankho
1 month, 2 weeks ago
that is a key concept why C is removed from the equation.
upvoted 1 times
...
...
...
SeMo0o0o0o
2 months, 2 weeks ago
Selected Answer: A
it´s A
upvoted 1 times
...
edurakhan
5 months, 3 weeks ago
on the exam today 6/6/2024
upvoted 3 times
...
EdyCv
6 months ago
10 update domains... from 5, we start puting 2 together UD1 - VM1 UD2 - VM2 UD3 - VM3 UD4 - VM4 UD5 - VM5 from here... we start puting the next VMS in the already assigned UD 1 by 1 VM6 -> UD1 VM7 -> UD2 VM8 -> UD3 VM9 -> UD4 VM10 -> UD5 Only 1 Update Domain is updated at time... We will always have 4 update Domain On... which guarantees 8 VMs On always
upvoted 1 times
...
smorar
6 months, 2 weeks ago
Correct Answer: C Option A suggests using a virtual machine scale set (VMSS) consisting of 10 virtual machine instances. However, the requirement states that the application must run on at least eight virtual machines during planned Azure maintenance. The virtual machine scale set (VMSS) can automatically scale the number of virtual machine instances based on workload or defined scaling rules. However, it does not guarantee that there will be at least eight virtual machine instances running during planned maintenance. In contrast, option C proposes using an Availability Set with 10 update domains and one fault domain. This ensures that during planned maintenance, at least eight virtual machine instances will be available to run the application, meeting the specified requirement.
upvoted 2 times
...
summercat
7 months, 3 weeks ago
Answer is A. A-> UD is fixed at 5 for scale set. so during maintenance, 2 Vms will be down at each time. giving us at least 8VMs runing B-> Does not meet the min 8 virtual machines requirement c->Not possible. availability Set will spread out the VM into 2-3 FD depends on region. so min is 2 FD for high availability. ( Look at the comparision between scale sets and availability set under high availability in https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes) D->will have min 9 or 10VM running
upvoted 1 times
...
bobothewiseman
8 months ago
Selected Answer: A
A is correct
upvoted 2 times
...
Z_MU
8 months, 4 weeks ago
Selected Answer: A
The minimum number of fault domains required for an availability set containing 10 virtual machines is 31. Each fault domain represents a group of VMs that are placed in separate physical racks or clusters to minimize correlated failures. By distributing the VMs across fault domains, you enhance reliability and reduce the risk of simultaneous failures affecting related VMs. Additionally, an availability set can be configured with up to 20 update domains2. Update domains determine groups of VMs that can be rebooted together during planned maintenance. However, the order of update domains being rebooted may not proceed sequentially.
upvoted 2 times
Z_MU
8 months, 4 weeks ago
The minimum number of fault domains required for an availability set containing 10 virtual machines is 3*
upvoted 1 times
...
...
Amir1909
9 months, 1 week ago
A is correct
upvoted 1 times
...
PhoenixAscending
9 months, 4 weeks ago
Selected Answer: A
This was on my exam. The correct answer is provided by the one and only mlantonis.
upvoted 3 times
...
gyansinghnewdelhi
10 months, 1 week ago
Selected Answer: A
The update domain count must be 1 when fault domain count is 1. ANSWER IS A
upvoted 2 times
...
31c21da
10 months, 2 weeks ago
Selected Answer: C
Qustion said "during planned Azure maintenance", AD potentially could be even all down during planned Azure maintenance.
upvoted 1 times
...
Tilakarasu
10 months, 2 weeks ago
Don't panic guys, The Answer is A Reason : When you have 1 fault Domain you can have only 1 Update Domain. (Option C is ruled out)
upvoted 2 times
...
[Removed]
11 months, 2 weeks ago
Selected Answer: A
There is a lot of confusion around this question. Whilst C can potentially be used in this scenario, the key here is that they specify only one Fault Domain. With one FD you can only create A SINGLE Update Domain, hence the only logical choice is A.
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 ...