exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 5 question 58 discussion

Actual exam question from Microsoft's AZ-204
Question #: 58
Topic #: 5
[All AZ-204 Questions]

You develop an ASP. Net Care application by integrating the Application Insights SDK into your solution.

The application sends a very high rate of telemetry in a short time interval. You observe a reduced number of events, traces, and metrics being recorded and increased error rates for telemetry ingestion. Telemetry data must synchronize the client and server information to allow HTTP request and response correlation.

You need to reduce telemetry traffic, data costs, and storage costs while preserving a statistically correct analysis of application telemetry data.

What should you do?

  • A. Set a daily cap on the Log Analytics workspace. Create an Activity log alert rule.
  • B. Modify the pricing tier for the Log Analytics workspace.
  • C. Update the application code to reduce the number of DiagnosticSource events. Use filtering to exclude these events.
  • D. Disable adaptive sampling. Enable and configure the fixed-rate sampling module.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Zezere
3 months ago
Selected Answer: C
It cannot be D. We want to reduce the volume of telemetry. To have a constant volume of telemtry, we need to adapt the sampling rate -> adaptive sampling should be activated C would do the job. We have less source of telemtry, but it will still be statistically correct
upvoted 1 times
Zezere
3 months ago
Sorry I understood wrong what are adaptive and fixed rate sampling. So now I think D would be correct. If we would like to stay with adaptive sampling, we should set maxTelemetryItemsPerSeconds to a lower value ike it is proposed in thenexct question.
upvoted 2 times
...
...
Vichu_1607
5 months, 1 week ago
Selected Answer: D
D: Disable adaptive sampling. Enable and configure the fixed-rate sampling module.
upvoted 2 times
...
Jay456
5 months, 2 weeks ago
Selected Answer: D
I think it should be D as well. "Reduce telemetry rates" is exactly the phrase used on https://learn.microsoft.com/en-us/azure/azure-monitor/app/sampling-classic-api#types-of-sampling
upvoted 2 times
...
overhill
5 months, 2 weeks ago
After investigation I think C is the best answer becuse fix rate sampling will probably affect a statistically correct result, limiting diagnostics doesn't hurt statistics
upvoted 1 times
...
overhill
5 months, 2 weeks ago
D) 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 synchronize their sampling so that, in Search, you can navigate between related page views and requests. https://learn.microsoft.com/en-us/azure/azure-monitor/app/sampling-classic-api
upvoted 1 times
...
Mattt
6 months ago
Selected Answer: D
I think it should be D Fixed-rate sampling allows you to set a specific sampling rate
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago