Soru

Zorluk: OrtaImplement Application Insights Profiler, Snapshot Debugger, and Smart Detection

An organization is deploying a set of APIs as .NET-based Azure Functions. They want to implement both Application Insights Profiler to identify performance bottlenecks and Snapshot Debugger to analyze unhandled exceptions in production. Which of the following requirements must be met to ensure that both services are supported and that developers can inspect the diagnostic data? (Select TWO).

  1. Host the Function App on an Azure Functions Premium or Dedicated (App Service) plan.Cevap
  2. Assign the Application Insights Snapshot Debugger role to developers who need to view the captured snapshots in the Azure portal.Cevap
  3. C
    Host the Function App on a Consumption plan, which automatically runs the Profiler background agent during execution.
  4. D
    Initialize the Application Insights SDK in the application code without configuring the APPLICATIONINSIGHTS_CONNECTION_STRING application setting.

Cevap

To successfully configure and view data for both Application Insights Profiler and Snapshot Debugger, you must host the Function App on a Premium or Dedicated plan and assign the Application Insights Snapshot Debugger role to developers who need to view the captured snapshots.
The correct requirements are hosting the Function App on a Premium or Dedicated (App Service) plan and assigning the Application Insights Snapshot Debugger role to developers. Profiler requires dedicated compute resources to capture trace profiles periodically, making it unsupported on the serverless Consumption plan. Additionally, because debug snapshots capture in-memory variable values that may contain sensitive data, users must be explicitly granted the Application Insights Snapshot Debugger role to view them.

Adım Adım Çözüm

1
Evaluate the hosting plan requirements for Application Insights Profiler.
Identify that the Profiler background agent requires the compute resources of a Premium or Dedicated (App Service) plan and is unsupported on the standard Consumption plan.
This determines the minimum hosting plan needed to support the Profiler.
2
Evaluate the access control requirements for viewing Snapshot Debugger data.
Identify that standard Reader or Contributor roles are insufficient to access sensitive call stack and variable state data; the specialized Application Insights Snapshot Debugger role must be assigned.
This ensures developers have the necessary permissions to inspect the debug snapshots in the Azure portal.

Anahtar Kavram

Application Insights Profiler requires Premium/Dedicated hosting plans, while Snapshot Debugger requires the specialized Snapshot Debugger RBAC role to view collected snapshots.
Bu soruyu puanla