Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Describe Azure Monitor, including Log Analytics, Azure Monitor alerts, and Azure Monitor Application Insights

A worked example

Single answer

Fabrikam hosts a web application with a non-Microsoft cloud provider. The development team wants to track request response times, failure rates, and the performance of calls the application makes to external dependencies. The application's source code is managed by a vendor, and Fabrikam is not allowed to change it. The application's runtime and hosting configuration support the Application Insights agent, and Fabrikam has permission to enable monitoring agents.

What should Fabrikam do?

Choose one answer
Why

Application Insights is the Azure Monitor feature for monitoring the performance and usage of web applications, including applications that run in other clouds. It tracks request rates, response times, failure rates, and dependency calls. It can be set up with an SDK in the code or with an agent that needs no code changes. Because Fabrikam cannot change the code and its environment supports the agent, the agent is the right choice.

  • Correct: Enable the Application Insights agent for the application. Application Insights monitors web applications in any cloud, and the agent enables it without code changes. It tracks response times, failure rates, and dependency call performance.
  • Not correct: Use Azure Resource Health to check the application's status. Resource Health shows whether individual Azure resources are running normally. It does not measure application response times or dependency performance.
  • Not correct: Create a metric alert rule that sends an email when response times are high. This rule would send an email when response times meet the alert condition. The rule needs existing telemetry and does not collect the requested request and dependency data.
  • Not correct: Add the Application Insights SDK to the application code. The SDK would provide the required data, but adding it means changing the application code, which Fabrikam is not allowed to do.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free