exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 4 question 8 discussion

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

HOTSPOT -
You create a virtual machine scale set named Scale1. Scale1 is configured as shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: 6 virtual machines -
The Autoscale scale out rule increases the number of VMs by 2 if the CPU threshold is 80% or higher. The initial instance count is 4 and rises to 6 when the 2 extra instances of VMs are added.

Box 2: 2 virtual machnes -
The Autoscale scale in rule decreases the number of VMs by 4 if the CPU threshold is 30% or lower. The initial instance count is 4 and thus cannot be reduced to
0 as the minimum instances is set to 2. Instances are only added when the CPU threshold reaches 80%.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-overview https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-best-practices https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-common-scale-patterns

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: Box 1: 6 virtual machines The Autoscale scale out rule increases the number of VMs by 2 if the CPU threshold is 80% or higher. The initial instance count is 4 and rises to 6 when the 2 extra instances of VMs are added. Box 2: 2 virtual machnes The Autoscale scale in rule decreases the number of VMs by 4 if the CPU threshold is 30% or lower. The initial instance count is 4 and thus cannot be reduced to 0 as the minimum instances is set to 2. Instances are only added when the CPU threshold reaches 80%. Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-overview https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-best-practices https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-common-scale-patterns
upvoted 273 times
GodfreyMbizo
3 years, 5 months ago
Powerful and very clear explanation
upvoted 3 times
...
McRowdy
3 years, 8 months ago
Clearest explanation so far.
upvoted 5 times
...
matdin
3 years, 1 month ago
Clear explanation
upvoted 1 times
...
Sharathjogi
3 years ago
Thank you for the clear explanation. I was in confusion before.
upvoted 1 times
...
...
sjccde
Highly Voted 4 years, 3 months ago
Scale-out to 6 is correct. Scale-in to 2 is also correct: Starting with 4VMs. Usage (25%) is below threshold, so scale-in happens to the min. of 2 machines. (Calculate: If 4 VMs have 25%, then 2 VMs will have 50%; this does not trigger the Scale-out, so scale in will be done!) Then for the next time it stays at 50%, so no changes are made an the set still consists 2 VMs
upvoted 99 times
Borbz
4 years, 2 months ago
correct answer and justification.
upvoted 11 times
...
...
Abhisk127
Most Recent 1 month, 1 week ago
This question was on exam dated-23 Jan 2025. Box 1: 6 virtual machines Box 2: 2 virtual machnes
upvoted 1 times
...
[Removed]
6 months ago
CORRECT
upvoted 2 times
...
varinder82
9 months, 2 weeks ago
Final Answer : 6, 2
upvoted 1 times
...
Indy429
1 year, 2 months ago
This is just math at this point💀
upvoted 2 times
...
deathazul
1 year, 5 months ago
6 and 2
upvoted 1 times
...
CarlosMarin
1 year, 6 months ago
This question was in my exam on 31/08/2023.
upvoted 3 times
...
Mehedi007
1 year, 7 months ago
1) 6 virtual machines 2) 2 virtual machines Passed the exam on 26 July 2023. Scored 870. Similar question came.
upvoted 1 times
...
itguyeu
1 year, 8 months ago
I used free version access for this site and it helped me pass the exam. Some questions that I had on the exams, I took the exam more than once, are not available under the free tier access, but 80% of the questions came from here. I do recommend investing a bit of money and getting full access to this site. I didn't memorise answers but analysed them and studied as Microsoft does tweak them a bit. This Q was on the exam.
upvoted 1 times
...
NJTH
1 year, 11 months ago
Simular question was on todays exam. (7th April 2023)
upvoted 3 times
...
zellck
2 years ago
1. 6 (inital 4 + scale out 2) 2. 2 (min 2)
upvoted 2 times
zellck
2 years ago
Got this in Feb 2023 exam.
upvoted 2 times
...
...
typales2005
2 years, 1 month ago
in the 09/01.2023 exam. I chose the given answers
upvoted 2 times
...
[Removed]
2 years, 1 month ago
Was on my 2nd test
upvoted 2 times
[Removed]
2 years, 1 month ago
sorry what I mean it was on 2nd test, it was a similar question. Make sure you understand it. because they will change the values, for instance. The very first field was 2 and not 4
upvoted 3 times
...
chikorita
2 years ago
i see you under every damn discussion w different timestamp and similar comments either u're a BOT or you work for MS or you keep failing these exams!
upvoted 2 times
...
...
Liriano
2 years, 4 months ago
Today 11/01/2022 in exam but with different values and questions criteria.
upvoted 1 times
...
AZOU
2 years, 5 months ago
it's simple - look at your scale-in and scale-out policies. We have 4 instances (created with the VMSS). If the CPU threshold is hight than 80% and 6 minutes (exceeded the policy) we will have 4 + 2 added instances (=6 instances in total) The same for the scaling-out policy. We have now 6 VMs and the CPU is running lower than the threshold, so we will decrease by 4 which is 2 VMs in total.
upvoted 2 times
qwerty100
2 years, 4 months ago
@AZOU, Your answer is correct but your second reasoning is wrong. you don't have 6 VMs you have 4VMs Box 2: 2 virtual machnes The Autoscale scale in rule decreases the number of VMs by 4 if the CPU threshold is 30% or lower. The initial instance count is 4 and thus cannot be reduced to 0 as the minimum instances is set to 2.
upvoted 2 times
...
xRiot007
1 year, 9 months ago
Box 1 and Box 2 are two independent cases. So for Box 2 it will be 4 VMs and because the minimum is 2, the scale in rule cannot reduce 4 only 2 VMs, leaving 2.
upvoted 1 times
...
...
NaoVaz
2 years, 5 months ago
1) 6 2) 2 mlantonis answer goes into further detail.
upvoted 3 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