nerdexam
Microsoft

AZ-400 · Question #269

You are building an ASP.NET Core application. You plan to create an application utilization baseline by capturing telemetry data. You need to add code to the application to capture the telemetry data.

The correct answer is C. From the code of the application, add Azure Application Insights telemetry. E. From the code of the application, disable adaptive sampling.. Disable Adaptive Sampling and use Fixed Rate Sampling instead: "Fixed-rate sampling reduces the volume of telemetry sent from both your ASP.NET or ASP.NET Core or Java server and from your users' browsers. You set the rate. The client and server will synchronize their sampling so

Submitted by yuriko_h· Mar 6, 2026Implement an instrumentation strategy

Question

You are building an ASP.NET Core application. You plan to create an application utilization baseline by capturing telemetry data. You need to add code to the application to capture the telemetry data. The solution must minimize the costs of storing the telemetry data. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point

Options

  • AAdd the <InitialSamplingPercentage>99</InitialSamplingPercentage> parameter to the
  • BFrom the code of the application, enable adaptive sampling.
  • CFrom the code of the application, add Azure Application Insights telemetry.
  • DAdd the <MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond> parameter to the
  • EFrom the code of the application, disable adaptive sampling.

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    13% (4)
  • C
    78% (25)
  • D
    3% (1)

Explanation

Disable Adaptive Sampling and use Fixed Rate Sampling instead: "Fixed-rate sampling reduces the volume of telemetry sent from both your ASP.NET or ASP.NET Core or Java server and from your users' browsers. You set the rate. The client and server will synchronize their sampling so that, in Search, you can navigate between related page views and https://docs.microsoft.com/en-us/azure/azure-monitor/app/sampling

Topics

#Application Insights#adaptive sampling#telemetry#ASP.NET Core

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice