An administrator is configuring autoscale settings for an Azure Virtual Machine Scale Set named `vmss-orders` that uses Uniform orchestration. The scale set currently has a capacity of instances. The upgrade policy is set to Manual.
The administrator configures a scale-out rule to add instances when the average CPU utilization exceeds .
To prevent instance thrashing, where the scale set repeatedly scales out and then immediately scales in under a constant workload, what is the maximum CPU utilization threshold that should be configured for the scale-in rule (which removes instances)?
- Cevap
- B
- C
- D
Cevap
The correct scale-in threshold is .
Under a constant workload, if instances are running at CPU utilization, the total workload corresponds to CPU capacity. When scaling out to instances, this workload is distributed across all instances, resulting in an average CPU utilization of per instance. To prevent the scale set from immediately scaling back in, the scale-in threshold must be configured below . Therefore, a threshold of is the only option that prevents immediate scale-in and avoids thrashing.
Adım Adım Çözüm
Anahtar Kavram
Avoiding VMSS instance thrashing by mathematically separating scale-out and scale-in thresholds based on resource utilization redistribution.