Question

Difficulty: EasyConfigure Virtual Machine Scale Sets (VMSS)

Your company uses an Azure Virtual Machine Scale Set (VMSS) named vmss-web to host a web application. You need to configure a custom autoscale policy to scale out the VMSS when CPU usage exceeds 7575 percent. In what sequence must you perform these actions in the Azure Portal?

  1. 1Navigate to the vmss-web Virtual Machine Scale Set resource, and under Settings, select Scaling.
  2. 2Choose Custom autoscale to enable configuration of scaling rules.
  3. 3Click Add a rule, and specify the CPU metric threshold and scale-out action.
  4. 4Click Save at the top of the page to apply the settings.

Answer

First, navigate to the Scaling settings of the Virtual Machine Scale Set. Second, enable Custom autoscale. Third, add the rule specifying the CPU threshold and scale-out behavior. Finally, save the settings.
To set up a custom autoscale policy, you must first browse to the scaling options of the target VMSS. Since VMSS defaults to manual scale, you must switch the configuration to Custom autoscale. Once enabled, you configure the specific CPU metric rule and then save the changes to commit them to the resource.

Step-by-Step Solution

1
Open the Virtual Machine Scale Set scaling section
Displays scaling configuration options
Allows you to modify the scaling policy from default manual configuration
2
Enable Custom autoscale
Unlocks the ability to add scale rules
By default, scale sets are set to manual scale and do not support metric-based triggers without enabling custom autoscale
3
Configure the scale-out rule based on CPU metric
Creates the trigger definition
Associates the 7575 percent threshold with the scale-out action
4
Save the configuration
Applies the autoscale setting to the VMSS
The rules will not execute until saved and provisioned by the Azure Resource Manager

Key Concept

Configuring metric-based custom autoscale rules on an Azure Virtual Machine Scale Set
Estimated Time:1m 0s
Rate this question