Soru

Zorluk: OrtaConfigure Virtual Machine Scale Sets (VMSS)

An administrator is configuring autoscaling for an Azure Virtual Machine Scale Set named `vmss-api`. The scale set must meet the following requirements:
- Maintain a baseline of 22 instances under normal conditions.
- Scale out by 22 instances if CPU usage exceeds 80%80\% for 1010 minutes.
- Maintain a fixed count of 66 instances every weekday (Monday through Friday) between 09:0009:00 and 17:0017:00 to handle business traffic.

Which two configurations should the administrator implement to meet these requirements? (Select two.)

  1. A default autoscale profile containing a metric-based scale-out rule that increases the instance count when CPU usage exceeds 80%80\%.Cevap
  2. A recurring autoscale profile active Monday through Friday from 09:0009:00 to 17:0017:00, with the minimum, maximum, and default capacity all set to 66.Cevap
  3. C
    A single autoscale profile that contains both the CPU metric-based scale-out rule and a recurring schedule constraint.
  4. D
    An automatic upgrade policy for the scale set to allow the schedule-based scaling to execute.

Cevap

To meet the requirements, the administrator must implement a default autoscale profile containing a metric-based scale-out rule for the CPU threshold, and a recurring autoscale profile active Monday through Friday from 09:0009:00 to 17:0017:00 with the minimum, maximum, and default capacity all set to 66.
The correct configurations involve creating a default autoscale profile to manage the baseline capacity of 22 instances and run the metric-based scale-out rule based on CPU usage, alongside a recurring autoscale profile that overrides the default settings during business hours (Monday through Friday, 09:0009:00 to 17:0017:00) by setting the minimum, maximum, and default capacity to 66 to maintain a fixed count.

Adım Adım Çözüm

1
Define the default autoscale profile.
The default profile is configured with a minimum capacity of 22, and includes a scale-out rule that triggers when CPU usage exceeds 80%80\% for 1010 minutes.
This ensures that under normal conditions (outside of business hours), the scale set maintains a baseline of 22 instances and can scale out if load increases.
2
Define the recurring autoscale profile.
A recurring profile is created for Monday through Friday from 09:0009:00 to 17:0017:00, with minimum, maximum, and default capacity values set to 66.
Setting the minimum, maximum, and default capacities to the same value forces the scale set to scale to exactly 66 instances during the recurring schedule, ignoring the metric-based rules of the default profile.
3
Configure profile precedence in Azure Autoscale.
The recurring profile takes precedence over the default profile during its scheduled hours.
Azure Autoscale automatically prioritizes active scheduled or recurring profiles over the default profile, ensuring the scale set behavior transitions seamlessly between the two profiles.

Anahtar Kavram

Azure Autoscale Profiles
Bu soruyu puanla