Microsoft Certified: Azure Administrator AssociateDeploy and manage Azure compute resourcesMedium

A company has an Azure Virtual Machine Scale Set (VMSS) running a web application. The application experiences fluctuating load throughout the day. To ensure optimal performance and cost efficiency, the VMSS must automatically scale out when the average CPU utilization across instances exceeds 70% for 10 minutes and scale in when it drops below 30% for 10 minutes. Which type of scaling should be configured?

  1. AScheduled scaling
  2. BInstance count scaling
  3. CManual scaling
  4. DMetric-based automatic scaling
Show answer & explanation

Correct answer: D. Metric-based automatic scaling

Metric-based automatic scaling allows the VMSS to automatically adjust the number of instances based on performance metrics like CPU utilization over a specified time period, perfectly matching the described requirement.

Why the other options are wrong

  • A. Scheduled scaling is based on time of day, not on real-time performance metrics like CPU utilization.
  • B. Instance count scaling refers to manually setting a fixed number of instances, which does not allow for dynamic adjustment based on load.
  • C. Manual scaling requires human intervention and does not meet the 'automatically scale' requirement.

Azure VMSS Autoscale

A feature that automatically adjusts the number of VM instances in a Virtual Machine Scale Set based on predefined rules, typically tied to performance metrics or schedules.

  • Enhances application performance under varying load
  • Optimizes costs by scaling in during low demand
  • Supports metric-based, schedule-based, and manual scaling
  • Configured with scale-out and scale-in rules

Memory trick: Autoscale Matches Metrics to Machine Needs.

More Deploy and manage Azure compute resources questions