Lesson 23 of 28 · see all lessons
Start here: cloud concepts (skill area 1, 25-30%)
- 1. Start here: the AZ-900 exam, the plan and what you already know
- 2. What cloud computing is: shared responsibility and cloud models
- 3. Paying for the cloud: the consumption-based model, pricing models and serverless
- 4. Why the cloud: availability, scalability, reliability, security and manageability
- 5. IaaS, PaaS and SaaS: cloud service types and when to use each
Azure architecture, compute and networking (skill area 2, 35-40%)
- 6. Azure global infrastructure: regions, region pairs, sovereign regions and availability zones
- 7. Organizing Azure: resources, resource groups, subscriptions and management groups
- 8. Azure virtual machines: VM options, scale sets, availability sets and Azure Virtual Desktop
- 9. Containers, Azure Functions and app hosting: choosing a compute type
- 10. Azure networking: virtual networks, subnets, peering and Azure DNS
- 11. Connecting to Azure: VPN Gateway, ExpressRoute, and public and private endpoints
Storage and migration (skill area 2)
Identity, access and security (skill area 2)
Management and governance (skill area 3, 30-35%)
- 19. Azure costs: cost factors, the pricing calculator, Cost Management and tags
- 20. Governance and compliance: Microsoft Purview, Azure Policy and resource locks
- 21. Managing Azure: the portal, Cloud Shell, Azure CLI, PowerShell and Azure Arc
- 22. Infrastructure as code: Azure Resource Manager and ARM templates
- 23. Monitoring Azure: Advisor, Service Health, Azure Monitor, Log Analytics, alerts and Application Insights
Final review and four mock exams
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?
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.
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.
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.
Copperleaf wants an email whenever Microsoft plans maintenance that affects the Azure services and regions Copperleaf uses. What should it use?
Pick one answer.
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.
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.
Match
Match each Copperleaf need to the alert piece that handles it.
Pick an item on the left, then its match on the right.
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.
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.
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.
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?
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.
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.
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.
Worth keeping
- Azure Advisor gives recommendations in five categories: reliability, security, performance, operational excellence, cost.
- Azure status is global; Service Health covers your services and regions; Resource Health covers one resource.
- Azure Monitor collects metrics and logs from Azure, on premises and other clouds.
- Log Analytics queries logs; alerts plus action groups notify people and run actions.
- 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]Microsoft Learn: Study guide for Exam AZ-900: Microsoft Azure Fundamentals
- [38]Microsoft Learn: What is Azure Resource Manager?
- [125]Microsoft Learn: What are ARM templates?
- [127]Microsoft Learn: Describe the purpose of Azure Advisor
- [128]Microsoft Learn: Describe Azure Service Health
- [129]Microsoft Learn: Describe Azure Monitor
- [130]Microsoft Learn: Introduction to Azure Advisor
- [131]Microsoft Learn: Advisor score
- [132]Microsoft Learn: Azure Monitor overview
- [133]Microsoft Learn: Overview of Log Analytics in Azure Monitor
- [134]Microsoft Learn: What are Azure Monitor alerts?
- [135]Microsoft Learn: Action groups
- [136]Microsoft Learn: Introduction to Application Insights - OpenTelemetry observability
- [137]Microsoft Learn: Create Azure Advisor alerts on new recommendations by using the Azure portal