AZ-104Chapter 155 of 168Objective 5.1

Azure Advisor Recommendations

This chapter covers Azure Advisor, a free, built-in service that provides personalized recommendations to help you follow Azure best practices. For the AZ-104 exam, Advisor is a key topic under Monitoring (Objective 5.1), typically appearing in 5-10% of questions. You will need to understand how Advisor evaluates resources, the five recommendation categories, how to configure alerts and suppression, and how to interpret recommendations. We'll go deep into the mechanics, configuration, and exam traps.

25 min read
Intermediate
Updated May 31, 2026

Azure Advisor as a Personal Mechanic

Imagine you own a fleet of delivery trucks. Each truck has dozens of components: engine, brakes, tires, GPS, and cooling system. You hire a personal mechanic who constantly monitors every truck's telemetry data. The mechanic doesn't drive the trucks or fix them directly. Instead, they produce a prioritized list of recommendations: 'Truck #7 has brake pads worn to 2mm — replace within 500 miles to avoid failure.' or 'Truck #12's engine air filter is 80% clogged — replacing it will improve fuel economy by 5%.' The mechanic never touches the trucks; they only advise. As the fleet manager, you review the list and decide which recommendations to implement and when. Some recommendations are critical safety issues (high severity), others are cost-saving opportunities (medium severity), and some are just nice-to-have tweaks (low severity). The mechanic also learns from past actions: if you consistently ignore certain types of advice, they may adjust how they present it. In Azure, Advisor works exactly like this: it analyzes your deployed resources (VMs, storage accounts, SQL databases, etc.) against best practices and performance metrics, then generates actionable recommendations across five categories: Reliability, Security, Performance, Cost, and Operational Excellence. You can view them in the portal, download them as CSV, or access them via REST API. The recommendations include a description, recommended action, and potential impact. You can snooze or dismiss recommendations, and Advisor tracks your history of actions. Crucially, Advisor doesn't implement anything automatically — it's purely advisory, like the mechanic.

How It Actually Works

What is Azure Advisor and Why It Exists

Azure Advisor is a fully managed, no-cost service that continuously analyzes your Azure resources and provides recommendations to improve reliability, security, performance, cost, and operational excellence. It is a core part of Azure's governance and monitoring suite, alongside Azure Monitor, Azure Policy, and Azure Security Center (now Microsoft Defender for Cloud). Advisor is essentially a rules engine that evaluates resource configurations against a set of best practices defined by Microsoft engineering teams. It does not require any setup – it is enabled by default for all subscriptions and tenants.

Why does Advisor exist? In large enterprises, managing thousands of resources makes it impossible for humans to manually check every VM for underutilization, every storage account for redundancy, or every SQL database for backup settings. Advisor automates this audit process, surfacing issues that would otherwise go unnoticed until they cause an outage or overspend. For the AZ-104 exam, you must know that Advisor is passive – it never makes changes. It only suggests changes. The administrator must review and implement recommendations.

How Azure Advisor Works Internally

Advisor operates on a scanning loop. Every 24 hours (approximately), Advisor evaluates all resources in a subscription against a set of rules. These rules are defined by Microsoft and are periodically updated. The evaluation happens in the background using Azure Resource Graph and telemetry data from Azure Monitor. For each resource, Advisor checks configuration properties, performance metrics (like CPU usage, IOPS, network throughput), and security settings.

For example, a rule for cost might check if a VM has average CPU usage below 5% over the past 7 days. If so, it recommends right-sizing or shutting down. A reliability rule might check if a virtual machine does not have availability set or zone redundancy configured. A security rule might check if network security groups allow unrestricted inbound RDP/SSH (port 22, 3389) from any source (0.0.0.0/0).

The output is a list of recommendations, each with:

Category (Cost, Security, Reliability, Performance, Operational Excellence)

Impact (High, Medium, Low)

Description

Recommended action (often a link to the resource blade or a quick-fix button)

Potential benefit (e.g., estimated monthly savings for cost recommendations)

Advisor stores recommendations in the subscription's data. They are accessible via portal, REST API, CLI, or PowerShell. The default retention is 90 days. Recommendations are not automatically deleted after implementation – they are removed when the resource no longer violates the rule (i.e., after the fix is applied and the next scan runs).

Key Components, Values, Defaults, and Timers

Scan frequency: Every 24 hours. However, some recommendations (especially security) may update more frequently (near real-time via Defender for Cloud integration).

Recommendation categories: Exactly five: Cost, Security, Reliability, Performance, Operational Excellence.

Impact levels: High (immediate risk or significant savings), Medium (moderate risk or savings), Low (minor improvement).

Default retention: 90 days. Recommendations older than 90 days are automatically purged.

Suppression: You can snooze a recommendation for 1 week, 1 month, 3 months, or indefinitely. Suppressed recommendations are hidden from the default view but can be shown by filtering.

Alerts: You can configure Azure Monitor alerts to fire when new recommendations are generated (e.g., email the admin when a high-severity recommendation appears).

REST API: https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations?api-version=2020-01-01

CLI commands: az advisor recommendation list, az advisor recommendation disable (for suppression), az advisor configuration update (to configure low CPU threshold for cost recommendations).

Configuration and Verification Commands

Advisor's configuration is minimal. You can configure: - Cost recommendations threshold: The average CPU utilization percentage below which a VM is considered underutilized. Default is 5% over 7 days. You can adjust this via Azure CLI or PowerShell. - Exclusions: You can exclude specific subscriptions or resource groups from Advisor evaluation. - Recommendation alerts: Set up action groups to notify when new recommendations appear.

Example CLI commands:

# List all recommendations for a subscription
az advisor recommendation list --subscription MySubscription

# List only cost recommendations with high impact
az advisor recommendation list --category Cost --impact High

# Suppress a recommendation (by resource URI)
az advisor recommendation disable --ids /subscriptions/.../resourceGroups/.../providers/.../recommendations/...

# Update cost threshold (set to 10%)
az advisor configuration update --low-cpu-threshold 10 --subscription MySubscription

PowerShell equivalent:

Get-AzAdvisorRecommendation -Category Cost
Disable-AzAdvisorRecommendation -RecommendationId "..."
Set-AzAdvisorConfiguration -LowCpuThreshold 10

How Advisor Interacts with Related Technologies

Azure Monitor: Advisor uses metrics (e.g., CPU, memory, disk IO) from Azure Monitor to determine utilization patterns. Without proper metric collection (e.g., if diagnostics are disabled), Advisor may not generate accurate recommendations.

Azure Policy: Advisor does not enforce policies. However, you can use Azure Policy to automatically remediate some Advisor recommendations (e.g., deploy backup on VMs). Policy evaluation is separate.

Microsoft Defender for Cloud: Security recommendations in Advisor are actually sourced from Defender for Cloud (formerly Azure Security Center). If you disable Defender for Cloud, security recommendations disappear from Advisor.

Azure Cost Management: Cost recommendations (like right-sizing or shutting down idle VMs) are also visible in Cost Management + Billing. The savings estimates are calculated using Azure Retail Prices.

Resource Graph: Advisor uses Azure Resource Graph to query resource configurations and properties across subscriptions.

Exam-Relevant Details

Advisor is free and enabled by default for all subscriptions.

It does not require any agents or additional configuration.

Recommendations are read-only – you must implement them manually or via automation (e.g., Azure Automation runbooks).

The five categories are Cost, Security, Reliability, Performance, Operational Excellence (order is not important but memorize them).

Security recommendations are shared with Microsoft Defender for Cloud. If you disable Defender for Cloud, security recommendations disappear.

You can download recommendations as CSV or PDF (from portal).

You can snooze (suppress) recommendations for a specific duration.

Advisor does not support custom rules. You cannot add your own recommendations.

The evaluation is per subscription, but you can view all subscriptions in a management group.

Advisor also provides Score (Advisor Score) which is a percentage of how well you follow best practices. This is a newer feature but not heavily tested on AZ-104.

Common Exam Traps

Trap: Advisor makes changes automatically. Reality: Advisor only recommends. It never automatically changes resources.

Trap: Advisor requires configuration. Reality: It works out of the box. You can configure thresholds and exclusions, but it is not required.

Trap: Security recommendations are only in Advisor. Reality: They are also in Microsoft Defender for Cloud.

Trap: Advisor can be disabled per resource. Reality: You can only exclude subscriptions or resource groups, not individual resources.

Trap: Cost recommendations are based on current usage only. Reality: They use historical usage (last 7 days by default) to estimate savings.

Step-by-Step: How to Use Advisor in the Portal

1.

In the Azure portal, search for 'Advisor' and select it.

2.

The dashboard shows five tabs: Cost, Security, Reliability, Performance, Operational Excellence.

3.

Each tab lists recommendations with impact level, description, and recommended action.

4.

Click on a recommendation to see details and a link to the resource.

5.

To implement, click the 'Quick Fix' button if available (e.g., for enabling backup).

6.

To suppress, click 'Snooze' and choose duration.

7.

To configure alerts, go to 'Alert' tab and create a new alert rule based on Advisor recommendations.

8.

To download, click 'Download as CSV' or 'Download as PDF'.

Summary of Key Values

Scan interval: 24 hours

Retention: 90 days

Categories: 5 (Cost, Security, Reliability, Performance, Operational Excellence)

Impact levels: 3 (High, Medium, Low)

Default CPU threshold for cost: 5%

Suppression durations: 1 week, 1 month, 3 months, indefinite

CLI command: az advisor recommendation list

REST API version: 2020-01-01

Walk-Through

1

Enable and Access Azure Advisor

Azure Advisor is enabled by default for all subscriptions. To access it, sign in to the Azure portal, search for 'Advisor' in the top search bar, and select the Advisor service. The dashboard presents an overview with a score and a breakdown of recommendations by category. No initial configuration is required. For the exam, remember that Advisor is automatically active – you don't need to turn it on. However, you can configure exclusions or thresholds using the Advisor configuration blade or CLI.

2

Review Recommendations by Category

The Advisor dashboard has five tabs: Cost, Security, Reliability, Performance, and Operational Excellence. Each tab lists recommendations for that category. For each recommendation, you see the impacted resources, a description, the potential benefit (e.g., monthly cost savings), and the impact level (High, Medium, Low). Clicking on a recommendation reveals more details and a recommended action. Some recommendations have a 'Quick Fix' button that opens the resource blade with pre-filled settings. The exam expects you to know the five categories and that security recommendations are shared with Microsoft Defender for Cloud.

3

Implement or Dismiss Recommendations

To implement a recommendation, you can click on the resource link to navigate to the resource and make changes manually, or use the 'Quick Fix' option if available. For example, a recommendation to enable VM backup might have a 'Quick Fix' that opens the backup configuration page. After you implement the change, Advisor will remove the recommendation after the next scan cycle (within 24 hours). You can also dismiss (snooze) a recommendation for a specific period: 1 week, 1 month, 3 months, or indefinitely. Dismissed recommendations are hidden from the default view but can be shown by filtering. The exam may ask about suppression durations and that snoozing is reversible.

4

Configure Advisor Alerts and Notifications

You can set up Azure Monitor alerts to notify you when new recommendations are generated. In the Advisor portal, go to the 'Alerts' tab and click 'New Advisor Alert'. You define the alert condition (e.g., when a new recommendation with impact level High appears), the action group (email, SMS, webhook), and the severity. The alert fires when Advisor generates a recommendation that matches the criteria. This is useful for proactive monitoring. The exam may test that alerts are configured via Azure Monitor, not within Advisor itself.

5

Customize Advisor Configuration

You can adjust Advisor's behavior by modifying its configuration. In the portal, navigate to Advisor > Configuration. Here you can exclude subscriptions or resource groups from evaluation (e.g., if you have a test subscription that you don't want recommendations for). You can also change the low CPU threshold for cost recommendations (default 5% average over 7 days). This threshold determines when a VM is considered underutilized. Changing it to 10% means VMs with less than 10% average CPU usage will receive cost recommendations. Use CLI: `az advisor configuration update --low-cpu-threshold 10 --subscription MySub`. The exam may ask what the default threshold is and how to modify it.

What This Looks Like on the Job

Scenario 1: Cost Optimization for a Large Enterprise

A multinational company runs 2,000 VMs across multiple subscriptions. Their cloud costs are spiraling. The cloud operations team uses Advisor's Cost recommendations to identify underutilized VMs. They set the low CPU threshold to 10% (instead of default 5%) to catch more VMs. Advisor flags 300 VMs with average CPU below 10% over 7 days. The team uses the recommendation details to right-size or shut down VMs during off-hours. They automate the shutdown using Azure Automation runbooks triggered by Advisor alerts. The result: 20% cost reduction. Misconfiguration risk: If they set the threshold too high (e.g., 50%), they might get false positives and unnecessarily resize VMs that are actually busy but with spikes. Also, Advisor's savings estimates are based on list prices; actual savings depend on reserved instances or hybrid benefit.

Scenario 2: Security Compliance for a Financial Institution

A bank must comply with PCI DSS. They use Advisor's Security recommendations (backed by Microsoft Defender for Cloud) to identify VMs with open management ports (RDP/SSH) to the internet. Advisor flags 50 VMs with NSG rules allowing 0.0.0.0/0 on port 3389. The security team reviews and restricts access to specific IP ranges. They also set up an alert to email the security lead when a new high-severity security recommendation appears. Without Advisor, these open ports might go unnoticed until an audit. A common mistake: assuming Advisor's security recommendations are independent of Defender for Cloud. In reality, disabling Defender for Cloud removes security recommendations from Advisor.

Scenario 3: Reliability for a SaaS Provider

A SaaS provider runs 100 VMs in a single availability zone. Advisor's Reliability recommendations suggest using Availability Sets or Zones to protect against datacenter failures. The team implements the recommendation by redeploying VMs into an availability set. They also enable backup via Advisor's recommendation. However, they overlook the recommendation to configure geo-redundant storage for their SQL databases. A regional outage occurs, and they lose data. Advisor had flagged this but was dismissed. The lesson: treat high-impact reliability recommendations as mandatory. Misconfiguration: If they had excluded the production subscription from Advisor evaluation, they would have missed these warnings.

How AZ-104 Actually Tests This

What AZ-104 Tests on Azure Advisor

AZ-104 objective 5.1 (Monitor resources by using Azure Monitor, Azure Advisor, and Azure Service Health) includes Advisor. You should be able to:

Describe the purpose and capabilities of Azure Advisor.

Identify the five categories of recommendations.

Interpret recommendations and understand how to implement or suppress them.

Configure Advisor alerts and thresholds.

Differentiate Advisor from Azure Monitor and Microsoft Defender for Cloud.

Common Wrong Answers and Why

1.

'Advisor automatically applies recommendations.' This is the #1 trap. Candidates see 'recommendation' and assume automation. Reality: Advisor is read-only. You must manually or programmatically apply changes.

2.

'Advisor requires you to configure it first.' False. It's enabled by default. But you can customize thresholds and exclusions.

3.

'Security recommendations are exclusive to Advisor.' Wrong. They are shared with Microsoft Defender for Cloud. Disabling Defender removes them.

4.

'Advisor can generate custom recommendations.' No. Only Microsoft-defined rules.

Specific Numbers and Terms

Default low CPU threshold: 5% over 7 days.

Scan frequency: 24 hours.

Recommendation retention: 90 days.

Suppression durations: 1 week, 1 month, 3 months, indefinite.

Categories: Cost, Security, Reliability, Performance, Operational Excellence (memorize them).

Impact levels: High, Medium, Low.

Edge Cases and Exceptions

If a VM is deallocated (stopped), Advisor does not generate cost recommendations for it because it's not incurring compute costs.

If diagnostics are disabled, Advisor may not have performance metrics and may skip performance recommendations.

Advisor does not evaluate resources in 'Disabled' subscriptions.

You can exclude entire subscriptions or resource groups, but not individual resources.

Recommendations for newly created resources may take up to 24 hours to appear.

How to Eliminate Wrong Answers

If an answer says Advisor automatically does something, it's wrong.

If an answer mentions 'custom recommendations', it's wrong.

If an answer says security recommendations are only in Advisor, it's wrong (they are also in Defender for Cloud).

If an answer says you need to enable Advisor, it's wrong (it's on by default).

If an answer mentions 'real-time' scanning, it's wrong (24-hour cycle).

Key Takeaways

Azure Advisor is free, enabled by default, and provides recommendations in five categories: Cost, Security, Reliability, Performance, and Operational Excellence.

Advisor never automatically implements recommendations; it only advises.

The default low CPU threshold for cost recommendations is 5% average over 7 days.

Advisor scans resources approximately every 24 hours; recommendations are retained for 90 days.

Security recommendations in Advisor are shared with Microsoft Defender for Cloud.

You can suppress (snooze) recommendations for 1 week, 1 month, 3 months, or indefinitely.

Advisor supports alerts via Azure Monitor; you can configure action groups to notify on new recommendations.

You can exclude entire subscriptions or resource groups from Advisor evaluation using the configuration blade.

Advisor does not support custom recommendations; only Microsoft-defined rules are used.

The Advisor Score (percentage) reflects how well you follow best practices but is not a major exam topic.

Easy to Mix Up

These come up on the exam all the time. Here's how to tell them apart.

Azure Advisor

Provides proactive recommendations based on best practices.

Covers five categories: Cost, Security, Reliability, Performance, Operational Excellence.

Does not collect or store metrics; uses existing data from Azure Monitor.

Enabled by default, no configuration required.

Output is a list of actionable recommendations.

Azure Monitor

Collects and analyzes telemetry data (metrics, logs).

Covers monitoring, alerting, and diagnostics.

Requires configuration of diagnostic settings, metrics, and logs.

Must be set up manually; not enabled by default for all resources.

Output is dashboards, alerts, and logs.

Watch Out for These

Mistake

Azure Advisor automatically implements its recommendations.

Correct

Advisor is a recommendation engine only. It never makes changes automatically. You must manually implement or use automation (e.g., Azure Automation runbooks) to apply changes.

Mistake

Azure Advisor requires initial setup and configuration.

Correct

Advisor is enabled by default for all subscriptions. No setup is needed. However, you can optionally configure thresholds and exclusions.

Mistake

Security recommendations in Advisor are independent of Microsoft Defender for Cloud.

Correct

Security recommendations in Advisor are actually sourced from Microsoft Defender for Cloud. If you disable Defender for Cloud, security recommendations disappear from Advisor.

Mistake

Advisor scans resources in real time.

Correct

Advisor scans approximately every 24 hours. It is not real-time. Some security recommendations may update more frequently due to Defender for Cloud integration, but the general cycle is daily.

Mistake

You can create custom recommendations in Advisor.

Correct

Advisor only provides recommendations based on Microsoft-defined best practices. You cannot add your own custom rules or recommendations.

Do You Actually Know This?

Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.

Frequently Asked Questions

Is Azure Advisor free?

Yes, Azure Advisor is completely free. There is no cost associated with using it. It is included with any Azure subscription. However, implementing recommendations may incur costs (e.g., adding a backup vault). For the exam, remember that Advisor itself is free.

How often does Azure Advisor scan my resources?

Advisor scans your resources approximately every 24 hours. This means after you make a change, it may take up to 24 hours for the recommendation to disappear. Some security recommendations may update more frequently due to integration with Microsoft Defender for Cloud. The exam may test this 24-hour cycle.

Can I create custom recommendations in Azure Advisor?

No, you cannot create custom recommendations. Advisor only provides recommendations based on Microsoft-defined best practices. If you need custom compliance checks, use Azure Policy. The exam often tests this limitation.

What happens to security recommendations if I disable Microsoft Defender for Cloud?

Security recommendations will no longer appear in Azure Advisor because they are sourced from Microsoft Defender for Cloud. The other four categories (Cost, Reliability, Performance, Operational Excellence) remain unaffected. This is a common exam trap.

How do I suppress a recommendation in Azure Advisor?

You can suppress (snooze) a recommendation by selecting it and clicking 'Snooze'. You can choose a duration: 1 week, 1 month, 3 months, or indefinitely. Suppressed recommendations are hidden from the default view but can be shown by filtering. To unsuppress, you must remove the suppression via the portal or CLI.

Does Azure Advisor support cross-subscription recommendations?

Advisor evaluates resources per subscription. However, you can view recommendations for multiple subscriptions by selecting them in the portal filter. There is no cross-subscription aggregation unless you use management groups. The exam may ask about scope.

Can I configure Azure Advisor to send email notifications?

Yes, you can configure Azure Monitor alerts based on Advisor recommendations. In the Advisor 'Alerts' tab, you can create an alert rule that triggers when a new recommendation is generated. You specify an action group (e.g., email, SMS). This is the only way to get email notifications.

Terms Worth Knowing

Ready to put this to the test?

You've just covered Azure Advisor Recommendations — now see how well it sticks with free AZ-104 practice questions. Full explanations included, no account needed.

Done with this chapter?