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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-103 topic 3 question 22 discussion

Actual exam question from Microsoft's AZ-103
Question #: 22
Topic #: 3
[All AZ-103 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%.
References:
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 (?) , you can switch to a simple comment.
Switch to a voting comment New
RonS
Highly Voted 4 years ago
The answers given are correct. 1st question 6, the only info given is that the starting count of vm instances is 4 and 2 are added for 6 total. 2nd question the minimum it can go is 2 and it stays at 2 for the questions. 6 and 2 are the correct answers.
upvoted 22 times
...
somedude
Highly Voted 4 years, 1 month ago
krkr20202020, you are right about the scale-out interval, but scale-in seems to be hardcoded at 5 minutes in the default template. So it should be 4 and 2. Source: just tried to create a simple scale set and looked through the template.
upvoted 17 times
...
finolweb
Most Recent 3 years, 3 months ago
is correct start in 4 next 2 more
upvoted 2 times
...
Thi
3 years, 5 months ago
Given answer correct 6,2 look at link https://docs.microsoft.com/en-us/answers/questions/7989/azure-vmss-autoscale.html
upvoted 1 times
...
Andres_P
3 years, 6 months ago
Question is clear, both scenaries are not one after another, therefore the answers are: 6-2 , i have no doubt.
upvoted 3 times
...
Xtian_ar
3 years, 8 months ago
There is not complete information, because we do not know nothing about how many minutes the scale set waits in order to scale in or out. The default is 10 minutes, but may I suppose the default configuration?
upvoted 4 times
...
imnotabot
3 years, 8 months ago
I just tested the scale-in approach. Created a scaleset just as shown. Once deployed, it took 3 minutes to scale in. at that point, I had 2 VMs running. so, the answers for the first box is 4 due to not going over 10 minutes as this would be the default. Scale in must be having a 1 minute time span as I am guessing it took about 2 minutes to actually launch the machines. But it definitely scaled in before the 6 minutes below 25% usage. I say test it yourself to be sure. But this is what I'm coming up with.
upvoted 1 times
...
prasadthombre
3 years, 8 months ago
Answer is 4 and 4; Here cooling period and duration for scale in and out are not displayed in the graphical view. So we need to consider the default values for these settings. Cool down (minutes) : The amount of time to wait before the rule is applied again so that the autoscale actions have time to take effect. Default is 5 minutes. Duration : The amount of time monitored before the metric and threshold values are compared. Default is 10 minutes.
upvoted 3 times
...
ariahi
3 years, 9 months ago
One more time : "This is amount of time that Autoscale engine will look back for metrics. For example, 10 minutes means that every time autoscale runs, it will query metrics for the past 10 minutes. This allows your metrics to stabilize and avoids reacting to transient spikes. The Storage queue Approximate Message Count and Service Bus Message Count metrics are special in that these metrics are point in time only and have no history. For these metrics, the duration field will be ignored by the Autoscale engine."
upvoted 1 times
ariahi
3 years, 9 months ago
I just tried creating a new scale-set - The new interface had an extra line : Duration in minutes ( defaults to 10) W/O this knowledge this Q is invalid.
upvoted 2 times
...
...
raj10207
3 years, 9 months ago
Came in Exam , Exam given on 06.07.2020
upvoted 3 times
DAgrawal2
3 years, 9 months ago
ok... what did you answer
upvoted 7 times
Thi
3 years, 5 months ago
They just want to loose concentration.
upvoted 1 times
...
...
...
ariahi
3 years, 9 months ago
Duration (in minutes) Default is 10 I literally just checked this. Unless you changed the duration time from 10 to 5 minutes nothing will happen In this scenario.
upvoted 4 times
...
anon1234
3 years, 9 months ago
Box 1: Starting VM's = 4 85% utilization will cause scale out as the threshold is 80% and increase by 2 After 6 minutes we will have 6 VM's 6 VM's Box 2: Starting VM's = 4 Utilization at 25% cause a scale in of 4 V.M's but minimum number of V.M's has to be 2. Utilization at 50% doesnt matter as doesnt reach scale out threshold so we still have the 2 V.M's 2 V.M's Answer: 6 & 2
upvoted 5 times
LTTAM
3 years, 9 months ago
The Azure default duration for scale in and out is 10 minutes to trigger the rules. Both the scenarios above specifically state only 6min. Because the utilization is 6min (less than 10min), it does not trigger the rules. The VM scale remains unchanged. Hence the answer should be 4 and 4.
upvoted 5 times
CloudLearner
3 years, 4 months ago
I agree with LTTAM, when you move cursor to "Duration in minutes" below displayed. "This is amount of time that Autoscale engine will look back for metrics. For example, 10 minutes means that every time autoscale runs, it will query metrics for the past 10 minutes. This allows your metrics to stabilize and avoids reacting to transient spikes. The Storage queue Approximate Message Count and Service Bus Message Count metrics are special in that these metrics are point in time only and have no history. For these metrics, the duration field will be ignored by the Autoscale engine."
upvoted 1 times
...
...
praveen97
3 years, 9 months ago
Yes, specified answers are correct.
upvoted 1 times
...
...
Omnipitus
3 years, 10 months ago
so you would have to interpret the question in the exam - can you apply default values for scale-in or out if they are absent in the question - bearing in mind the scaling may be triggered simply by reaching the given threshold values - depends how it is worded.
upvoted 1 times
...
Omnipitus
3 years, 10 months ago
Yes we cannot see ant time metrics in this question - so assume default values in their absence - from MS site ; Two metric rules in this profile: one for scale out, and one for scale in. The scale-out rule is triggered when the virtual machine scale set's average percentage CPU metric is greater than 85 percent for the past 10 minutes. The scale-in rule is triggered when the virtual machine scale set's average is less than 60 percent for the past minute.
upvoted 1 times
...
nfett
3 years, 10 months ago
correct answer is 6/2
upvoted 4 times
macco455
3 years, 10 months ago
Only if the question in the test specifies the timing as 5 minutes..if it does not specify the timing thus using default time then answers are 4&4
upvoted 4 times
...
...
LTTAM
3 years, 10 months ago
I just created a Scale Set now to test all these theories/comments people have posted. The default duration for scale in and out is 10 minutes. Not sure how folks here get 5min and 1min as default scale out and in duration. Since the scenarios presented only lasts for 6min, it does not trigger the rules. Because the scenarios do not mention set duration (minutes) it is assumed the default values are used (10min). The correct answer is 4 and 4.
upvoted 11 times
macco455
3 years, 10 months ago
Agreed, most likely in the test they will show the duration settings and they will be at 5 minutes, which makes the answer 6&2. BUT given the information we have here the answer would be 4&4. So, must decipher the question as is not based on assumptions here.
upvoted 4 times
...
sourabh7257
3 years, 10 months ago
excellent explanation
upvoted 2 times
...
...
Randal
3 years, 11 months ago
The answers here are correct. The default "time grain" is 1 minute. The default "time window" for comparison is 5 minutes. So part one of the question: it starts with 4 instances, after 5 minutes it gets another 2 instances, and the question states 6 minutes so it's currently at 6 instances. Part 2 of the question: It starts with 4 instances, after 6 minutes it's scaled itself down 2 instances to the rule minimum of 2 instances.
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 ...