A company hosts a web application on an Azure Virtual Machine Scale Set (VMSS) named `vmss-web`. The scale set is configured with Uniform orchestration mode, has a current instance count of , and uses a Manual upgrade policy. You configure an autoscale setting with the following rules:
* A scale-out rule that increases the instance count by when the average CPU percentage is greater than for minutes.
* A scale-in rule that decreases the instance count by when the average CPU percentage is less than for minutes.
During a peak load event, the scale set scales out to instances. However, immediately after the scale-out completes, the average CPU percentage drops to , which triggers a scale-in back to instances. This loop of scaling out and scaling in continues repeatedly. You need to prevent this thrashing behavior.
What configuration change should you implement?
- AChange the VMSS upgrade policy from Manual to Automatic.
- BChange the orchestration mode of the VMSS from Uniform to Flexible.
- Decrease the scale-in CPU threshold to .Cevap
- DIncrease the scale-out CPU threshold to .