Scale apps in Azure App Service Flashcards
What is autoscaling in Azure App Service?
a) A system that increases CPU power and memory based on demand
b) A method of adjusting the number of web servers based on workload
c) A process to upgrade the app to a higher tier
d) A mechanism to reduce app storage when demand decreases
b) A method of adjusting the number of web servers based on workload
How does autoscaling respond to an increasing workload?
a) By increasing the CPU power of the web servers
b) By adding or removing web servers
c) By upgrading the app service plan
d) By reducing storage usage
b) By adding or removing web servers
What is a key factor that can trigger autoscaling?
a) The amount of data stored
b) A surge in incoming requests
c) The number of app service plans
d) The size of the web app
b) A surge in incoming requests
Why is it important to define autoscaling rules carefully?
a) To prevent unauthorized users from accessing your app
b) To avoid unnecessary scaling during a Denial of Service attack
c) To reduce app storage during low traffic periods
d) To maximize CPU usage during high demand
b) To avoid unnecessary scaling during a Denial of Service attack
When should autoscaling be considered?
a) During long-term growth of a web app
b) When expecting temporary changes in activity
c) For handling complex, resource-intensive processing
d) When scaling up is more cost-effective
b) When expecting temporary changes in activity
Why might autoscaling not be suitable for resource-intensive web apps?
a) Autoscaling reduces memory capacity
b) It adds web servers without increasing instance power
c) Autoscaling increases processing power but not storage
d) It does not monitor web app requests
b) It adds web servers without increasing instance power
What is a drawback of using autoscaling for long-term growth?
a) It requires constant monitoring by the developer
b) It is slower than manually scaling the system
c) It incurs overhead associated with resource monitoring
d) It increases CPU capacity without scaling storage
c) It incurs overhead associated with resource monitoring
What is one benefit of automatic scaling in Azure App Service?
a) It charges a flat fee for all instances
b) It allows web apps to scale differently within the same plan
c) It eliminates the need for database connections
d) It automatically reduces storage costs
b) It allows web apps to scale differently within the same plan
What is autoscaling a feature of?
a) The App Service
b) The App Service Plan
c) The web app
d) The Azure subscription
b) The App Service Plan
How does autoscaling prevent runaway scaling?
a) By limiting the number of concurrent users
b) By setting a maximum instance limit in the App Service Plan
c) By monitoring only CPU usage
d) By scaling up instead of scaling out
b) By setting a maximum instance limit in the App Service Plan
What is one method for triggering autoscaling?
a) Based on a fixed number of users
b) According to a schedule
c) By app version updates
d) Based on available storage space
b) According to a schedule
How can you combine metric and schedule-based autoscaling?
a) By using manual scaling for specific times of day
b) By setting multiple app instances at once
c) By scaling incrementally when a metric exceeds a threshold during certain hours
d) By setting different App Service Plans for each metric
c) By scaling incrementally when a metric exceeds a threshold during certain hours
What does the CPU Percentage metric indicate?
a) Disk usage is high
b) CPU utilization across all instances
c) The number of HTTP requests
d) The amount of data being received
b) CPU utilization across all instances
What could a high value in Memory Percentage indicate?
a) Disk contention
b) A high number of I/O requests
c) Low availability of free memory
d) Increased CPU usage
c) Low availability of free memory
What does the Http Queue Length metric represent?
a) The number of client requests waiting for processing
b) The number of requests failing with HTTP 500 errors
c) The amount of data being sent to clients
d) The total number of active web app instances
a) The number of client requests waiting for processing