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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
mlantonis
Highly Voted 3 years, 9 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 265 times
Bravo_Dravel
1 month ago
Correct Answer is A. Tip: why not C Having only one fault domain means that all virtual machines in a scale set are placed in the same physical hardware group, which does not provide redundancy against hardware
upvoted 2 times
...
gil906
1 year 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, 11 months ago
What part of the question indicates if the VMs are identical or discrete?
upvoted 1 times
a6bd45e
7 months, 3 weeks ago
Identical because they are to be created to serve App1.
upvoted 1 times
...
...
morito
1 year, 11 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
...
...
fedztedz
Highly Voted 4 years, 3 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, 7 months ago
Thank you, now i know why.
upvoted 2 times
...
DodgyD
4 years, 1 month ago
Well researched and explained. Appreciated! Agree. Very sneaky question leading us to think it is C when ans is A.
upvoted 9 times
Dankho
4 months, 3 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
4 years, 1 month ago
but if A is good, then isn't D better, well costs more
upvoted 4 times
...
QiangQiang
4 years, 1 month ago
this is more like it. thanks
upvoted 3 times
...
...
RajeshwaranM
Most Recent 1 month, 3 weeks ago
Selected Answer: A
Option Explanation Why it's right or wrong A. One virtual machine scale set with 10 VM instances Correct. A scale set with 10 instances ensures Azure can rotate maintenance across instances, keeping at least 8 VMs running. Right choice B. One availability set with 3 fault domains and 1 update domain This will distribute VMs across hardware and maintenance domains, but it doesn’t automatically ensure scalability or manage exact numbers like a scale set does. Availability sets are better for smaller fixed deployments. Not scalable or flexible C. One availability set with 10 update domains and 1 fault domain More domains improve distribution during maintenance but still doesn’t handle dynamic scaling. You’d have to manually ensure 8 VMs stay online. Not dynamic D. One virtual machine scale set with 12 VM instances This would work, but it’s over-provisioning. You would run more VMs than needed, which increases costs unnecessarily. Waste of resources
upvoted 1 times
...
RajeshwaranM
1 month, 3 weeks ago
Selected Answer: A
Correct Answer: A
upvoted 1 times
...
lelima
2 months, 2 weeks ago
Selected Answer: C
o1 : correct C Why Not A or D (Scale Sets)? A virtual machine scale set can automatically scale up or down, but it does not inherently guarantee a minimum running count during an update without configuring update policies.
upvoted 1 times
...
sca88
3 months, 2 weeks 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 2 times
...
Jo696
5 months, 3 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
5 months 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
4 months, 3 weeks ago
that is a key concept why C is removed from the equation.
upvoted 1 times
...
...
...
[Removed]
5 months, 4 weeks ago
Selected Answer: A
it´s A
upvoted 1 times
...
edurakhan
9 months ago
on the exam today 6/6/2024
upvoted 3 times
...
EdyCv
9 months, 2 weeks 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
9 months, 3 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
11 months, 1 week 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
11 months, 1 week ago
Selected Answer: A
A is correct
upvoted 2 times
...
Z_MU
1 year 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
1 year ago
The minimum number of fault domains required for an availability set containing 10 virtual machines is 3*
upvoted 1 times
...
...
Amir1909
1 year ago
A is correct
upvoted 1 times
...
PhoenixAscending
1 year, 1 month ago
Selected Answer: A
This was on my exam. The correct answer is provided by the one and only mlantonis.
upvoted 3 times
...
gyansinghnewdelhi
1 year, 1 month ago
Selected Answer: A
The update domain count must be 1 when fault domain count is 1. ANSWER 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago