Lesson 23 of 28 · see all lessons
  1. Start here: cloud concepts (skill area 1, 25-30%)

    1. 1. Start here: the AZ-900 exam, the plan and what you already know
    2. 2. What cloud computing is: shared responsibility and cloud models
    3. 3. Paying for the cloud: the consumption-based model, pricing models and serverless
    4. 4. Why the cloud: availability, scalability, reliability, security and manageability
    5. 5. IaaS, PaaS and SaaS: cloud service types and when to use each
  2. Azure architecture, compute and networking (skill area 2, 35-40%)

    1. 6. Azure global infrastructure: regions, region pairs, sovereign regions and availability zones
    2. 7. Organizing Azure: resources, resource groups, subscriptions and management groups
    3. 8. Azure virtual machines: VM options, scale sets, availability sets and Azure Virtual Desktop
    4. 9. Containers, Azure Functions and app hosting: choosing a compute type
    5. 10. Azure networking: virtual networks, subnets, peering and Azure DNS
    6. 11. Connecting to Azure: VPN Gateway, ExpressRoute, and public and private endpoints
  3. Storage and migration (skill area 2)

    1. 12. Azure Storage services and storage accounts
    2. 13. Storage tiers and redundancy options
    3. 14. Moving files and migrating to Azure: AzCopy, Storage Explorer, File Sync, Azure Migrate and Data Box
  4. Identity, access and security (skill area 2)

    1. 15. Microsoft Entra ID, Entra Domain Services and external identities
    2. 16. Signing in securely: single sign-on, MFA, passwordless and Conditional Access
    3. 17. Azure role-based access control: who can do what, where
    4. 18. Zero Trust, defense in depth and Microsoft Defender for Cloud
  5. Management and governance (skill area 3, 30-35%)

    1. 19. Azure costs: cost factors, the pricing calculator, Cost Management and tags
    2. 20. Governance and compliance: Microsoft Purview, Azure Policy and resource locks
    3. 21. Managing Azure: the portal, Cloud Shell, Azure CLI, PowerShell and Azure Arc
    4. 22. Infrastructure as code: Azure Resource Manager and ARM templates
    5. 23. Monitoring Azure: Advisor, Service Health, Azure Monitor, Log Analytics, alerts and Application Insights
  6. Final review and four mock exams

    1. 24. Final review and exam day: every decision on one page
    2. 25. Mock exam 1
    3. 26. Mock exam 2
    4. 27. Mock exam 3
    5. 28. Mock exam 4
See the leaderboard

19 min

Monitoring Azure: Advisor, Service Health, Azure Monitor, Log Analytics, alerts and Application Insights

Pick the right monitoring tool: recommendations, Azure-side outages, or the health and logs of your own resources and apps.

By the end of this lesson you can

  • Describe Azure Advisor and its five recommendation categories
  • Tell Azure status, Service Health and Resource Health apart
  • Describe Azure Monitor, Log Analytics, alerts and Application Insights
  • Choose the right monitoring tool for a scenario

From earlier lessons · 1 of 2

Copperleaf deploys its depot template to a depot that already matches it. What happens?

Pick one answer.

From earlier lessons · 2 of 2

Which service receives every request from the Azure portal, Azure CLI and Azure PowerShell?

Pick one answer.

Monday, 7:40 a.m. Drivers at three depots say the route app is crawling. The finance team also wants to know why the Azure bill went up. Sam has four questions and many tools. Is Azure itself having an outage? Is one of Copperleaf's VMs sick? Which part of the app is slow? And what should change so this doesn't happen again?

[1]

Azure Advisor: personalized recommendations

Exam depth: know it cold.

Azure Advisor checks your Azure resources and gives personalized recommendations, based on your own settings and usage. Each one has an action you can take now, postpone or dismiss. Its five categories:

  • Reliability: keep business-critical apps running.
  • Security: find threats and weak spots.
  • Performance: speed up your apps.
  • Operational excellence: better workflows, manageability and deployment practices.
  • Cost: cut your Azure spending.

The Advisor score rolls this into one overall score, split into the five category scores. Track it over time to see whether you're improving. To hear about new recommendations without opening the portal, set up an Advisor alert: it notifies you by email or text through an action group.

Decision rule: "recommendations" or "best practices for my resources" means Advisor.

[127][130][131][137]

Copperleaf's finance team asks for a list of changes that would lower the Azure bill, such as VMs that sit mostly idle. Which service gives these recommendations?

Pick one answer.

[127]

Azure Service Health: is it Azure or is it me?

Exam depth: know it cold.

Azure Service Health tells you about the health of Azure itself and of your own resources. It has three views, from widest to narrowest.

  • Azure status: a global picture of every Azure service in every region. Check it when you hear of a widespread outage.
  • Service Health: only the services and regions you use. It shows outages, planned maintenance and health advisories that affect you. You can set alerts on it.
  • Resource Health: one resource, such as a single VM. It says whether it is running normally, and whether a problem is on Azure's side or yours.

Service Health also keeps historical alerts, so you can spot repeat problems.

[128]

Three views, from all of Azure down to one VMAzure status: all services, all regionsService Health: the services and regions you useResource Health: one resource, such as a VMPublic and global. Notpersonalized.Outages, planned maintenanceand health advisories thataffect youIs this VM healthy, and is theproblem Azure's or mine?

[128]

[127][128]

Copperleaf wants an email whenever Microsoft plans maintenance that affects the Azure services and regions Copperleaf uses. What should it use?

Pick one answer.

[128]

Azure status: the whole world is fine. Service Health: your region is fine. Resource Health: your one VM is not. Picture: Claymation-style scene, soft plasticine figures under warm studio light.

Azure Monitor: collect, analyze, act

Exam depth: know it cold.

Azure Monitor is a platform for collecting, analyzing and acting on data from your resources and applications. It works with Azure, on-premises and multicloud environments.

It gathers two main kinds of data:

  • Metrics: numbers measured over time, such as a VM's CPU percentage.
  • Logs: records of events, such as error messages.

The data comes from applications, operating systems and network layers. Azure Monitor stores it centrally, then shows it through dashboards, queries and alerts. Log Analytics, alerts and Application Insights are all part of Azure Monitor.

[129][132]

Rendering diagram…
Collect from anywhere, then analyze with Log Analytics, see it on dashboards, and act with alerts.

[129][134]

Log Analytics and Azure Monitor alerts

Exam depth: know it cold.

Log Analytics is the tool in the Azure portal where you write and run queries on the data Azure Monitor collects. A query can be simple, like "all errors in the last hour", or chart a trend over months. Queries use Kusto Query Language (KQL); recognize the name only.

Azure Monitor alerts notify you when a condition you define is met. An alert rule sets the condition. Three common types:

  • Metric alerts: a number crosses a line, such as CPU above 80%.
  • Log search alerts: a Log Analytics query finds a pattern.
  • Activity log alerts: a matching event happens, such as a resource being deleted. Service Health and Resource Health alerts are this type.

An action group says who is told and what happens. It can send email, SMS, voice or push notifications. It can also run an action: a webhook, Azure Function, Logic Apps workflow or Automation runbook. One action group can serve many alert rules.

[129][133][134][135]

Match

Match each Copperleaf need to the alert piece that handles it.

Pick an item on the left, then its match on the right.

[134][135]

Application Insights: how is the web app doing?

Exam depth: know it cold.

Application Insights is a feature of Azure Monitor for application performance monitoring (APM). It watches the performance and usage of web apps running in Azure, on premises or in another cloud. You add an SDK (a code library) to the app, or turn on an agent with no code changes. It tracks:

  • Request rates, response times and failure rates.
  • Dependency calls, such as calls to a database, and how fast they are.
  • Page load times, user counts and sessions.
  • Server counters such as CPU, memory and network use.

Availability tests send test requests on a schedule, so you know the app responds even when nobody is using it.

[129][136]

For the statement, select Yes if it is true. Otherwise, select No. Application Insights can monitor a web app that runs on servers in a company's own datacenter.

Pick one answer.

[129]

Which tool? The decision table

Exam depth: know it cold.

The scenario needs.Tool.
Recommendations to cut cost or improve security, reliability, performance.Azure Advisor.
Is Azure down anywhere in the world?Azure status.
Outages or planned maintenance for my services and regions.Service Health.
Is this one VM healthy, and whose fault is it?Resource Health.
Collect metrics and logs from Azure, on premises and other clouds.Azure Monitor.
Query collected logs.Log Analytics.
Notify someone when a condition is met.Azure Monitor alerts with an action group.
Response times, failures and page views of a web app.Application Insights.

Decision rule: Advisor advises, Service Health reports on Azure, Monitor watches your own stuff.

[127][128][129]

Predict, then reveal

Back to Monday morning. Name the tool for each of Sam's four questions before you look. 1) Is Azure having an outage in our region? 2) Is our route-app VM healthy? 3) Which part of the route app is slow? 4) What should we change so it doesn't happen again, and why did the bill rise?

[127][128][129]

Exam-style practice

An online shop wants to know how long its checkout page takes to respond, and how often requests fail. Which service should it use?

Pick one answer.

[129]

A company must text its on-call engineer when a database's CPU stays above 90% for 10 minutes. What should it configure?

Pick one answer.

[129][135]

For the statement, select Yes if it is true. Otherwise, select No. Resource Health can tell you whether a problem with one of your virtual machines is caused by Azure.

Pick one answer.

[128]

FlashcardsIndex cardsFlashcards ⚡

Card 1 of 16

[127][128][129][131][134][135][136]

Worth keeping

  1. Azure Advisor gives recommendations in five categories: reliability, security, performance, operational excellence, cost.
  2. Azure status is global; Service Health covers your services and regions; Resource Health covers one resource.
  3. Azure Monitor collects metrics and logs from Azure, on premises and other clouds.
  4. Log Analytics queries logs; alerts plus action groups notify people and run actions.
  5. Application Insights monitors web app requests, response times, failures and dependencies.

On the job

When a customer says "Azure was slow today", ask which kind of slow. Service Health answers whether Azure had a problem. Application Insights shows whether their own app or database was the bottleneck.

For finance and project leads, Advisor is the easy win. Its Cost tab is a ready-made savings list to review each month.

That's the last new tool. Copperleaf's move to Azure is done, and so is the course content. Next lesson: every decision rule on one page, plus a plan for exam day.

Leaderboard

Loading…

50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.

Embed this practice on your site

Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.

Report a copyright problem with this lesson

Sources for this lesson (14)

Each fact in the lesson is marked with the number of the page it comes from.

  1. [1]Microsoft Learn: Study guide for Exam AZ-900: Microsoft Azure Fundamentals
  2. [38]Microsoft Learn: What is Azure Resource Manager?
  3. [125]Microsoft Learn: What are ARM templates?
  4. [127]Microsoft Learn: Describe the purpose of Azure Advisor
  5. [128]Microsoft Learn: Describe Azure Service Health
  6. [129]Microsoft Learn: Describe Azure Monitor
  7. [130]Microsoft Learn: Introduction to Azure Advisor
  8. [131]Microsoft Learn: Advisor score
  9. [132]Microsoft Learn: Azure Monitor overview
  10. [133]Microsoft Learn: Overview of Log Analytics in Azure Monitor
  11. [134]Microsoft Learn: What are Azure Monitor alerts?
  12. [135]Microsoft Learn: Action groups
  13. [136]Microsoft Learn: Introduction to Application Insights - OpenTelemetry observability
  14. [137]Microsoft Learn: Create Azure Advisor alerts on new recommendations by using the Azure portal