Question

Difficulty: MediumImplement Application Insights Profiler, Snapshot Debugger, and Smart Detection

You manage a .NET web application that is hosted on Azure App Service. The application is configured to send telemetry to an Application Insights instance.

You regularly receive email notifications from Application Insights regarding 'Dependency Latency Degradation' anomalies. You verify that these latency spikes are expected because they occur during a third-party database's scheduled daily maintenance window. You want to stop receiving these specific proactive email notifications without stopping the collection of dependency response time telemetry or affecting other anomaly detection rules.

Which action should you perform to meet this requirement?

  1. Navigate to the Application Insights resource in the Azure portal, select Smart Detection under the Investigate section, select the Dependency Latency Degradation rule, and click Disable.Answer
  2. B
    Modify the appsettings.json file in the application source code, and set the Application Insights connection string to an empty string for dependency tracking.
  3. C
    Scale the App Service plan hosting the web application from the Free (F1) tier to the Premium (P1v3) tier to automatically disable warning alerts.
  4. D
    Create a new Key Vault access policy that grants the App Service system-assigned managed identity permissions to decrypt the alert emails.

Answer

Navigate to the Application Insights resource in the Azure portal, select Smart Detection under the Investigate section, select the Dependency Latency Degradation rule, and click Disable.
The correct action is to disable the Dependency Latency Degradation rule in the Smart Detection blade of the Application Insights resource in the Azure portal. Smart Detection rules run proactively on telemetry collected by Application Insights and can be disabled or configured individually to avoid unnecessary alerts during known maintenance windows without stopping raw telemetry ingestion.

Step-by-Step Solution

1
Locate the monitoring resource in the Azure portal.
You access the Application Insights resource linked to your web application.
Smart Detection rules are configured and managed at the Application Insights resource level, not within the hosting App Service.
2
Navigate to the Smart Detection settings.
You view the list of proactive detection rules, including Dependency Latency Degradation.
Smart Detection is located under the Investigate section of the Application Insights menu.
3
Disable the target rule.
The Dependency Latency Degradation rule is disabled.
This stops Application Insights from running the anomaly detection algorithm and sending emails for this specific metric while leaving other rules and telemetry collection intact.

Key Concept

Application Insights Smart Detection proactively monitors telemetry for performance anomalies and can be configured or disabled per-rule in the Azure Portal.
Rate this question