Soru

Zorluk: KolayConfigure Virtual Machine Scale Sets (VMSS)

An administrator is configuring an Azure Virtual Machine Scale Set (VMSS) named `vmss-app`. The administrator needs to configure a scale-in policy to control which virtual machines are terminated first when the scale set scales down.

Which of the following are valid scale-in policy values that can be configured for a VMSS? (Select TWO.)

  1. NewestVMCevap
  2. OldestVMCevap
  3. C
    RandomVM
  4. D
    LowestCPU

Cevap

The correct scale-in policy values that can be configured for a VMSS are NewestVM and OldestVM.
Azure Virtual Machine Scale Sets support three custom scale-in policies: Default, NewestVM, and OldestVM. The NewestVM policy prioritizes deleting the newest VM instances in the scale set when a scale-in event is triggered. The OldestVM policy deletes the oldest virtual machines in the scale set first.

Adım Adım Çözüm

1
Identify the purpose of a scale-in policy in a VMSS.
A scale-in policy determines the order in which VM instances are deleted when the scale set scales down.
This helps match the administrative requirements, such as preserving older configuration instances or removing temporary ones.
2
List the valid scale-in policies supported by Azure VMSS.
Azure VMSS supports Default, NewestVM, and OldestVM policies.
Knowing the official supported parameters allows you to eliminate invalid values.
3
Select the two correct options from the list.
NewestVM and OldestVM are correct; RandomVM and LowestCPU are invalid options.
Selecting the correct options completes the multi-select requirement.

Anahtar Kavram

Azure Virtual Machine Scale Set (VMSS) scale-in policies allow administrators to specify the order in which VM instances are scaled in. The supported policies are Default, NewestVM, and OldestVM.
Bu soruyu puanla