You are deploying a C# Azure Functions application that is integrated with Application Insights. You need to enable both Application Insights Profiler to identify execution hot paths, and Snapshot Debugger to capture debug snapshots when unhandled exceptions occur. Developers must be able to view the performance traces and download the debug snapshots from the Azure portal.
Which of the following actions should you perform? (Select TWO.)
- Configure the Azure Functions application to run on an Elastic Premium plan or a Dedicated App Service plan (Basic or higher).Cevap
- Assign the Application Insights Snapshot Debugger role to the developers' Microsoft Entra ID accounts.Cevap
- CKeep the Azure Functions application on the Consumption hosting plan and enable the Application Insights Profiler from the Azure Portal.
- DAssign the Monitoring Contributor role to the developers' Microsoft Entra ID accounts.
Cevap
To configure Application Insights Profiler and Snapshot Debugger for Azure Functions, you must host the application on an Elastic Premium plan or a Dedicated App Service plan (Basic or higher). Additionally, developers require the Application Insights Snapshot Debugger role to download or view the generated snapshots.
The correct configurations involve running the Azure Functions application on a Premium or Dedicated App Service plan because the Consumption hosting plan does not support Profiler and Snapshot Debugger. Additionally, developers must be assigned the Application Insights Snapshot Debugger role to download and view the debug snapshots.
Adım Adım Çözüm
Anahtar Kavram
Azure Functions hosting plan requirements for advanced diagnostics and RBAC roles for Snapshot Debugger.