How to Configure Adaptive Sampling to Reduce Application Insights Costs
Application Insights ingestion cost is rising because a high-traffic app emits large telemetry volume. The team needs statistically useful telemetry while reducing ingestion. What should be configured?
Quick Answer
Adaptive sampling is the correct choice because it automatically adjusts the volume of telemetry data sent to Application Insights, retaining only a representative subset that preserves statistical accuracy for analysis. This reduces ingestion costs while ensuring the sampled data remains statistically useful for detecting trends and anomalies in high-traffic applications. On the AZ-204 exam, this concept tests your understanding of how to balance cost control with observability, often appearing in scenario-based questions where a high-traffic app causes rising ingestion costs. A common trap is selecting fixed-rate sampling, which applies a constant percentage regardless of traffic spikes, leading to either over-sampling during low traffic or under-sampling during peaks. Adaptive sampling dynamically adjusts based on actual telemetry volume, making it the only option that guarantees both cost efficiency and statistical relevance. Memory tip: think “Adaptive = Automatic Adjustment” to recall that it scales sampling rate up or down in real time, unlike rigid fixed-rate alternatives.
⚠ Common exam trap
Many exam-takers think increasing resources (larger plan) or disabling entire telemetry categories (exceptions) is a valid cost-control measure, but the exam tests understanding that adaptive sampling is the designed Azure feature for reducing telemetry volume while preserving statistical significance.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Adaptive sampling
Adaptive sampling is the correct solution because it automatically adjusts the volume of telemetry data sent to Application Insights, retaining only a representative subset that preserves statistical accuracy for analysis. This reduces ingestion costs while ensuring the sampled data remains statistically useful for detecting trends and anomalies in high-traffic applications.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Move the app to a larger App Service plan
Why it's wrong here
App Service plan size governs compute and memory, not telemetry ingestion volume or cost. Sampling, filtering and daily caps in Application Insights address ingestion; resizing the plan would be the right move for CPU or memory pressure, not for telemetry spend.
- ✓
Adaptive sampling
Why this is correct
Adaptive sampling dynamically adjusts the volume of telemetry items Application Insights retains, based on actual traffic rates, while preserving statistically representative samples and correlated request traces. This satisfies the constraint of reducing ingestion cost without losing statistically useful data, unlike fixed-rate sampling which can miss spikes.
- ✗
Disable all exception telemetry
Why it's wrong here
Disabling exception telemetry removes the diagnostic signal needed to detect and triage failures, so the app loses statistically useful error data rather than reducing volume selectively. It is tempting because exceptions are often the noisiest stream, and sampling or filtering exception telemetry would be the right approach when only volume, not diagnostic coverage, must be cut.
- ✗
Increase log verbosity to debug
Why it's wrong here
Raising verbosity to debug increases the volume of telemetry emitted, directly worsening ingestion cost. The requirement is statistically useful data at lower volume, achieved through sampling and filtering; debug-level logging suits short-term fault diagnosis, not cost reduction.
Go deeper
Related to this question
Learn chapter
Custom Telemetry with Application Insights SDK
Key term
Application Insights
Application Insights is an Azure monitoring service that helps developers detect, diagnose, and understand issues in live web applications by collecting telemetry data like requests, exceptions, and performance counters.
About these practice questions
One of 883 original AZ-204 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
2 more ways this is tested on AZ-204
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Application Insights ingestion cost is rising because a high-traffic app emits large telemetry volume. The team needs statistically useful telemetry while reducing ingestion. What should be configured? The design must avoid adding custom operational scripts.
hard- A.Move the app to a larger App Service plan
- ✓ B.Adaptive sampling
- C.Disable all exception telemetry
- D.Increase log verbosity to debug
Why B: Adaptive sampling is the correct solution because it automatically adjusts the volume of telemetry data collected from your application, ensuring that only a representative fraction of events is sent to Application Insights while preserving statistical accuracy for analysis. This reduces ingestion costs without requiring custom scripts or manual intervention, as it is a built-in feature of the Application Insights SDK that dynamically adapts based on traffic patterns.
Variation 2. Application Insights ingestion cost is rising because a high-traffic app emits large telemetry volume. The team needs statistically useful telemetry while reducing ingestion. What should be configured?
hard- A.Move the app to a larger App Service plan
- ✓ B.Adaptive sampling
- C.Disable all exception telemetry
- D.Increase log verbosity to debug
Why B: Adaptive sampling in Application Insights automatically reduces the volume of telemetry data sent from high-traffic apps by intelligently selecting a representative subset of events. This preserves statistical utility for analysis while significantly lowering ingestion costs, making it the ideal solution for the described scenario.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.