You are designing autoscale rules for various Azure workloads. Match each workload requirement on the left to the correct Azure Monitor Autoscale configuration pattern on the right to optimize resource scaling and prevent flapping.
- Prevent transient CPU spikes lasting less than minutes from triggering a scale-out action on an App Service plan.Configure the metric trigger Duration to minutes and use Average Time Aggregation.
- Trigger a scale-out action when any individual virtual machine within a Virtual Machine Scale Set (VMSS) exceeds a memory utilization threshold.Set the Metric Statistic (Instance Aggregation) to Maximum for the Memory metric.
- Avoid rapid scale-out and scale-in oscillations (flapping) when configuring a scale-in rule for a queue-based processing workload.Set a sufficient margin between scale-out and scale-in thresholds, and configure an adequate Cool-down period.
- Scale out a service based on the cumulative volume of transaction logs generated across all instances during a -minute evaluation window.Set the Time Aggregation to Total for the custom volume metric over the specified time window.
Answer
To prevent transient spikes, configure the duration to minutes with Average Time Aggregation. To scale based on any individual instance, set the Metric Statistic (Instance Aggregation) to Maximum. To prevent flapping, use a sufficient margin between thresholds and a Cool-down period. To scale based on cumulative volume, set the Time Aggregation to Total.
The correct matches align with standard Azure Monitor autoscale rules: Average Time Aggregation over a -minute window smooths out transient spikes under minutes; setting Metric Statistic to Maximum ensures an individual instance triggering the threshold scales the group; appropriate threshold margins and Cool-down periods prevent flapping; and Total Time Aggregation is used to measure the aggregate volume of metrics over a time window.
Step-by-Step Solution
Key Concept
Azure Monitor Autoscale rule configuration parameters, including Time Aggregation, Metric Statistic (Instance Aggregation), Durations, and Cool-down periods to prevent flapping and optimize scaling behavior.
Estimated Time:2m 30s