Courseiva

AZ-400 · topic practice

Implement an instrumentation strategy practice questions

This domain covers configuring telemetry and monitoring for applications and infrastructure in Azure DevOps pipelines. It is tested through scenario questions on Application Insights setup, dependency and exception tracking, security group purposes, and instrumentation choices for App Service, containers, and on-premises workloads.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Implement an instrumentation strategy

What the exam tests

What to know about Implement an instrumentation strategy

A candidate must configure Application Insights telemetry for App Service and other workloads, enable dependency and exception tracking, and interpret Azure Monitor data. The single most important thing is correctly wiring the Application Insights SDK or auto-instrumentation so all required telemetry is captured with minimal code changes.

Configuring Application Insights for Azure App Service with connection strings and SDK auto-instrumentation

Using Azure Monitor, Log Analytics workspaces, and Kusto Query Language for telemetry analysis

Implementing distributed tracing with correlation IDs across HTTP and dependency calls

Matching Azure DevOps security groups like Project Administrators to their permissions

Watch out for

Common Implement an instrumentation strategy exam traps

  • ▸Assuming Application Insights dependency tracking works automatically for all third-party calls without configuring the SDK or agents correctly.
  • ▸Confusing Azure DevOps security group purposes, such as Project Administrators versus Build Administrators, in permission-matching questions.
  • ▸Forgetting that connection strings are now preferred over instrumentation keys for Application Insights configuration.

Practice set

Implement an instrumentation strategy questions

20 questions · select your answer, then reveal the explanation

You have an Azure DevOps pipeline that deploys a web app to Azure App Service. You want to capture deployment frequency and change failure rate as metrics in Application Insights. Which built-in analytics view should you use?

Which THREE of the following are valid techniques to reduce the volume of telemetry data sent to Application Insights while preserving diagnostic value?

A team uses Azure Monitor to collect metrics from their Azure Kubernetes Service (AKS) cluster. They notice that container logs are missing from Log Analytics. The cluster was created with the default settings and no custom configuration was applied. What is the most likely reason for the missing logs?

A company runs a critical microservices application on Azure Kubernetes Service (AKS). They need to implement distributed tracing across services using Application Insights. Which three actions should be performed?

You are configuring Application Insights for a set of Azure Functions written in C# that run in the Consumption plan. The functions process messages from an Azure Service Bus queue. You need to correlate each function execution to the originating Service Bus message so that a distributed trace shows the full path from message enqueue to function completion. What should you configure?

You are configuring Application Insights for a .NET Core web application deployed to Azure App Service. The application must capture telemetry for all HTTP requests, exceptions, and dependency calls with minimal code changes. What should you do?

Your team uses Azure DevOps for CI/CD. You need to ensure that every build publishes telemetry to Application Insights, including build duration, test pass rate, and deployment frequency. Which approach should you use?

You are designing a centralized logging strategy for multiple microservices hosted in Azure Kubernetes Service (AKS). Each microservice writes logs in JSON format to stdout/stderr. The operations team needs to query logs across all services and correlate them with application performance metrics. Which solution provides the best integration?

You are troubleshooting an intermittent performance issue in a web application. Application Insights shows a high number of failed dependency calls to Azure SQL Database. The errors are SqlException with error code -2 (timeout). What is the most likely cause and recommended fix?

Which TWO metrics should you monitor to evaluate the reliability of a web application according to the DORA metrics?

You have deployed an Azure Resource Manager (ARM) template for a scheduled query rule as shown. The rule is enabled and targets an Application Insights resource. However, no alerts are firing despite HTTP 500 errors occurring. What is the most likely cause?

Exhibit

Refer to the exhibit.

```json
{
  "properties": {
    "name": "test-rule",
    "description": "Alert when error rate > 5%",
    "severity": 2,
    "enabled": true,
    "scopes": ["/subscriptions/.../resourceGroups/.../providers/microsoft.insights/components/myapp"],
    "criteria": {
      "allOf": [
        {
          "metricName": "requests/count",
          "metricNamespace": "microsoft.insights/components",
          "operator": "GreaterThan",
          "threshold": 100,
          "timeAggregation": "Total",
          "dimensions": [
            {
              "name": "request/resultCode",
              "operator": "Include",
              "values": ["500"]
            }
          ]
        }
      ]
    }
  }
}
```

You are debugging a production issue using Application Insights Snapshot Debugger. The exhibit shows a snapshot from a NullReferenceException. The variable _dbContext is null. What is the most likely root cause?

Exhibit

Refer to the exhibit.

```
Application Insights Snapshot Debugger

Snapshot 1: 
  Thread: 1234
  Exception: NullReferenceException
  Stack:
    Contoso.Web.Pages.Index.OnGet() line 42
    Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethod()
    ...
  Local variables:
    _dbContext: null (Contoso.Data.AppDbContext)
```

You are a DevOps engineer for a large e-commerce company. The company uses Azure DevOps for CI/CD and Application Insights for monitoring. The application is a .NET Core 6 microservice running on Azure Kubernetes Service (AKS) with a Redis cache and Azure SQL Database. Recently, the operations team noticed that the application's response time has degraded significantly during peak traffic hours. Application Insights shows an increase in server-side dependency call duration to Redis and SQL, but no increase in exceptions. The team suspects a connection pooling issue. You have been asked to diagnose and fix the problem. Which approach should you take first?

A development team is implementing a distributed tracing solution for a microservices application deployed on Azure. They want to correlate requests across services using OpenTelemetry and send data to Azure Monitor. The application currently generates traces, but the traces are incomplete, showing only individual service spans without end-to-end correlation. The team has already instrumented each service with the OpenTelemetry SDK. What should the team do to ensure proper end-to-end trace correlation?

Which TWO are best practices when configuring alerts in Azure Monitor for a production application?

You are reviewing a Data Collection Rule (DCR) for an Azure virtual machine. The DCR is assigned to the VM, and the Azure Monitor Agent is installed. After one hour, no performance data appears in the Log Analytics workspace. What is the most likely cause?

Exhibit

Refer to the exhibit.

```json
{
  "apiVersion": "microsoft.insights/v1",
  "location": "eastus",
  "properties": {
    "dataFlows": [
      {
        "destinations": ["la-workspace"],
        "streams": ["Microsoft-InsightsMetrics"]
      }
    ],
    "dataSources": {
      "performanceCounters": [
        {
          "name": "cpuCounter",
          "counterSpecifiers": [
            "\\Processor(_Total)\\% Processor Time"
          ],
          "samplingFrequencyInSeconds": 60
        }
      ]
    },
    "destinations": {
      "logAnalytics": [
        {
          "workspaceResourceId": "/subscriptions/sub-id/resourceGroups/rg/providers/Microsoft.OperationalInsights/workspaces/myworkspace"
        }
      ]
    }
  }
}
```

A company has a multi-region application deployed on Azure App Service (Windows) across three regions: West US, East US, and West Europe. The operations team uses Azure Monitor to collect application logs and metrics. Recently, they noticed that the application in West US is experiencing high CPU usage (sustained above 90%) during peak hours, while the other regions remain below 60%. The team has set up an autoscale rule on the App Service plan to scale out when CPU exceeds 80% for 10 minutes. However, autoscale is not triggering, and the application in West US is becoming slow. The team has verified that the autoscale rule is correctly configured, the instance count is below the maximum, and there are no scale-in rules interfering. The metric data appears in Azure Monitor. You suspect that the metric alert that triggers autoscale is not firing. What is the most likely cause?

A company deploys a web application to Azure App Service. They want to monitor application performance and detect anomalies using Application Insights. Which two components should be configured?

A company deploys a .NET Core web application to Azure App Service. The application uses Application Insights for monitoring. The operations team reports that dependency tracking is missing for calls to a third-party REST API made using HttpClient. The application is instrumented with the Application Insights SDK. Which action should be taken to enable dependency tracking for HttpClient calls?

A company uses Azure Monitor and Application Insights to monitor a microservices application deployed on Azure Kubernetes Service (AKS). The development team wants to implement distributed tracing to correlate requests across services. They currently have Application Insights SDKs instrumented in each service. Which TWO configurations are required to enable end-to-end distributed tracing?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Implement an instrumentation strategy sessions

Start a Implement an instrumentation strategy only practice session

Every question in these sessions is drawn from the Implement an instrumentation strategy domain — nothing else.

Related practice questions

Related AZ-400 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the AZ-400 exam test about Implement an instrumentation strategy?
A candidate must configure Application Insights telemetry for App Service and other workloads, enable dependency and exception tracking, and interpret Azure Monitor data. The single most important thing is correctly wiring the Application Insights SDK or auto-instrumentation so all required telemetry is captured with minimal code changes.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Implement an instrumentation strategy questions in a focused session?
Yes — the session launcher on this page draws every question from the Implement an instrumentation strategy domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other AZ-400 topics?
Use the topic links above to move to related areas, or go back to the AZ-400 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the AZ-400 exam covers. They are not copied from any real exam or dump site.