An administrator is configuring autoscaling for an Azure Virtual Machine Scale Set (VMSS) named `vmss-commerce`. The web application hosted on the scale set experiences rapid traffic fluctuations. To prevent rapid, continuous scaling actions (thrashing), which of the following settings should you configure? (Select TWO)
- Set a cool-down period of 10 minutes or more to allow the system to stabilize before subsequent scale actions.Cevap
- Maintain a wide margin between the scale-out (80%) and scale-in (30%) CPU thresholds.Cevap
- CConfigure the scale-out rule to use the Maximum metric aggregation and a 1-minute duration.
- DSet the scale-in rule to run immediately without a cool-down period to minimize costs.
Cevap
To prevent thrashing in a Virtual Machine Scale Set, you should configure an adequate cool-down period and maintain a wide margin between the scale-out and scale-in thresholds.
Configuring a cool-down period ensures the system waits for the metrics to stabilize after a scale event before taking another action. Additionally, keeping a wide margin between scale-out (80%) and scale-in (30%) thresholds prevents the addition of a new instance from immediately lowering the average CPU level enough to trigger a scale-in operation.
Adım Adım Çözüm
Anahtar Kavram
Instance thrashing in Virtual Machine Scale Sets occurs when scale-out and scale-in actions trigger continuously in a loop. To mitigate this, administrators must configure appropriate cool-down durations and maintain a sufficient gap between scale-out and scale-in metric thresholds.
Tahmini Süre:1m 30s