Skip to content

04 Microsoft Defender for Cloud

Cloud security posture is not about collecting recommendations. It is about understanding which weaknesses matter, why they matter, and how to reduce the real risk to the environment.

Welcome to the Microsoft Defender for Cloud Lab.

In the previous Azure labs, you focused on:

  • Azure RBAC

  • Microsoft Entra ID Security

  • Azure Network Security

Now you will move into cloud security posture management and workload protection.

The objective is to move from:

I know what Microsoft Defender for Cloud is.

to:

I can review Azure security posture, investigate findings, prioritize risk, and document remediation.

This lab is especially relevant for:

  • Azure Security Engineers

  • Cloud Security Engineers

  • Cloud Security Analysts

  • Security Consultants

  • SOC Analysts

  • Cloud Security Architects

Item Details
Lab Microsoft Defender for Cloud
Difficulty Beginner → Intermediate
Estimated Time 2–3 hours
Primary Focus Cloud Security Posture & Workload Protection
Target Roles Azure Security Engineer, Cloud Security Analyst, Security Consultant
Certification Alignment AZ-500, SC-100
Career Skill Security Posture Assessment & Finding Prioritization
Environment Personal Azure lab subscription
Cost Awareness Some Defender plans can generate charges

Some Microsoft Defender for Cloud capabilities may require paid plans.

Before enabling anything beyond your existing lab configuration:

  • review pricing

  • understand trial periods

  • enable only what you need

  • avoid leaving paid protections enabled unintentionally

  • review Azure Cost Management after the lab

If a paid feature is not available, complete the design and assessment portions conceptually.

You have joined an organization as a Cloud Security Engineer.

The Azure environment contains:

  • virtual machines

  • storage accounts

  • virtual networks

  • application resources

  • identity assignments

Management has asked:

“What are our biggest Azure security risks, and what should we fix first?”

Defender for Cloud shows numerous:

  • recommendations

  • posture weaknesses

  • compliance findings

  • security alerts

  • workload-security issues

Your task is to:

  1. understand the environment

  2. review posture

  3. prioritize findings

  4. investigate high-risk issues

  5. remediate selected weaknesses

  6. validate improvements

  7. create a professional security report

By the end of this lab, you should be able to:

  • explain Microsoft Defender for Cloud

  • distinguish posture management from threat detection

  • review security recommendations

  • understand secure score concepts

  • prioritize recommendations

  • review workload-protection capabilities

  • inspect security alerts

  • review regulatory/compliance views

  • identify vulnerability-related findings

  • correlate findings with Azure resources

  • create security findings

  • recommend remediation

  • validate security improvements

  • explain Defender for Cloud in interviews

You should understand:

  • Azure subscriptions

  • resource groups

  • Azure RBAC

  • Microsoft Entra ID

  • VNets

  • NSGs

  • virtual machines

  • storage

  • Azure Monitor basics

Recommended previous learning:

  • AZ-104

  • AZ-500

  • SC-100

  • Azure RBAC Lab

  • Microsoft Entra ID Security Lab

  • Azure Network Security Lab

Think:

Azure Resources
Security Assessment
Recommendations
Risk Prioritization
Remediation
Improved Security Posture

For workload threat protection:

Workload Activity
Security Signal
Alert
Investigation
Response

Defender for Cloud helps answer two different kinds of questions:

How securely is the environment configured?

Is suspicious or malicious activity affecting workloads?

Do not confuse these.

🧪 Task 1 — Open Microsoft Defender for Cloud

Section titled “🧪 Task 1 — Open Microsoft Defender for Cloud”

Navigate to:

Azure Portal → Microsoft Defender for Cloud

Review the main dashboard.

Identify available sections such as:

  • security posture

  • recommendations

  • inventory

  • workload protections

  • regulatory compliance

  • security alerts

The exact interface may evolve, so focus on the concepts rather than memorizing menu placement.

🧪 Task 2 — Review Subscription Coverage

Section titled “🧪 Task 2 — Review Subscription Coverage”

Identify:

  • subscriptions monitored

  • environments connected

  • available Defender plans

  • current coverage

Create:

Subscription Defender Coverage Security Posture Available? Notes

Ask:

Are all important Azure subscriptions visible to the security team?

A security tool cannot assess an environment it cannot see.

🧪 Task 3 — Review Environment Inventory

Section titled “🧪 Task 3 — Review Environment Inventory”

Review available resource inventory.

Identify resources such as:

  • VMs

  • storage accounts

  • network resources

  • databases

  • application services

  • containers where applicable

Create:

Resource Type Environment Criticality Internet Exposure

🧠 Prioritization Begins With Asset Context

Section titled “🧠 Prioritization Begins With Asset Context”

A recommendation on a:

disposable test VM

may have different urgency from the same issue on:

a production system containing regulated data.

Open the security-posture view.

Review:

  • overall security state

  • recommendations

  • resource coverage

  • posture trends where available

Do not ask:

How do I make every dashboard item green?

Ask:

Which weaknesses create the greatest real risk?

Explore the available secure-score information.

Understand the concept:

Security Controls
Implemented / Missing
Posture Score

Secure score is a useful posture indicator.

It is not:

a guarantee that the environment is secure.

A high score does not eliminate:

  • application vulnerabilities

  • compromised credentials

  • unknown threats

  • architecture weaknesses

🧪 Task 6 — Identify the Largest Score Opportunities

Section titled “🧪 Task 6 — Identify the Largest Score Opportunities”

Review which recommendations or control groups contribute most to posture improvement.

Record:

Recommendation Group Potential Improvement Effort Security Value

Do not prioritize only by:

highest score increase.

Consider:

Security Impact
+
Asset Criticality
+
Exposure
+
Exploitability
+
Remediation Effort

🧪 Task 7 — Review Security Recommendations

Section titled “🧪 Task 7 — Review Security Recommendations”

Open:

Defender for Cloud → Recommendations

Review a selection of findings.

For each record:

  • recommendation

  • affected resource

  • severity

  • exposed publicly?

  • resource criticality

  • remediation guidance

Recommendation Resource Severity Exposure Priority

Ask:

What threat or weakness is this recommendation trying to address?

Do not remediate blindly.

Create categories:

Identity
Network
Compute
Storage
Data
Monitoring
Vulnerability
Governance

This helps you identify recurring security themes.

Use a simple matrix.

Finding Severity Asset Criticality Exposure Exploitability Priority

A medium recommendation affecting:

internet-facing production workload

may deserve faster remediation than a high recommendation on:

disconnected test infrastructure.

🧪 Task 10 — Review a Network-Related Recommendation

Section titled “🧪 Task 10 — Review a Network-Related Recommendation”

Choose a recommendation involving:

  • public exposure

  • NSG configuration

  • administrative ports

  • private connectivity

Ask:

  • which resource?

  • which network path?

  • is public exposure intentional?

  • what is the business requirement?

🧪 Task 11 — Correlate With Azure Network Configuration

Section titled “🧪 Task 11 — Correlate With Azure Network Configuration”

Open the affected:

  • VNet

  • subnet

  • NSG

  • public IP

  • resource

Validate whether the recommendation reflects a real architecture problem.

The security engineer should verify:

Does the actual configuration support the finding?

🧪 Task 12 — Review an Identity / Access Recommendation

Section titled “🧪 Task 12 — Review an Identity / Access Recommendation”

Choose an available recommendation involving:

  • privileged access

  • RBAC

  • identities

  • authentication-related security

Review:

  • affected identity

  • assigned access

  • scope

  • actual requirement

Use what you learned from:

  • Azure RBAC

  • Microsoft Entra ID Security

Defender provides context.

You still need to understand the underlying identity design.

🧪 Task 13 — Review a Storage Recommendation

Section titled “🧪 Task 13 — Review a Storage Recommendation”

Choose an Azure Storage-related recommendation.

Review:

  • public network access

  • access controls

  • encryption

  • private connectivity

  • logging

Ask:

Is sensitive data stored here?

Can it be reached publicly?

Who has data access?

Is private connectivity appropriate?

🧪 Task 14 — Review a VM Recommendation

Section titled “🧪 Task 14 — Review a VM Recommendation”

Choose a virtual-machine related recommendation.

Possible areas may involve:

  • exposure

  • vulnerability

  • missing protections

  • hardening

Record:

Resource:
Recommendation:
Current State:
Risk:
Business Impact:
Remediation:

🧪 Task 15 — Review Vulnerability Findings

Section titled “🧪 Task 15 — Review Vulnerability Findings”

Where workload/vulnerability information is available, review findings for:

  • affected VM/workload

  • vulnerability severity

  • software/package

  • remediation information

Do not use only CVSS/severity.

Consider:

Vulnerability
+
Internet Exposure
+
Asset Criticality
+
Available Exploit
+
Business Impact
=
Practical Risk

🧪 Task 16 — Create a Vulnerability Assessment Table

Section titled “🧪 Task 16 — Create a Vulnerability Assessment Table”
Resource Vulnerability Severity Internet-Facing? Priority

🧪 Task 17 — Compare Two Vulnerability Scenarios

Section titled “🧪 Task 17 — Compare Two Vulnerability Scenarios”

Critical vulnerability on:

isolated development VM.

High vulnerability on:

production internet-facing VM.

Ask:

Which gets fixed first?

There is no automatic answer based only on scanner severity.

Context matters.

🧪 Task 18 — Review Workload Protection

Section titled “🧪 Task 18 — Review Workload Protection”

Navigate through the workload-protection capabilities available in your environment.

Review coverage for supported resource types.

Remember:

Posture
→ Security weaknesses / configuration risk
Workload Protection
→ Threat detection / runtime security

Open available security alerts.

If your environment has none, review sample or conceptual alerts.

For each alert record:

  • title

  • severity

  • affected resource

  • time

  • description

  • evidence

  • recommended action

Alert Severity Resource Evidence Investigation Priority

An alert is:

an indicator requiring investigation.

It is not automatically:

confirmed compromise.

🧪 Task 20 — Investigate a Suspicious VM Alert

Section titled “🧪 Task 20 — Investigate a Suspicious VM Alert”

Scenario:

Defender reports suspicious activity on an Azure VM.

Investigate conceptually:

Defender Alert
Affected VM
Network Exposure
Identity
Azure Activity
Relevant Logs
Scope
  • does the VM have a public IP?

  • which NSGs apply?

  • which identity is attached?

  • what changed recently?

  • are other alerts present?

🧪 Task 21 — Build an Incident Context Table

Section titled “🧪 Task 21 — Build an Incident Context Table”
Evidence Source Question
Defender for Cloud What security alert exists?
Azure Activity Log Who changed Azure resources?
Entra Logs Was identity activity suspicious?
Network telemetry Where did the workload communicate?
Sentinel Are related alerts/incidents present?

Do not investigate one dashboard in isolation.

Correlate evidence.

🧪 Task 22 — Review Regulatory Compliance

Section titled “🧪 Task 22 — Review Regulatory Compliance”

Open the regulatory-compliance view where available.

Review:

  • security standards

  • control status

  • failed controls

  • resource impact

A compliance-control failure is not automatically:

a confirmed vulnerability.

It indicates:

a required or expected control is not currently satisfied.

🧪 Task 23 — Compare Compliance and Security Posture

Section titled “🧪 Task 23 — Compare Compliance and Security Posture”

Think:

What weaknesses exist?

Which required controls are not satisfied?

They overlap, but they are not identical.

🧪 Task 24 — Review a Failed Compliance Control

Section titled “🧪 Task 24 — Review a Failed Compliance Control”

Choose one control.

Document:

Control:
Framework:
Affected Resource:
Failure:
Security Relevance:
Recommendation:

Do not simply write:

non-compliant.

Explain:

what technical condition causes the compliance failure.

🧪 Task 25 — Review Resource Health by Criticality

Section titled “🧪 Task 25 — Review Resource Health by Criticality”

Classify lab resources:

  • Critical

  • High

  • Medium

  • Low

Example:

Resource Criticality Reason
Production database Critical Sensitive business data
Application VM High Customer-facing
Test VM Low Temporary lab workload

Posture tools become more useful when combined with business context.

🧪 Task 26 — Build a Remediation Priority Model

Section titled “🧪 Task 26 — Build a Remediation Priority Model”

Use:

Priority
=
Severity
+
Exposure
+
Asset Criticality
+
Exploitability
+
Business Impact

You may also consider remediation effort.

Find recommendations that are:

  • high security value

  • relatively low implementation effort

Examples may include:

  • remove unused public exposure

  • enable missing security setting

  • restrict broad access

  • fix simple configuration

Quick wins are useful.

But do not ignore strategic architecture issues simply because they take longer.

🧪 Task 28 — Identify Strategic Remediation

Section titled “🧪 Task 28 — Identify Strategic Remediation”

Examples may include:

  • redesign network architecture

  • centralize policy

  • improve identity governance

  • implement private PaaS access

  • redesign logging

  • implement enterprise security baseline

🧪 Task 29 — Remediate One Controlled Recommendation

Section titled “🧪 Task 29 — Remediate One Controlled Recommendation”

Choose a safe lab recommendation.

Before remediation document:

Current State:
Finding:
Risk:

Implement the approved change.

Then document:

Remediation:
Validation:
Residual Risk:

Do not make changes just to satisfy the tool.

Understand and validate the control.

🧪 Task 30 — Validate the Recommendation

Section titled “🧪 Task 30 — Validate the Recommendation”

After remediation:

  • refresh posture

  • inspect underlying Azure configuration

  • confirm the risky condition is removed

  • confirm required business functionality still works

Security Control Works
+
Application Still Works

🧪 Task 31 — Create a Security Finding

Section titled “🧪 Task 31 — Create a Security Finding”

Example:

Finding ID:
DFC-001
Title:
Internet-Facing Administrative Access Detected
Severity:
High
Affected Resource:
Azure Virtual Machine
Observation:
The workload permits direct administrative access from an unrestricted source.
Risk:
The VM is exposed to internet-based authentication attacks and potential exploitation.
Recommendation:
Remove unrestricted public administrative access and use approved private or controlled management methods.
Validation:
Confirm the administrative port is no longer publicly reachable.

🧪 Task 32 — Create a Vulnerability Finding

Section titled “🧪 Task 32 — Create a Vulnerability Finding”
Finding ID:
DFC-002
Title:
High-Risk Vulnerability on Internet-Facing Workload
Severity:
High / Critical depending on context
Observation:
A production Azure VM contains a high-severity vulnerability and is reachable from an external network path.
Risk:
An attacker may be able to exploit the vulnerable workload remotely.
Recommendation:
Patch or replace the vulnerable component, review exposure, and validate remediation.
Finding ID:
DFC-003
Title:
Sensitive Storage Resource Allows Unnecessary Public Network Access
Severity:
Medium / High
Risk:
Public network reachability expands the attack surface of a sensitive data resource.
Recommendation:
Evaluate Private Endpoint-based access and restrict unnecessary public network connectivity.

🧪 Task 34 — Build a Security Findings Register

Section titled “🧪 Task 34 — Build a Security Findings Register”
ID Finding Resource Severity Priority Status
DFC-001
DFC-002
DFC-003

🧪 Task 35 — Build a Defender for Cloud Assessment Checklist

Section titled “🧪 Task 35 — Build a Defender for Cloud Assessment Checklist”
Control Status Risk Recommendation
Defender coverage
Secure score reviewed
Critical recommendations
Internet-facing resources
Vulnerability findings
Workload protection
Security alerts
Regulatory compliance
Remediation ownership
Validation process

🚨 Incident Scenario — Defender Alert + Suspicious Sign-In

Section titled “🚨 Incident Scenario — Defender Alert + Suspicious Sign-In”

Scenario:

Defender for Cloud reports suspicious workload activity shortly after an unusual privileged-user sign-in.

Investigate:

Entra Sign-In
Azure Activity
Affected Resource
Defender Alert
Network Context
Scope

Ask:

  • did the identity modify the workload?

  • were new NSG rules created?

  • did privileged access change?

  • is the workload now compromised?

🚨 Incident Scenario — Vulnerability + Threat Alert

Section titled “🚨 Incident Scenario — Vulnerability + Threat Alert”

Scenario:

A VM has a serious vulnerability finding and later generates a security alert.

Correlate:

Vulnerability
Potential Entry Point
Security Alert
Potential Malicious Activity
Logs / Activity
Evidence

The question becomes:

Was the vulnerability actually exploited?

🎤 Microsoft Defender for Cloud Interview Questions

Section titled “🎤 Microsoft Defender for Cloud Interview Questions”

Practise without notes.

2. What is cloud-security posture management?

Section titled “2. What is cloud-security posture management?”

4. Posture management vs threat detection?

Section titled “4. Posture management vs threat detection?”

6. Does a high secure score mean the environment is secure?

Section titled “6. Does a high secure score mean the environment is secure?”

7. How would you prioritize secure-score improvements?

Section titled “7. How would you prioritize secure-score improvements?”

8. How would you evaluate a Defender recommendation?

Section titled “8. How would you evaluate a Defender recommendation?”

9. Should every recommendation be fixed immediately?

Section titled “9. Should every recommendation be fixed immediately?”

10. How does business context affect prioritization?

Section titled “10. How does business context affect prioritization?”

11. How would you prioritize vulnerability findings?

Section titled “11. How would you prioritize vulnerability findings?”

15. How would you investigate a Defender alert?

Section titled “15. How would you investigate a Defender alert?”

16. What other evidence would you correlate?

Section titled “16. What other evidence would you correlate?”

17. What is the regulatory-compliance view?

Section titled “17. What is the regulatory-compliance view?”

19. Does a failed compliance control mean a system is compromised?

Section titled “19. Does a failed compliance control mean a system is compromised?”

20. How would you use Defender for Cloud across many subscriptions?

Section titled “20. How would you use Defender for Cloud across many subscriptions?”

21. How would you ensure security recommendations have owners?

Section titled “21. How would you ensure security recommendations have owners?”

22. How would you prevent teams from ignoring high-risk findings?

Section titled “22. How would you prevent teams from ignoring high-risk findings?”

Defender reports 100 recommendations. How do you decide what to fix first?

A strong answer should discuss:

  • severity

  • asset criticality

  • exposure

  • exploitability

  • business impact

  • remediation effort

Do not answer:

Fix the highest secure-score items first.

Defender shows a critical vulnerability on a development VM and a high vulnerability on an internet-facing production server. Which do you prioritize?

Discuss context rather than relying only on scanner severity.

Secure score is 95%. Is the environment secure?

No single posture score proves security.

Discuss:

  • unknown threats

  • application security

  • identity compromise

  • operational risk

  • residual risk

Defender generates an alert on an Azure VM. What do you do?

Use:

Validate
Resource Context
Identity Context
Network Context
Logs
Scope
Contain / Remediate

A recommendation suggests restricting public access to a storage account, but the business application currently depends on it.

Do not immediately apply the setting.

Discuss:

  • application requirement

  • current access path

  • identity

  • Private Endpoint feasibility

  • migration plan

  • validation

For posture findings use:

Finding
Affected Asset
Exposure
Risk
Business Context
Remediation
Validation

For security alerts use:

Alert
Validate
Evidence
Scope
Contain
Remediate
Improve

Avoid:

“I would follow the Defender recommendation.”

A stronger answer is:

“I would validate the recommendation against the resource configuration and business requirement, determine the actual exposure and impact, prioritize it based on risk, implement the appropriate remediation, and then verify that the security condition improved without disrupting required functionality.”

That sounds like a Cloud Security Engineer.

After completing the lab, create a sanitized portfolio package.

Include:

Document:

  • resources assessed

  • posture summary

  • major security themes

Include:

  • recommendation

  • affected resource

  • priority

  • remediation

Document one vulnerability with:

  • exposure

  • business context

  • remediation

Create 3–5 findings.

Show:

Original Risk
Remediation
Validation
Improved State

Instead of:

Knowledge of Microsoft Defender for Cloud.

Use:

Performed an Azure cloud-security posture review using Microsoft Defender for Cloud, prioritizing recommendations based on severity, asset criticality, public exposure, and business impact.

Or:

Investigated Defender for Cloud security findings and vulnerability recommendations, documented remediation priorities, and validated selected security improvements in an Azure lab environment.

After this lab, you should be able to:

  • explain Defender for Cloud

  • explain posture management

  • explain workload protection

  • understand secure score

  • review recommendations

  • prioritize findings by risk

  • review vulnerability findings

  • investigate security alerts

  • understand regulatory-compliance views

  • correlate findings with Azure configuration

  • create professional findings

  • validate remediation

If your entire posture-management approach is:

make secure score 100%,

repeat the lab.

The goal is:

understand the actual risk behind each finding and fix the issues that matter most.

After completing the lab:

  • revert intentionally insecure lab settings

  • remove unnecessary public exposure

  • delete temporary test resources

  • review Defender plans

  • disable paid plans you enabled only for testing where appropriate

  • remove temporary alerts or configurations

  • review Azure Cost Management

You have now practised:

Asset Inventory
Security Posture
Recommendations
Vulnerability Analysis
Threat Alerts
Risk Prioritization
Remediation
Validation

These are important capabilities for:

  • Azure Security Engineers

  • Cloud Security Engineers

  • Cloud Security Analysts

  • Security Consultants

  • SOC Analysts

  • Cloud Security Architects

You now understand how to assess Azure cloud-security posture and workload findings.

The next step is to move deeper into security monitoring, detection, investigation, and threat hunting.

➡️ Next: Microsoft Sentinel Lab

In the next lab, you will work with:

  • Microsoft Sentinel

  • Log Analytics

  • data connectors

  • security telemetry

  • KQL

  • analytics rules

  • alerts

  • incidents

  • entities

  • threat hunting

  • investigation timelines

  • response and automation concepts

  • SOC interview scenarios