Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Microsoft Certified: DevOps Engineer Expert · Microsoft
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
(1)Option C: You must first add the Application Insights SDK (e.g., via builder.Services.AddApplicationInsightsTelemetry()) to capture telemetry data from the ASP.NET Core application. (2)Option B: Adaptive sampling automatically adjusts the volume of telemetry sent from your web application to keep storage costs at a manageable rate during traffic spikes while preserving statistically accurate metrics.
To minimize data storage costs, you need Sampling. Application Insights supports a few sampling methods, but Adaptive Sampling is highly recommended for web apps because it dynamically adjusts the volume of telemetry sent based on your live traffic. If your app gets a massive spike in traffic, adaptive sampling automatically trims the volume to stay under a cost threshold while maintaining statistical accuracy.
To capture telemetry data while minimizing storage costs, you should: B. From the code of the application, enable adaptive sampling. C. From the code of the application, add Azure Application Insights telemetry. These actions ensure that you are collecting necessary telemetry data while using adaptive sampling to control the volume of data sent, thus reducing storage costs. Option E, which involves disabling adaptive sampling, would not minimize storage costs, which would mean that all telemetry data is sent without any adjustments, which could lead to higher storage costs and potentially overwhelm your telemetry system with too much data. Adaptive sampling helps reduce the volume of telemetry data sent by dynamically adjusting the sampling rate based on the traffic, thus lowering storage costs. https://learn.microsoft.com/en-us/azure/azure-monitor/app/sampling-classic-api