An administrator is configuring autoscale rules for an Azure Virtual Machine Scale Set (VMSS) named `vmss-app`. The scale-out rule is triggered when the average CPU usage exceeds . To prevent scale thrashing (frequent, alternating scaling up and down of instances), which of the following autoscale parameters must be configured? (Select TWO.)
- A scale-in rule with a CPU threshold set sufficiently below the scale-out threshold (e.g., at or lower)Answer
- A cooldown period to specify the amount of time to wait before subsequent scaling actions occurAnswer
- CA manual upgrade policy to prevent automatic instance updates during scaling events
- DA default metric resource group to collect performance logs from the instances
Answer
To prevent scale thrashing in an Azure Virtual Machine Scale Set, you must configure a scale-in rule with a threshold set sufficiently below the scale-out threshold, and configure a cooldown period.
To prevent VMSS autoscale thrashing, administrators must configure two main parameters: a scale-in rule with a threshold set significantly lower than the scale-out threshold, and a cooldown period. The threshold buffer ensures that removing an instance does not immediately trigger a scale-out event. The cooldown period pauses further scaling evaluations for a specified time to let new instances load and handle traffic.
Step-by-Step Solution
Key Concept
Preventing instance thrashing in Virtual Machine Scale Sets by configuring proper metric thresholds and cooldown durations.