A backend data ingestion service runs on an Azure Virtual Machine Scale Set (VMSS) with a minimum capacity of instances and a maximum capacity of instances. You need to configure autoscale rules based on the CPU percentage metric. The scale-out rule increases the capacity by instance, and the scale-in rule decreases the capacity by instance. Which of the following autoscale rule pairs will successfully prevent flapping when the VMSS is operating at its minimum capacity? (Select TWO)
- Scale-out when the average CPU percentage is greater than ; scale-in when the average CPU percentage is less than .Answer
- BScale-out when the average CPU percentage is greater than ; scale-in when the average CPU percentage is less than .
- Scale-out when the average CPU percentage is greater than ; scale-in when the average CPU percentage is less than .Answer
- DScale-out when the average CPU percentage is greater than ; scale-in when the average CPU percentage is less than , configured on a Free tier Azure App Service plan.
Answer
The correct autoscale rules are: (1) scale-out when average CPU percentage is greater than and scale-in when it is less than , and (2) scale-out when average CPU percentage is greater than and scale-in when it is less than .
The correct rule pairs prevent flapping because their scale-in thresholds are set lower than the post-scale-out average CPU load. Specifically, when starting from the minimum of instances, scaling out to instances reduces the average CPU to of its pre-scale-out value. For a scale-out threshold of , the new average is , which is higher than the scale-in threshold. For a scale-out threshold of , the new average is , which is higher than the scale-in threshold.
Step-by-Step Solution
Key Concept
Azure Monitor Autoscale Flapping Prevention and Plan Requirements