Soru

Zorluk: KolayConfigure Virtual Machine Scale Sets (VMSS)

You need to configure automatic scale-out rules for an Azure Virtual Machine Scale Set (VMSS) named vmss1vmss1. The scale-out rule must increase the instance count when the average CPU utilization exceeds 75%75\%. In which sequence should you perform the configuration steps in the Azure Portal?

  1. 1Navigate to the vmss1vmss1 resource blade and select Scaling under the Settings menu.
  2. 2Select the Custom autoscale option to enable metric-based scaling.
  3. 3Click Add a rule under the default scale condition, select Percentage CPU as the metric, and set the threshold operator to Greater than with a value of 7575.
  4. 4Click Save at the top of the screen to commit the autoscale settings.

Cevap

First, navigate to the scale set resource and select Scaling. Second, choose Custom autoscale. Third, add a scale rule for Percentage CPU greater than 75. Finally, click Save to apply the configuration.
The correct order begins with navigating to the scaling menu of the VMSS, followed by switching from manual scale to custom autoscale. Once custom autoscale is active, a scale-out rule targeting CPU percentage greater than 75% must be added, and finally, the configuration must be saved to apply the settings.

Adım Adım Çözüm

1
Navigate to the VMSS and open the Scaling configuration page.
You are presented with the scaling configurations for the scale set.
This is the entry point for configuring scaling policies on a Virtual Machine Scale Set.
2
Select Custom autoscale.
The UI updates to allow configuring dynamic rules based on metrics.
This enables metric-based scaling as opposed to manual scale configuration.
3
Add a scale rule for CPU utilization greater than 75%.
A rule is added to the default profile that triggers scale-out under the defined condition.
This satisfies the requirement to trigger scale-out based on high CPU usage.
4
Save the configuration.
The autoscale settings are successfully saved and applied.
The autoscale settings only take effect after being saved.

Anahtar Kavram

Configuring metric-based autoscale settings for Virtual Machine Scale Sets in the Azure Portal.
Bu soruyu puanla