Question

Difficulty: HardConfigure Virtual Machine Scale Sets (VMSS)

An administrator is configuring an Azure Virtual Machine Scale Set (VMSS) named `vmss-processing` to handle a variable batch-processing workload. The VMSS must meet the following requirements:
- Use Flexible orchestration mode to allow a mix of Spot and Standard virtual machines.
- Support Azure Autoscale to dynamically increase and decrease the number of instances based on CPU utilization.

Which two settings must be configured on `vmss-processing` to support automatic scaling? Select two.

  1. Set the platform fault domain count to 1.Answer
  2. Include a virtual machine profile in the scale set definition.Answer
  3. C
    Set the platform fault domain count to 3.
  4. D
    Set the upgrade policy to Rolling.

Answer

To support automatic scaling for a Virtual Machine Scale Set in Flexible orchestration mode, you must set the platform fault domain count to 1 and define a virtual machine profile in the scale set configuration.
To enable Azure Autoscale for a Virtual Machine Scale Set configured in Flexible orchestration mode, you must set the platform fault domain count to 1 and define a virtual machine profile. Setting the fault domain count to 1 satisfies the platform restriction for autoscale in Flexible mode, while the virtual machine profile provides the template required by the autoscale engine to deploy new instances during scale-out events.

Step-by-Step Solution

1
Analyze the orchestration mode and scale set requirements.
The scenario specifies a Virtual Machine Scale Set using Flexible orchestration mode that must support Azure Autoscale to dynamically scale based on CPU utilization.
Different orchestration modes have distinct requirements and limitations for enabling automatic scaling.
2
Evaluate the platform fault domain constraints for autoscale in Flexible mode.
Identify that Azure Autoscale in Flexible orchestration mode is only supported when the platform fault domain count is set to 1.
A fault domain count greater than 1 disables the autoscale capability in Flexible mode.
3
Determine how scale-out instances are provisioned.
Identify that a virtual machine profile must be included in the scale set definition.
Without a virtual machine profile, the scale set cannot define the configuration of new virtual machines to spin up during autoscale events.

Key Concept

Enabling Azure Autoscale on a Virtual Machine Scale Set in Flexible orchestration mode requires setting the platform fault domain count to 1 and configuring a virtual machine profile to act as a template for scaled-out instances.
Rate this question