Application Insights – Metrics, Logs and Traces · AZ-204: Developing Solutions for Microsoft Azure Monitor and Troubleshoot Azure Solutions

A production ASP.NET Core API uses Application Insights. The operations team wants a dashboard showing the number of failed requests and the trend in…

Practice question from Application Insights – Metrics, Logs and Traces (AZ-204: Developing Solutions for Microsoft Azure Monitor and Troubleshoot Azure Solutions), with the correct answer and a step-by-step solution.

easy · MCQ · Q-347372

A production ASP.NET Core API uses Application Insights. The operations team wants a dashboard showing the number of failed requests and the trend in server response time without analyzing individual telemetry records. Which approach is most appropriate?

  1. A.Use Application Insights Metrics Explorer with the Failed requests and Server response time metrics.Correct answer
  2. B.Enable verbose tracing and count log messages every time the dashboard loads.
  3. C.Query dependency telemetry because request metrics are not collected automatically.
  4. D.Store every request in a custom application database and calculate the values there.

Solution

Application Insights collects standard request metrics, including failed requests and server response time. Metrics Explorer is designed for aggregated trends and dashboards, whereas logs and traces are better for investigating individual operations.

More from Application Insights – Metrics, Logs and Traces

All of Application Insights – Metrics, Logs and Traces

Practise more Monitor and Troubleshoot Azure Solutions

Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.

Start practising free

Free to start · No credit card needed