exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 4 question 10 discussion

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

Your company purchases an app named App1.
You plan to run App1 on seven Azure virtual machines in an Availability Set. The number of fault domains is set to 3. The number of update domains is set to 20.
You need to identify how many App1 instances will remain available during a period of planned maintenance.
How many App1 instances should you identify?

  • A. 1
  • B. 2
  • C. 6
  • D. 7
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
gm20
Highly Voted 4 years, 8 months ago
VM|FD|UD VM0|0|0 VM1|1|1 VM2|2|2 VM3|0|3 VM4|1|4 VM5|2|5 VM6|0|6 In summary, we have Update Domain 0(UD0): 6 VM Update Domain 1(UD1): 6 VM Update Domain 2(UD2): 6 VM
upvoted 58 times
mtk93
3 years, 8 months ago
FD1 | FD 2 | FD 3 ------------------------------------------------ VM | UD0 VM | UD1 VM | UD2 VM | UD3 VM | UD4 VM | UD5 VM | UD6 | UD7 | UD8 - And so on until no.19 Explenation: There are only 7 vm for app1. Hence, we use ony 7 update domain, so remaining 13 update domains are empty ( no vm). This means if you have 100 Update domains. The case is is he same. 7 UD with VM, and 93 without VM. So if we update on UD0. That VM is not available. We have 6 other VM that are available. 6 is the correct answer.
upvoted 15 times
...
...
Virendrak
Highly Voted 4 years, 9 months ago
Updated domain is defined to 20 so at a time only one machine will reboot so always 6 machine will be available. Since the number of virtual machines in availability sets are 7. So only one machine will reboot on update domains 7 or more.
upvoted 19 times
...
jaydee7
Most Recent 3 years, 4 months ago
Tricky question :) distribute 7 vms to 20 UD's. 1 VM per UD till 7th UD. 1 UD will be unavailable during planned maintenance which makes 6VMs available.
upvoted 1 times
...
bkbbal
3 years, 4 months ago
this is definitely an AZ-104 question, I'm pretty sure the answer is 6 instances. I just passed AZ-104, and will attend AZ-304 before the end of March which will be replaced by AZ-305 from Apr 1.
upvoted 2 times
...
[Removed]
3 years, 4 months ago
Selected Answer: C
Correct
upvoted 1 times
...
thebarber87
3 years, 5 months ago
Selected Answer: C
Answer is C Not sure 30+ comments is necessary on an easy answer.
upvoted 2 times
...
syu31svc
3 years, 10 months ago
20 Update Domains spread across 3 Fault Domains so that will be 6/7/7 in terms of number of Update Domain per Fault Domain Answer is C; 6
upvoted 3 times
...
Namrathaece
3 years, 10 months ago
6 is correct as update happens only on one UD and here only 1 will be down
upvoted 1 times
...
GetulioJr
4 years, 1 month ago
Many people here mixed the fault domain with the update domain. You have 20 update domains and only 7 virtual machines, so all machines will be online separately. when one update domain is updating, it will always live other 6 machines online. If it was asking how many machines will be online if the one fault domain fail, the answer would be at least 2. with 3 fault domain you have 2, 2 and 3 VMs. so you would have from 2 to 3 machines running. But it is not the question here.
upvoted 5 times
...
LalitJ
4 years, 1 month ago
Seems to be a problem with the options. As per MS documentation "...When more than five virtual machines are configured within a single availability set, the sixth virtual machine is placed into the same update domain as the first virtual machine, the seventh in the same update domain as the second virtual machine, and so on..." https://docs.microsoft.com/en-us/azure/virtual-machines/availability-set-overview#how-do-availability-sets-work So my guess would be 5 or 6 depending on the update domain being rebooted
upvoted 2 times
...
Hank_Qin
4 years, 1 month ago
The quesion misses the VM number. How get 7 VMs?
upvoted 2 times
keilah123
4 years, 1 month ago
Read the question carefully. It's in the second sentence. "Your company purchases an app named App1. You plan to run App1 on seven Azure virtual machines in an Availability Set.
upvoted 2 times
G63
3 years, 5 months ago
hahaha I also missed the 'seven' Thanks
upvoted 1 times
...
...
...
Aghora
4 years, 5 months ago
stupid question. it should point out AT MIN or AT MAX at MIN = 6 - when update reaches the 7 used domains out of the 20 at MAX = 7 - when update is busy with the unused 13 domains
upvoted 1 times
SnakePlissken
4 years, 1 month ago
Update isn't busy with unused domains. It's ready after 7 domains.
upvoted 1 times
...
Aghora
4 years, 5 months ago
i will go with 6
upvoted 2 times
...
...
glam
4 years, 6 months ago
C. 6 .....
upvoted 2 times
...
milind8451
4 years, 6 months ago
There are 20 update domains, and app runs on 7 VMs so if you distribute 7 VMs across 20 update domains then still you have 13 slots left, If 1 update domain is updated at once then still 6 VMs are running at any time. Answer is correct.
upvoted 8 times
...
AJ_123
4 years, 6 months ago
Given answer is correct
upvoted 3 times
...
StressiOlli
4 years, 8 months ago
Just look how often the 3 fits into the 20 => 6. Simple mathematics. Just an Eselsbrücke. :)
upvoted 7 times
m9878
4 years, 6 months ago
fault domain only come in play during unplanned maintenance, the question asks about how many machines will be available during a planned maintenance so the solution is 6 not 3
upvoted 3 times
...
ArifUK
4 years, 7 months ago
why 3 ?
upvoted 1 times
Mouminster
4 years, 7 months ago
because fault domain is 3
upvoted 1 times
...
...
joshyz73
4 years, 6 months ago
That's not how you come to the answer at all. The number of fault domains (which is how many physical racks the VMs would be spread out on) is meaningless in this question. The answer would be 6 even if there were 200 update domains. There are 7 running VMs. As long as the number of update domains is >= the number of the VMs, you will never have more than 1 VM offline at any given time.
upvoted 9 times
examineezer
3 years, 7 months ago
Thanks for this comment. I was getting confused by everyone trying to divide 20 by 3. The number of fault domains is completely irrelevant.
upvoted 1 times
...
...
...
Hanger_Man
4 years, 8 months ago
correct answer given-6
upvoted 7 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 ...