exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 4 question 54 discussion

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

HOTSPOT -
You have the App Service plan shown in the following exhibit.

The scale-in settings for the App Service plan are configured as shown in the following exhibit.

The scale out rule is configured with the same duration and cool down tile as the scale in rule.
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: 5 -
The maximum 5 will kept as the CPU Usage >= 30.

Box 2: 3 -
As soon as the average CPU usage drops below 30%, the count will decrease by 1. After the 5 minute cool-down it will decrease by another 1, reaching 3.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-autoscale-performance-schedule

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: 2 70% for 1h, and then 90% for 5 minutes. So, from the default of 1 it will scale out out 1 more. So, 2 in total. Box 2: 4 90% for 1h and then 25% for 9minutes. So, from the default of 1 it will it scale in to the max 5 (60/5 = 12, which means 6 times scale out, because we have 5 minutes period of cool down). Then when it drops to 25% for 9 minutes and it will scale in once after 5 mins (since the average of the last 5 minutes is under 30% ), so it will decrease by 1, so 4 in total. Then it will have a cooldown of 5 minutes before scaling in again, but since only 4 minutes left from 9 minutes (9-5 = 4), it won't scale in again. So, 4 in total. Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-autoscale-performance-schedule https://docs.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-understanding-settings
upvoted 505 times
EleChie
2 years, 10 months ago
BOX2: since the scale is max 5 VM "as shown in the first picture" so we have total 5 vms after 90% cpu for 1 hour then 25% for 9 minutes which will decrease 1 vm only since: 1st decrease it will need 5 min only, but 2ed decrease it will need 5 + 5 cool down time = 10 min
upvoted 4 times
...
xayay74894
3 years, 9 months ago
nope, for box 2 it will stay 5 as there's the coold down as well for scale in, so after 9 mins @ 25% you have to subtract 5 mins of cool down and you remain with only 4 mins which is not reaching the 5 mins period.
upvoted 2 times
tera_baap
3 years, 9 months ago
cooldown is counted after last scale out event. So those 4 mins are gone long back.
upvoted 7 times
...
tmub47
3 years, 2 months ago
6 instances will always be the maximum, regardless of how long (it starts at 1 and scales out for maximum of 5 times) = 6 instances. Then, it will scale in by -1 every 5 minutes. 9 minutes will mean we would have lost 2, hence 4.
upvoted 1 times
curtmcgirt
2 years ago
except the screenshot says "instance Limts: Maximum: 5"
upvoted 2 times
...
...
...
Holydud
2 years, 6 months ago
Was on exam 19 Aug 2022. Scored 870. Around 85% questions were also on ET. Answered: Box1: 2 Box2: 4
upvoted 19 times
...
go4adil
1 year, 1 month ago
Box1: 2 and Box 2: 4 should be the answer
upvoted 1 times
...
...
Moyuihftg
Highly Voted 3 years, 10 months ago
I think: 2 4
upvoted 125 times
...
joolitan
Most Recent 5 months ago
If after deployment CPU usage is 70 percent for one hour and then reaches 90 percent for five minutes, at the time the total number of instances will be ==2 ( default is 1, 90% 5mins +1 = 2) If after deployment the CPU maintains constant usage of 90 percent for one hour, and then the average CPU usage is below 25 percent for nine minutes, at the point the number of instances will be == 4 (max is 5, interval is 5mins so -1 = 4 )
upvoted 1 times
...
[Removed]
5 months, 2 weeks ago
WRONG 2 4
upvoted 2 times
...
Ni22
8 months, 3 weeks ago
6/13/24 on exam
upvoted 3 times
...
tashakori
11 months, 2 weeks ago
- 1 - 5
upvoted 1 times
...
vsvaid
1 year, 1 month ago
2 and 4
upvoted 1 times
...
devops_devops
1 year, 1 month ago
This question was in exam 15/01/24
upvoted 3 times
...
SkyZeroZx
1 year, 1 month ago
Box 1: 5 If the scale out rule Tile is configured the same as the scale in tile, the CPU is set to 305 (regardless of the rule name [...(Maximum) CpuPercentage > 85], one could presume the value is set to 30, because the instruction say "The scale out rule is configured with the same duration and cool down tile as the scale in rule" . With this setting scaling out starts right away with 70% CPU utilization and reaches 5. Box 2-4
upvoted 1 times
JackGelder
9 months, 2 weeks ago
Scale out rule configured not for 30% of cpu. According to text under scale in settings exhibit, only cooldown and duration are the same for scale out rule, but not CPU %. So you're wrong about box 1
upvoted 1 times
...
...
Salim_Khan25
1 year, 2 months ago
00:00 = 1 Minimum instance 80% . 80% . 80% . 80% 00:10 = +1 = 2 instances (observe for 10 mins) 80% . 80% . 80% . 80% 00:15 = 2 cool down for 5 mis (First answer) . 80% . 80% . 80% 00:25 = 00:10 (scale event) - 00:25 for the next instance to be added
upvoted 1 times
...
koles81
1 year, 4 months ago
We should take to account system file compatibility and we only know that VM1 and VM2 run same system.
upvoted 1 times
...
koles81
1 year, 4 months ago
We should take to account system file compatibility and we only know that VM1 and VM2 run same system.
upvoted 1 times
...
Josete1106
1 year, 7 months ago
Box 1: 2 Box 2: 4
upvoted 1 times
...
NJTH
1 year, 11 months ago
Simular question was on todays exam. (7th April 2023)
upvoted 6 times
Sahilbhai
1 year, 8 months ago
please provide the answers also it will help others to .
upvoted 1 times
...
...
Rams_84zO6n
1 year, 11 months ago
mlantonis is right, i'm changing my answer to 2 and 4. I missed to notice "The scale out rule is configured with the same duration and cool down tile as the scale in rule." Another observation i made is Max statistic works differently than Avg for the duration. Box1: 2 - When CPU reaches 90%, Max doesn't need to wait for duration 5 min. to evaluate, so instance count goes to 2 right away. But cooldown=5 min, so instance count stays at 2 after CPU holds at 90% for 5 minutes. Box 2: 4 - When CPU goes below 25%, after 5 minutes count=4. Cool down 5 min, so instance count after CPU stays below 25% for 9 minutes is 4.
upvoted 2 times
...
Rams_84zO6n
1 year, 11 months ago
Box 1: 2, Box 2: 3 Right after the 60th min, average CPU usage is below 25%. So at 60.01 min, CPU count is 4. Allowing 5 min cool down period, next check is at 65.1 min. CPU count will decrease by 1 again. So when you check CPU count at 69th minute, it would be 3
upvoted 2 times
Siraf
1 year, 8 months ago
You forgot the cooldown time (5 min) right after 60th min.
upvoted 1 times
...
...
zellck
2 years ago
1. 2 (min 1 + 1 scale out) 2. 4 (max 5 - 1 scale in)
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