An organization hosts a retail web application on an Azure Virtual Machine Scale Set (VMSS) with a minimum instance count of and a maximum instance count of . You configure a scale-out rule that increases the instance count by instances when the average CPU Percentage is greater than . You need to configure a scale-in rule to reduce the instance count when demand drops. Which of the following scale-in configurations will prevent autoscale flapping? (Select two.)
- A scale-in rule that decreases the instance count by instance when the average CPU Percentage is less than .Cevap
- A scale-in rule that decreases the instance count by instances when the average CPU Percentage is less than .Cevap
- CA scale-in rule that decreases the instance count by instance when the average CPU Percentage is less than .
- DA scale-in rule that decreases the instance count by instances when the average CPU Percentage is less than .
Cevap
The correct scale-in configurations are a decrease of 1 instance when the CPU is less than 50%, and a decrease of 2 instances when the CPU is less than 35%.
To prevent flapping, the average CPU percentage after a scale-in must be less than the scale-out threshold of . For a scale-in of 1 instance from 3 to 2, a scale-in threshold of ensures the new CPU is at most . For a scale-in of 2 instances from 4 to 2, a scale-in threshold of ensures the new CPU is at most . Both configurations are stable.
Adım Adım Çözüm
Anahtar Kavram
Autoscale flapping prevention and metric threshold calculations