AZ-204 Exam QuestionsBrowse all questions from this exam

AZ-204 Exam - Question 329


HOTSPOT

-

You have an Azure Function app named App1 written in C# and an Application Insights workspace named Workspace1. App is implemented with Application Insights enabled and is configured to send its telemetry to Workspace1.

You observe that App1 telemetry collection regularly exceeds monthly quotas of Workspace1.

You need to ensure that the telemetry volume remains within the monthly quotas of Workspace1.

What should you do? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Exam AZ-204 Question 329
Show Answer
Correct Answer:
Exam AZ-204 Question 329

Discussion

4 comments
Sign in to comment
florianwicher
Feb 8, 2025

Answer is correct: "If adaptive or fixed rate sampling methods are enabled for a telemetry type, ingestion sampling is disabled for that telemetry." and "Ingestion sampling happens at the Application Insights service endpoint. (...) It doesn't reduce telemetry traffic sent from your app, but helps you keep within your monthly quota." https://learn.microsoft.com/en-us/azure/azure-monitor/app/sampling-classic-api

Thameur01
Apr 14, 2025

✅ App1: Enable fixed-rate sampling This configures the SDK-based sampling at the application level. Fixed-rate sampling helps control data before it's sent to Application Insights, which reduces cost and traffic. Compared to adaptive sampling (which varies based on traffic volume), fixed-rate is more predictable and thus more suitable when trying to strictly control data volume. ✅ Workspace1: Enable ingestion sampling Ingestion sampling works after data is received at the workspace and helps reduce the volume stored, but note: it still counts against quota initially. While SDK sampling (App1) is more effective in saving cost and bandwidth, ingestion sampling adds another layer of control, especially when SDK sampling isn’t sufficient or possible.

Zezere
Jan 22, 2025

Answer seems not to be correct. To stay in the quotas, you can define a fixed-rate sampling. As ingestion sampling only works when the 2 other types of typing are deactivated, you can deactivate it on the application Insights side.

tafa_had
Feb 8, 2025

Not correct. Use fixed-rate sampling at the App1 level to limit telemetry at the source. Enable ingestion sampling at Workspace1 to filter excess data before storing it.