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?
- A.Use Application Insights Metrics Explorer with the Failed requests and Server response time metrics.Correct answer
- B.Enable verbose tracing and count log messages every time the dashboard loads.
- C.Query dependency telemetry because request metrics are not collected automatically.
- 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
- An application sends request and trace telemetry to a workspace-based Application Insights resource. You need to find failed requests toget…
- A multi-instance .NET service must publish a reliable count of checkout attempts. Adaptive sampling is enabled for request and trace teleme…
- A .NET worker records one CPU-utilization value every second and needs an accurate one-minute average in Application Insights Metrics Explo…
- An ASP.NET Core application sends informational traces with a custom property named Region. You need a KQL query that returns only trace me…
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 freeFree to start · No credit card needed