AZ-204 Practice Question: Monitor, troubleshoot, and optimize Azure solutions
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.
⚠ Common exam trap
Test-takers frequently confuse scaling (Option A) with cost optimization, or they mistakenly believe that disabling all telemetry (Option C) is a valid cost-saving measure, when in fact adaptive sampling provides a balanced approach that maintains data utility without manual overhead.
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 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.
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
Moving an application to a larger App Service plan increases the underlying compute resources available to the application, such as CPU, memory, and network bandwidth. However, Application Insights ingestion costs are primarily determined by the volume of telemetry data (e.g., requests, dependencies, exceptions, traces, metrics) that the application's SDK sends to the Application Insights service, not by the size of the compute plan. Therefore, scaling up the App Service plan will not inherently reduce the amount of telemetry data generated or ingested, and thus will not mitigate rising ingestion costs.
- ✓
Adaptive sampling
Why this is correct
Adaptive sampling is an intelligent, automatic feature within the Application Insights SDK that dynamically adjusts the rate at which telemetry items are collected and sent to the service. It works by discarding a percentage of telemetry items (like requests, dependencies, and traces) at the client-side before they are transmitted, ensuring that a representative sample is retained while significantly reducing the overall data volume. This direct reduction in ingested data volume is highly effective in lowering Application Insights costs, as billing is primarily based on the amount of data ingested.
- ✗
Disable all exception telemetry
Why it's wrong here
While disabling all exception telemetry would reduce the volume of data ingested by Application Insights, it is a detrimental approach to cost management. Exception telemetry is crucial for identifying, diagnosing, and resolving critical application errors and understanding failure patterns. Completely disabling this vital data stream would severely impair the ability to troubleshoot application issues, leading to potential outages or degraded user experience, thus undermining the core purpose and value of using Application Insights for monitoring.
- ✗
Increase log verbosity to debug
Why it's wrong here
Increasing log verbosity to 'debug' level instructs the application to generate and emit a significantly greater number of detailed log messages and telemetry events. This action directly results in a substantial increase in the volume of data sent to Application Insights, as debug logs are typically far more numerous and verbose than those at 'information' or 'warning' levels. Consequently, this would exacerbate the problem of rising ingestion costs rather than providing a solution, making it a counterproductive measure for cost reduction.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AZ-204 question from scratch — 881 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
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.