You are configuring diagnostics and telemetry for a .NET web application deployed to an Azure App Service that is currently hosted on a Basic (B1) App Service plan. You need to enable Application Insights Profiler to identify performance bottlenecks and hot paths. You also need to enable Snapshot Debugger to capture call stacks and local variables when unhandled exceptions occur. Developers must be able to view and download these debug snapshots in the Azure Portal. Which two actions must you perform? (Select two.)
- Scale the App Service Plan to the Standard (S1) tier or higher.Cevap
- Assign the Application Insights Snapshot Debugger role to the developers' Entra ID accounts.Cevap
- CEnable the Profiler on the App Service Plan while keeping it on the Basic (B1) tier.
- DAssign the Monitoring Contributor role to the developers' Entra ID accounts.
- EConfigure the application to send telemetry to Application Insights using only the Instrumentation Key instead of the Connection String.
Cevap
Scale the App Service Plan to the Standard (S1) tier or higher, and assign the Application Insights Snapshot Debugger role to the developers' Entra ID accounts.
To successfully implement Profiler and Snapshot Debugger, you must meet both the resource tier and identity access requirements. First, scaling the App Service Plan to Standard (S1) or higher is necessary because the Profiler does not run on Free, Shared, or Basic tiers. Second, assigning the Application Insights Snapshot Debugger role is mandatory because debug snapshots contain potentially sensitive execution state memory, meaning default roles like Reader or Monitoring Contributor cannot access them.
Adım Adım Çözüm
Anahtar Kavram
Configuring requirements and access permissions for Application Insights Profiler and Snapshot Debugger.