Monitor (1 / 12): You are managing an Azure App Service Web App named mywebapp
, which hosts a Node.js application. This Web App is running within an App Service Plan called myplan
in the standard tier, located in a resource group named mygroup
. You are tasked with setting up monitoring for the CPU usage of mywebapp
, and you must configure an alert if the CPU usage percentage exceeds 80%. Which resource and metric should you target for this monitoring?"
Answer:
The CPU usage percentage is monitored at the App Service Plan level, as it defines the resources available to the Web Apps within that plan. Monitoring the App Service Plan provides an indication of the overall CPU usage across all instances of the plan. In the standard tier, multiple Web Apps could be running within the same plan, but monitoring the App Service Plan would still allow you to observe the CPU usage for the specific Web App in question.