Soru

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

You are deploying a Java-based web application to Azure App Service. The application is integrated with Application Insights for monitoring. During testing, you want to use Application Insights Profiler to identify code-level bottlenecks and analyze performance hot paths. The application is currently running on an App Service plan configured with the Free (F1) pricing tier, and it retrieves its telemetry settings from Azure Key Vault using a managed identity. Which of the following actions must you take to enable the Application Insights Profiler?

  1. A
    Keep the App Service plan on the Free tier and set the APPINSIGHTS_PROFILERFEATURE_VERSION app setting to enabled in the configuration.
  2. B
    Initialize the Application Insights SDK in the application code without specifying a connection string to let the SDK auto-discover the resource.
  3. Scale the App Service plan to the Basic tier or higher, as the Free tier does not support the Application Insights Profiler.Cevap
  4. D
    Grant the App Service's managed identity GET permissions on the Azure Key Vault secret that stores the Application Insights connection string.

Cevap

Scale the App Service plan to the Basic tier or higher, as the Free tier does not support the Application Insights Profiler.
The correct answer is to scale the App Service plan to the Basic tier or higher. Application Insights Profiler requires dedicated capabilities that are only available starting from the Basic tier of Azure App Service. Free and Shared tiers do not support Profiler operations.

Adım Adım Çözüm

1
Identify the hosting requirements for Application Insights Profiler on Azure App Service.
Profiler requires the App Service plan to be at least on the Basic, Standard, Premium, or Isolated tier.
Free and Shared pricing tiers lack the system resources and capabilities required to run the Profiler background process.
2
Determine the current pricing tier and scale-up path.
The current plan is Free (F1). It must be scaled up to at least Basic (B1) or higher.
Scaling up ensures the application resides on a supported tier where the Profiler service can be enabled and successfully execute.

Anahtar Kavram

Pricing tier requirements for Application Insights Profiler
Bu soruyu puanla