Soru

Zorluk: Çok zorImplement Application Insights Profiler, Snapshot Debugger, and Smart Detection

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.)

  1. Scale the App Service Plan to the Standard (S1) tier or higher.Cevap
  2. Assign the Application Insights Snapshot Debugger role to the developers' Entra ID accounts.Cevap
  3. C
    Enable the Profiler on the App Service Plan while keeping it on the Basic (B1) tier.
  4. D
    Assign the Monitoring Contributor role to the developers' Entra ID accounts.
  5. E
    Configure 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

1
Evaluate the hosting plan compatibility for the Profiler feature.
Identify that the current Basic (B1) tier does not support Application Insights Profiler, requiring an upgrade to Standard (S1) or higher.
Profiler requires Standard or higher tiers due to compute resource availability and licensing constraints.
2
Evaluate the RBAC permissions required for developers to view call stacks and process memory snapshots.
Determine that standard Reader or Monitoring roles are insufficient, and specify that the Application Insights Snapshot Debugger role must be assigned.
Snapshots contain sensitive in-memory data, which requires a specialized role that explicitly grants access to the PII and debug variables.

Anahtar Kavram

Configuring requirements and access permissions for Application Insights Profiler and Snapshot Debugger.
Bu soruyu puanla