nerdexam
Microsoft

AZ-204 · Question #619

You are a developer for a company that recently transitioned to using workspace-based Application Insights for a C# .NET web application that runs on Azure. The application has intermittent performanc

The correct answer is D. Enable the profiler and snapshot debugger.. Code Optimizations and Application Insights Profiler for .NET The .NET Profiler and Code Optimizations work together to provide a holistic approach to performance issue detection. Code Optimizations, an AI-based service in Azure Application Insights, works in tandem with the Appl

Submitted by mateo_ar· Mar 30, 2026Monitor, troubleshoot, and optimize Azure solutions

Question

You are a developer for a company that recently transitioned to using workspace-based Application Insights for a C# .NET web application that runs on Azure. The application has intermittent performance issues. You need to use the AI-powered code analysis feature in Application Insights to help diagnose the problem. What should you do?

Options

  • AEnable and configure smart detection.
  • BEnable and configure availability tests.
  • CUse the Application Map to visualize dependencies and interactions, then trace the performance
  • DEnable the profiler and snapshot debugger.
  • EConfigure continuous export of telemetry data to Azure Storage.

How the community answered

(53 responses)
  • A
    2% (1)
  • B
    2% (1)
  • C
    17% (9)
  • D
    72% (38)
  • E
    8% (4)

Explanation

Code Optimizations and Application Insights Profiler for .NET The .NET Profiler and Code Optimizations work together to provide a holistic approach to performance issue detection. Code Optimizations, an AI-based service in Azure Application Insights, works in tandem with the Application Insights Profiler for .NET to detect CPU and memory usage performance issues at a code level and provide recommendations on how to fix them. .NET Profiler: Capture, identify, and view performance traces for your application. Code optimizations: Harness AI to create better and more efficient applications. Snapshot debugger: Automatically collect debug snapshots when exceptions occur in .NET https://learn.microsoft.com/en-us/azure/azure-monitor/insights/code-optimizations-profiler- https://learn.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview

Topics

#Application Insights#profiler#snapshot debugger#performance diagnostics

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice