You are configuring metric-based autoscale rules for an Azure App Service plan that currently runs on instance. To prevent metric flapping when scaling between and instances, you need to set appropriate scale-out and scale-in thresholds. Which two of the following threshold configurations, based on the Average CPU percentage metric, will prevent flapping?
- Scale-out when CPU percentage is greater than ; scale-in when CPU percentage is less than Answer
- BScale-out when CPU percentage is greater than ; scale-in when CPU percentage is less than
- Scale-out when CPU percentage is greater than ; scale-in when CPU percentage is less than Answer
- DScale-out when CPU percentage is greater than ; scale-in when CPU percentage is less than
Answer
The correct threshold configurations are a scale-out threshold of with a scale-in threshold of , and a scale-out threshold of with a scale-in threshold of .
The configurations specifying a scale-out threshold of with a scale-in threshold of , and a scale-out threshold of with a scale-in threshold of , prevent flapping. This is because scaling from to instances divides the workload in half. For a scale-out threshold of , the CPU load drops to approximately , which is safely above the scale-in threshold of . For a scale-out threshold of , the CPU load drops to approximately , which is safely above the scale-in threshold of .
Step-by-Step Solution
Key Concept
Configuring scale-out and scale-in thresholds with a sufficient margin to prevent metric flapping when resource count changes.