Azure Security Management
Microsoft Defender for Cloud · CSPM · secure score · policies, standards and recommendations · cloud workload protection
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Microsoft Defender for Cloud
Microsoft Defender for Cloud is a Cloud Native Application Protection Platform (CNAPP): a unified solution that combines multiple cloud security tools to protect applications across their entire lifecycle. It covers resources in Azure, in other clouds such as AWS and GCP, and in on-premises environments.
| Pillar | What it does |
|---|---|
| CSPM (Cloud Security Posture Management) | Checks and improves the security posture of cloud resources |
| CWPP (Cloud Workload Protection Platform) | Defends workloads such as VMs, containers, storage, databases and serverless functions from threats |
| DevSecOps (Development Security Operations) | Manages code-level security across multicloud and multi-pipeline environments |
- Defender for DevOps, a service in Defender for Cloud, lets security teams manage DevOps security across pipelines such as GitHub, Azure DevOps and GitLab.
- Defender for Cloud also provides AI security posture management (AI SPM) and AI threat protection for generative AI workloads.
- Defender for Cloud integrates with the Defender XDR portal and the Microsoft Security ecosystem.
Cloud Security Posture Management (CSPM)
Misconfiguration is one of the leading causes of cloud security incidents. CSPM continuously assesses your systems and automatically alerts security staff when vulnerabilities or misconfigurations are found.
| Plan | Cost | Includes |
|---|---|---|
| Foundational CSPM | Free | Asset discovery, continuous assessment and security recommendations, compliance with the Microsoft cloud security benchmark (MCSB), secure score |
| Defender CSPM | Paid | Advanced capabilities: attack path analysis, cloud security explorer, governance, data security posture management, AI security posture management |
- Secure score aggregates all findings into a single score. The higher the score, the lower the identified risk level.
- Recommendations are grouped into security controls. Your score only improves when you remediate all of the recommendations for a single resource within a control.
- Only built-in recommendations from the MCSB affect the secure score. Risk prioritization does not affect it.
- Defender for Cloud calculates each control every eight hours for each Azure subscription or for each AWS or GCP cloud connector.
- Attack path analysis shows how an attacker might chain vulnerabilities to reach high-value resources.
- Cloud security explorer is a query-based tool to proactively explore the security state of your cloud environment.
- Governance lets administrators assign recommendations to resource owners and set due dates.
- Data security posture management (DSPM) automatically discovers datastores that contain sensitive information. It is available with Defender CSPM or Defender for Storage.
Security policies, standards and recommendations
- A security policy in Defender for Cloud is backed by Azure Policy. An Azure Policy definition is a rule about a specific security condition you want controlled.
- A security initiative is a collection of Azure Policy definitions grouped toward a specific goal. You assign it to a scope such as a management group, subscription or resource group.
- Security standards define the controls and assessment logic. Types: security benchmarks, regulatory compliance standards and custom standards.
- Defender for Cloud continuously evaluates your resources against the standards.
- When a resource does not meet a control, Defender for Cloud generates a recommendation with a description, remediation steps, affected resources, severity and risk factors.
- The Microsoft cloud security benchmark (MCSB) is the default standard, applied automatically when you first enable Defender for Cloud on a subscription. It covers Azure and multicloud environments.
- Recommendations have a severity level: high, medium or low.
- In the Defender CSPM plan, recommendations are further enriched with risk prioritization.
- You can add regulatory standards such as ISO 27001, SOC 2, NIST SP 800-53 and PCI DSS. The regulatory compliance dashboard shows each control and how many resources pass or fail it.
- Fixing one recommendation can improve your compliance status across multiple standards at once.
- Custom recommendations can be written with Kusto Query Language (KQL) when the Defender CSPM plan is enabled.
Cloud workload protection and enhanced security
Cloud workload protection is delivered through Microsoft Defender plans specific to resource types. The plans can be enabled separately and run simultaneously.
| Defender plan | Protects |
|---|---|
| Defender for Servers | Threat detection and advanced defenses for Windows and Linux machines; includes Defender for Endpoint for endpoint detection and response (EDR) |
| Defender for App Service | Identifies attacks targeting applications running over App Service |
| Defender for Storage | Detects potentially harmful activity on Azure Storage accounts |
| Defender for Databases | Attack detection and threat response for Azure SQL, open-source relational databases and Azure Cosmos DB |
| Defender for Containers | Environment hardening, workload protection and run-time threat detection for Kubernetes and containerized workloads |
| Defender for Key Vault | Advanced threat protection for Azure Key Vault |
| Defender for Resource Manager | Automatically monitors resource management operations |
| Defender for AI Services | Threat protection for AI workloads, including prompt injection attacks |
Enhanced security features
- Endpoint detection and response (EDR) through Defender for Endpoint in Defender for Servers.
- Vulnerability scanning for virtual machines, container registries and SQL resources.
- Multicloud and hybrid security: connect AWS and GCP accounts, and get a unified view of on-premises and cloud workloads.
- Threat protection alerts: security alerts indicate the nature and severity of a threat.
- Access and application controls: allow lists and block lists, and just-in-time, controlled access to management ports on Azure VMs.
- Track compliance against additional standards from the regulatory compliance dashboard.
Defender for Servers has two plans. Plan 1 (P1) is entry-level and focuses on the EDR capabilities from the Defender for Endpoint integration. Plan 2 (P2) provides the same features as Plan 1 and other capabilities.
Exam Tips
Tick each tip once you can answer it without looking.
“One unified CNAPP for Azure, multicloud and on-premises” → Microsoft Defender for Cloud. Trap: Defender for Cloud combines several tools; it is not a single posture tool.
“Name the three pillars of Defender for Cloud” → DevSecOps, CSPM and CWPP. Trap: CSPM is about posture; CWPP is about protecting workloads from threats.
“Continuously find misconfigurations and show hardening recommendations” → Cloud Security Posture Management (CSPM). Trap: CWPP defends workloads from threats; it is not the posture pillar.
“Posture management at no cost” → Foundational CSPM. Trap: Defender CSPM is the paid plan with advanced capabilities.
“Attack path analysis or cloud security explorer” → Defender CSPM plan (paid). Trap: Foundational CSPM does not include them.
“A single score where a higher number means lower identified risk” → Secure score. Trap: Risk prioritization does not affect it; only built-in MCSB recommendations do.
“Default standard applied when you enable Defender for Cloud” → Microsoft cloud security benchmark (MCSB). Trap: ISO 27001, SOC 2, NIST SP 800-53 and PCI DSS are standards you add; they are not the default.
“Single rule vs grouped rules in Azure Policy” → Policy definition = one rule; initiative = a collection of definitions. Trap: An initiative is not a single rule.
“A resource fails a control” → Defender for Cloud generates a recommendation (severity high, medium or low). Trap: Severity is not the same as risk prioritization, which comes with Defender CSPM.
“Show compliance with ISO 27001 or PCI DSS” → Add a regulatory standard; check the regulatory compliance dashboard. Trap: One recommendation can improve compliance for multiple standards at once.
“Threat detection and EDR for Windows and Linux servers” → Defender for Servers (Plan 1 is entry-level EDR). Trap: Plan 2 provides the same features as Plan 1 and other capabilities.
“Detect unusual attempts to access or exploit Key Vault accounts” → Defender for Key Vault. Trap: Azure Key Vault stores secrets; the Defender plan adds threat protection.
“Run-time threat detection and hardening for Kubernetes” → Defender for Containers. Trap: Defender for Servers is for Windows and Linux machines; Kubernetes protection is Defender for Containers.
“Find exposed secrets and IaC misconfigurations in code repositories” → Defender for DevOps (DevSecOps pillar). Trap: CSPM and CWPP work on cloud resources and workloads.
“Reduce the attack surface of VM management ports” → Just-in-time access (access and application controls). Trap: Attack path analysis models attacker routes; it does not control port access.
“Discover datastores that hold sensitive data” → Data security posture management (Defender CSPM or Defender for Storage). Trap: DSPM is available with Defender CSPM or Defender for Storage.
Sources
- Microsoft Defender for Cloud overview
- What is Cloud Security Posture Management (CSPM)
- Security policies in Microsoft Defender for Cloud
- Cloud Secure Score in Microsoft Defender for Cloud
- Overview of Defender for Servers
- Regulatory compliance in Defender for Cloud
- Learn module: Describe Microsoft Defender for Cloud
- Learn module: Describe how security policies, standards, and recommendations improve cloud security posture
- Learn module: Describe Cloud security posture management
- Learn module: Describe the enhanced security of Microsoft Defender for Cloud
- Learn module: Describe DevOps security management
Checked against Microsoft Learn on November 13, 2026.