You are deploying a .NET 8.0 web application to an Azure App Service. You want to implement Application Insights Profiler to identify performance bottlenecks and analyze the hot paths of your application's code execution.
Which two configurations or conditions must be met to enable Application Insights Profiler? Select two.
- The App Service plan must be configured to use the Basic, Standard, or Premium pricing tier.Cevap
- The App Service application settings must include the APPLICATIONINSIGHTS_CONNECTION_STRING app setting with a valid connection string.Cevap
- CThe App Service plan must be configured to use the Free or Shared pricing tier.
- DThe App Service application settings must include the APPINSIGHTS_INSTRUMENTATIONKEY setting configured to retrieve its value via an Azure Key Vault reference.
- EThe user account viewing the profiling session must be assigned the Application Insights Document Quick Viewer role.
Cevap
To enable Application Insights Profiler on Azure App Service, the App Service plan must be on the Basic, Standard, or Premium tier, and the APPLICATIONINSIGHTS_CONNECTION_STRING application setting must be configured with a valid connection string.
The correct options are configuring the App Service plan to use the Basic, Standard, or Premium pricing tier, and configuring the APPLICATIONINSIGHTS_CONNECTION_STRING application setting. Application Insights Profiler requires a Basic plan tier or higher to execute. It also requires the APPLICATIONINSIGHTS_CONNECTION_STRING setting to connect the application to the Application Insights resource.
Adım Adım Çözüm
Anahtar Kavram
Application Insights Profiler baseline prerequisites and setup requirements on Azure App Service.