Soru

Zorluk: OrtaConfigure Azure Monitor Autoscale Rules and Metrics

You are configuring Azure Monitor autoscale rules for different workloads. Match each scaling requirement on the left to its correct Azure Monitor metric and time aggregation configuration on the right.

  • A memory-sensitive background worker running on an Azure App Service plan must scale out when the average memory usage across the instances exceeds 80%80\%.Metric: Memory Percentage; Time Aggregation: Average
  • A CPU-intensive batch rendering service on an Azure Virtual Machine Scale Set (VMSS) must scale out if any single VM instance reaches 90%90\% CPU utilization.Metric: CPU Percentage; Time Aggregation: Maximum
  • An API gateway on an Azure App Service plan must scale out when the total volume of network payload data received by the plan exceeds 500 MB500\text{ MB}.Metric: Data In; Time Aggregation: Total

Cevap

Match the memory-sensitive worker to Memory Percentage and Average; match the CPU-intensive batch rendering to CPU Percentage and Maximum; and match the API gateway network volume to Data In and Total.
The correct pairings align the metric and time aggregation with the workload constraints: Memory Percentage (Average) for overall memory usage, CPU Percentage (Maximum) to scale when any single instance peaks, and Data In (Total) to measure the cumulative incoming network payload.

Adım Adım Çözüm

1
Identify the target resource metric for each scenario.
Memory-sensitive worker uses Memory Percentage; CPU-intensive worker uses CPU Percentage; network payload volume uses Data In.
Correct metric selection ensures the autoscale rule reacts to the correct resource bottleneck.
2
Determine the appropriate time aggregation based on the trigger condition.
Average is used for overall memory trend; Maximum is used to catch any single VM instance hitting the CPU limit; Total is used to sum the network data volume over the duration.
Time aggregation defines how the metric values collected over time and across instances are combined to evaluate the threshold.

Anahtar Kavram

Azure Monitor autoscale rules require selecting the correct resource metric and time aggregation (statistic) to properly align with workload requirements and prevent issues like flapping or missed scaling events.
Tahmini Süre:2m 0s
Bu soruyu puanla