Microsoft AZ-801: Microsoft Defender for Cloud and Endpoint Security — Study Guide

Part of the Microsoft Windows Server Hybrid Administrator Associate AZ-801 — Study Guide. Practice with verified answers in the Microsoft exam hub, or take timed practice tests on ExamRoll.io.

Overview

Microsoft Defender for Cloud and Microsoft Defender for Endpoint form a cohesive stack for hardening hybrid Windows Server estates, detecting threats, and enforcing least-privilege access. In Azure and on-premises (via Azure Arc), they provide posture management, automated remediation, and endpoint detection and response (EDR). Understanding Defender for Servers plans, workflow automation, access controls, integrity monitoring, and container protections is essential to build a consistent security baseline and operationalize response.

Cloud Security Posture and Server Plans

Defender for Cloud’s Secure Score quantifies how well your resources comply with security best practices and regulatory standards mapped through Azure Policy. Each security control contributes a weighted share of the score and is backed by one or more recommendations. You improve the Secure Score by addressing recommendations across compute, networking, identities, and data. The remediation workflow begins by drilling into a recommendation, reviewing affected resources and remediation steps, and using quick fixes where available. For example, enabling endpoint protection is a single-click deployment tied to policy that can auto-provision agents. Owners can be assigned to recommendations, due dates set, and remediation tasks tracked. Where a recommendation is not applicable, you can create an exemption with a justification and optional expiration, which updates Secure Score without masking unrelated risk. Regulatory compliance views (e.g., Azure Security Benchmark, CIS) project the same controls into standard-specific assessments for auditors and continuous monitoring.

Defender for Servers provides layered protections via two plans:

Both plans support Azure and Arc-enabled servers. Onboarding at the subscription or workspace level allows Defender for Cloud to auto-provision required agents and extensions using managed identities and Azure Policy, ensuring consistent deployment across scale.

Protection Controls and Automation

Workflow automation operationalizes recommendations and alerts. Playbooks are Azure Logic Apps bound to Defender for Cloud triggers:

Implement playbooks using a system-assigned managed identity granted least-privilege roles (for example, Virtual Machine Contributor to stop VMs). Use filtering conditions to target specific alerts such as “Antimalware disabled in the virtual machine,” then call the Compute PowerOff operation for the affected VM. This pattern reduces mean time to remediate while preserving auditability and consistency.

Just-in-time VM access shrinks the attack surface by closing management ports (SSH, RDP, custom) at the NSG or Azure Firewall until explicitly requested. Prerequisites include an NSG or Azure Firewall applied to the VM network interface or subnet; if none exists, create an NSG first. Configure JIT to specify allowed ports, source ranges (prefer preferred source IP restriction), protocol, and maximum access duration per port. When an operator requests access, Defender for Cloud validates RBAC permissions and either auto-approves or routes for approval per your policy. It then inserts a temporary allow rule scoped to the requester’s public IP and removes it automatically at expiry. All requests, approvals, and NSG rule changes are audited in Defender for Cloud and Azure Activity logs, and can be streamed to Log Analytics or Microsoft Sentinel.

Adaptive application controls leverage machine learning to group similar machines (by workload and observed processes) and propose allowlists. You refine and publish rules using:

Adaptive network hardening analyzes actual traffic patterns and proposes tightened inbound NSG rules. For example, if RDP is observed only from a known management network, the recommendation will restrict 3389/TCP to that range instead of Any. Review and apply recommendations per NSG; Defender for Cloud writes updated rules with descriptive names, preserving change context. Reassess periodically, as new legitimate sources can lead to updated proposals.

File integrity monitoring adds detective controls for changes to critical files and registries. Configure FIM by associating a Log Analytics workspace and enabling the FIM data collection for targeted machines (auto-provisioning is supported). Define monitored paths and registry keys, including include/exclude patterns and sensitivity to content changes versus attribute-only changes. Defender for Cloud raises alerts on unauthorized or suspicious changes with details on who, what, and when; events are stored in your workspace for hunting and correlation. Use retention and data export settings to keep change history aligned with compliance needs.

Endpoint and Vulnerability Management

Onboarding Windows Server to Microsoft Defender for Endpoint is streamlined via Defender for Cloud. For Azure VMs, enable auto-provisioning; for on-premises or other clouds, connect machines with Azure Arc (Azure Connected Machine agent), then enable Defender for Servers to auto-install the MDE unified agent on supported Windows Server versions. Validate onboarding by confirming sensor connectivity and alert generation from test detections.

EDR in block mode strengthens protection by allowing MDE to block malicious artifacts and behaviors even when a third-party antivirus is primary or when Microsoft Defender Antivirus runs in passive mode. Ensure the Microsoft Defender Antivirus engine and platform are present and up to date; enable EDR in block mode via MDE security settings (GPO, Intune, or the MDE portal). This mode is particularly valuable on servers where signature-based AV may miss post-exploitation tool use, as it allows behavior-based blocks.

Live response provides secure, audited remote shell access from the Microsoft Defender portal to an onboarded server for triage and containment. With appropriate roles, responders can collect artifacts, inspect processes and persistence, kill malicious processes, delete files, and apply mitigation scripts. Live response sessions are logged and can be integrated into incident response runbooks.

Vulnerability assessment for servers is available through two integrations:

Containers and Registries

Defender for Cloud’s Defender for Containers secures both images and runtime. For Azure Container Registry, enable image scanning so that each image push and regular rescans identify CVEs, exposed secrets, and configuration issues (e.g., running as root). Findings are surfaced as Defender for Cloud recommendations and can block deployments via pipeline gates. For multi-cloud registries or CI systems, integrate the Defender scanner into your build process to shift-left.

At runtime, enable the Defender agent for Kubernetes (AKS add-on or DaemonSet for other clusters) to detect suspicious behaviors such as privilege escalation within containers, anomalous process activity, crypto-mining, or lateral movement attempts. The runtime sensor correlates host signals, Kubernetes audit logs, and container events, generating alerts enriched with pod, namespace, and node metadata. Harden clusters by applying recommended Kubernetes policy controls, enforcing minimal privileges, and controlling ingress/egress with network policies; align with Secure Score recommendations mapped to the Azure Security Benchmark.

Practical Problem Scenario

Siemens AG operates a hybrid Windows Server estate with Azure VMs and on-premises servers. Management needs to reduce exposure from open management ports, automate reaction to critical alerts, and gain continuous visibility into unauthorized file changes, all while improving regulatory posture.

  1. Onboard servers and choose plan
  1. Improve posture and Secure Score
  1. Implement JIT VM access
  1. Automate response with Logic Apps
  1. Enforce adaptive application and network controls
  1. Configure file integrity monitoring
  1. Standardize vulnerability assessment
  1. Secure containers and registries

Windows Server Security and Hardening · All domains · Microsoft Sentinel and Security Monitoring

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Microsoft →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product