nerdexam
Microsoft

AZ-204 · Question #309

You develop and deploy a web app to Azure App Service. The Azure App Service uses a Basic plan in a single region. You need to capture the telemetry. Which three actions should you perform? Each…

The correct answer is C. Enable Profiler D. Restart an apps in the App Service plan F. Enable Application Insights site extensions. To capture telemetry from an Azure App Service, you must enable Application Insights integration through its site extensions, then enable Profiler for detailed performance analysis, and finally restart the app to ensure these configurations take effect.

Submitted by amina.ke· Mar 30, 2026Monitor, troubleshoot, and optimize Azure solutions

Question

You develop and deploy a web app to Azure App Service. The Azure App Service uses a Basic plan in a single region. You need to capture the telemetry. Which three actions should you perform? Each correct answer presents part of the solution NOTE; Each correct selection is worth one pewit

Options

  • AUpgrade the Azure App Service plan to Premium.
  • BEnable remote debugging.
  • CEnable Profiler
  • DRestart an apps in the App Service plan
  • EEnable Snapshot debugger
  • FEnable Application Insights site extensions.
  • GEnable the Always On setting for the app service.

How the community answered

(26 responses)
  • B
    8% (2)
  • C
    73% (19)
  • E
    4% (1)
  • G
    15% (4)

Why each option

To capture telemetry from an Azure App Service, you must enable Application Insights integration through its site extensions, then enable Profiler for detailed performance analysis, and finally restart the app to ensure these configurations take effect.

AUpgrade the Azure App Service plan to Premium.

Upgrading to an Azure App Service Premium plan is not required for capturing basic telemetry or enabling Profiler; the Basic plan, coupled with Application Insights, is sufficient.

BEnable remote debugging.

Enabling remote debugging is used for interactive code debugging and troubleshooting, not for continuous, automated telemetry capture in a production environment.

CEnable ProfilerCorrect

Enabling Profiler within Application Insights allows for deep performance analysis by collecting detailed traces of your application's execution. This helps identify bottlenecks and slow code paths, providing crucial telemetry about application performance.

DRestart an apps in the App Service planCorrect

After enabling or configuring Application Insights, including site extensions or Profiler, restarting the app service app is often necessary. This action ensures that the App Service runtime picks up the new configuration and properly initializes the Application Insights agents for telemetry collection.

EEnable Snapshot debugger

The Snapshot Debugger captures execution snapshots upon exceptions for post-mortem analysis, which is distinct from general performance and usage telemetry collected by Profiler and Application Insights.

FEnable Application Insights site extensions.Correct

Enabling Application Insights site extensions is the primary method for integrating Application Insights with an Azure App Service without modifying application code. This extension injects the necessary SDKs and agents into the app service environment, allowing for automatic collection of performance, dependency, and request telemetry.

GEnable the Always On setting for the app service.

The Always On setting prevents the app from unloading due to inactivity, which helps with responsiveness, but it does not directly enable or configure the capture of telemetry data.

Concept tested: Integrating Azure Application Insights for App Service telemetry

Source: https://learn.microsoft.com/en-us/azure/azure-monitor/app/azure-web-apps?tabs=net

Topics

#Application Insights#Profiler#App Service telemetry#site extensions

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice