az-104 Practice Question 1732
Exam: az-104
Domain: Deploy and manage Azure compute resources
Topic: Create and configure containers
Difficulty: medium
Contoso Ltd is facing issues with their Azure App Service web application due to insufficient resources during peak hours. They want to ensure that the application can handle increased traffic by scaling out. What is the best practice for configuring the scaling rules to manage this scenario effectively?
Answer Options
A
Configure a scaling rule based on memory usage
B
Configure a scaling rule based on CPU usage
C
Configure a scaling rule based on network traffic
D
Configure a scaling rule based on disk I/O
Correct Answer
B: Configure a scaling rule based on CPU usage
Explanation
The correct answer is B, `Configure a scaling rule based on CPU usage`. This ensures that the application scales out when the CPU usage exceeds a certain threshold, providing better performance during peak hours. Option A, `Configure a scaling rule based on memory usage`, might not be as effective since memory usage does not always correlate with the number of concurrent users. Option C, `Configure a scaling rule based on network traffic`, could lead to unnecessary scaling if the network traffic is not directly related to the application's performance. Option D, `Configure a scaling rule based on disk I/O`, is less relevant for web applications and more for backend services.