Question

Difficulty: HardImplement Application Insights Profiler, Snapshot Debugger, and Smart Detection

An organization hosts a .NET 8.0 web application on Azure App Service using the Shared (D1) pricing tier. The development team has configured Application Insights but finds that both the Profiler and Snapshot Debugger tools are unavailable. To resolve this, you need to configure the hosting environment to the minimum supported pricing tier that enables these features, and ensure the team can view local variables and call stacks from captured exceptions. Which combination of App Service plan configuration and Azure role assignment must you implement?

  1. Upgrade the App Service plan to the Basic (B1) tier, and assign the Application Insights Snapshot Debugger role to the developers.Answer
  2. B
    Upgrade the App Service plan to the Basic (B1) tier, and assign the Monitoring Contributor role to the developers.
  3. C
    Keep the App Service plan on the Shared (D1) tier, and assign the Application Insights Snapshot Debugger role to the developers.
  4. D
    Keep the App Service plan on the Shared (D1) tier, and assign the Monitoring Contributor role to the developers.

Answer

Upgrade the App Service plan to the Basic (B1) tier, and assign the Application Insights Snapshot Debugger role to the developers.
Upgrading the App Service plan to the Basic (B1) tier is the minimum required to support Profiler and Snapshot Debugger. Access to view the captured exception snapshots in the Azure portal is restricted to users with the Application Insights Snapshot Debugger role due to the potential inclusion of sensitive data in the memory snapshot.

Step-by-Step Solution

1
Determine the minimum App Service plan pricing tier supporting Profiler and Snapshot Debugger.
Basic (B1) pricing tier.
Both Profiler and Snapshot Debugger require a minimum of a Basic, Standard, or Premium App Service plan. Free (F1) and Shared (D1) tiers are not supported.
2
Identify the required Azure RBAC role for developers to view call stacks and local variables in the captured exceptions.
Application Insights Snapshot Debugger role.
Debug snapshots can contain sensitive personal data (PII) from memory. As a result, standard monitoring roles like Reader or Monitoring Contributor do not have permission to view snapshots. The dedicated Application Insights Snapshot Debugger role must be assigned to the users.

Key Concept

Pricing tier requirements and RBAC access permissions for Application Insights Profiler and Snapshot Debugger.
Rate this question