AZ-400 – Question 66

0
147
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

A. Add the <InitialSamplingPercentage>99</InitialSamplingPercentage> parameter to the ApplicationInsights.config file.
B. From the code of the application, enable adaptive sampling.
C. From the code of the application, add Azure Application Insights telemetry.
D. Add the <MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond> parameter to the ApplicationInsights.config file.
E. From the code of the application, disable adaptive sampling.
 
Correct Answer: CE

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 requests."