Level 3 β€” Security & Microsoft Defender for Cloud 🟑

πŸ“ Curriculum overview Β· Level 3 of 6 Β Β·Β  Previous: Level 2 Β· Monitor Β Β·Β  Next: Level 4 Β· Protect


Theme: Secure. Assess, harden and defend the environment that Levels 1 and 2 built and instrumented β€” without deploying a single new workload to attack.

Β  Β 
Builds on Nothing for L3.1 β€” the workbook deploys on its own and shows more when more is deployed; L1.3 for the deeper chapters L3.2 and L3.3
Chapters L3.1 Β· L3.2 Β· L3.3 Β· L3.4
Existing assets reused Key Vault, managed identity and private endpoints from L1.3; the Log Analytics workspace from L2.1; action groups from L2.3
New Azure resources Plans and policies, not infrastructure
Running cost at end of level ~$2.01/hr with the recommended plan set

[!NOTE] Build status: Level 3 is fully built β€” four templates, one workflow, four walkthroughs, and the instructor script for the subscription-scoped half.

The chapters

L3.1 is the main-path stop for this level β€” on the πŸ—ΊοΈ Curriculum Map it sits on the east–west line L1.1 β†’ L2.1 β†’ L3.1 β†’ L4.1. Chapters .2–.4 go deeper into the security discipline, each adding resources, cost and prerequisites.

Chapter One line Adds
L3.1 β€” Security Foundation Β· 🧭 main path One free Resource Graph workbook that shows secure score, findings and plan state β€” needs nothing deployed first +$0.00/hr
L3.2 β€” Workload Protection Β· go deeper Turn on Defender for SQL per server, SQL auditing and (conditionally) JIT β€” the meter starts here +$0.07/hr
L3.3 β€” Security Operations Β· go deeper Continuous export into the workspace plus a Logic App triage playbook +$0.03/hr
L3.4 β€” Enterprise Security Architecture Β· go deeper A costed WAF design β€” real rules, deliberately attached to nothing +$0.00/hr as designed

Where this level sits

flowchart LR
  BASE["Levels 1–2<br/>deployed estate + one workspace"]
  C31["L3.1 Security Foundation<br/>assess β€” free posture"]
  C32["L3.2 Workload Protection<br/>defend β€” paid plans"]
  C33["L3.3 Security Operations<br/>respond β€” triage & automate"]
  C34["L3.4 Enterprise Security Architecture<br/>design β€” the target state"]

  BASE -->|"resources to assess"| C31
  BASE -->|"workspace to write findings into"| C31
  C31 --> C32 --> C33 --> C34
  C34 -.->|"Defender alerts become<br/>a free Sentinel connector"| L5["Level 5 Β· Detect"]

  classDef base fill:#eef4ff,stroke:#4472c4,color:#1a1a1a
  classDef ch fill:#fff9e6,stroke:#c9a227,color:#1a1a1a
  classDef nxt fill:#fff4e5,stroke:#d97706,color:#1a1a1a
  class BASE base
  class C31,C32,C33,C34 ch
  class L5 nxt

Text description of this diagram</summary>

Levels 1 and 2 feed L3.1 twice over: they supply the resources to be assessed and the Log Analytics workspace that security findings are written into. The four chapters run in order and follow the security lifecycle β€” assess with free posture management, then defend with paid workload plans, then respond, then design the target state.

The dotted line forward matters for cost: Microsoft Defender for Cloud alerts are a free Sentinel data source, so the work done in this level arrives in Level 5 at no ingestion charge. Enabling Defender plans here is therefore also a Sentinel decision.

</details>

L3.1 β€” Security Foundation

Built: curriculum/L3.1-security-foundation Β· walkthrough: L3.1 β€” Security Foundation

Objective. Establish where the environment actually stands, using only the free capability, before spending anything.

Learning objectives

  • Read the secure score and explain what it measures and what it ignores.
  • Map Defender for Cloud recommendations back to the Microsoft Cloud Security Benchmark control they came from.
  • Identify which Level 1 design choices already scored well (private endpoints, managed identity, no public IP on the VM) and which did not.
  • Distinguish Audit, Deny and DeployIfNotExists policy effects by blast radius β€” and explain why even the deploy identity’s Contributor can assign none of them, since Microsoft.Authorization/*/Write sits in that role’s notActions (your own account holds Reader and cannot either).
  • Locate the permission boundary in this lab: Defender plans are subscription-scoped and belong to the instructor, while per-resource security settings deploy through your fork’s workflow. Name which side each Level 3 task falls on.
  • Review RBAC on the resource group β€” your Reader role, and the Contributor held by the workshop deploy identity β€” and explain how least privilege applies to each.

Builds on. Nothing β€” the workbook deploys with nothing else standing, and simply shows more when more is deployed. Only the workbook itself is new.

Azure services. Microsoft Defender for Cloud β€” foundational CSPM (free) Β· secure score Β· Microsoft Cloud Security Benchmark Β· Azure Policy Β· Microsoft Entra ID RBAC Β· Azure Resource Graph.

Estimated cost. +$0.00/hr Β· running total ~$1.91/hr. Foundational CSPM, secure score, recommendations and Azure Policy are free on every subscription.

Cost optimization. The entire chapter is free, and that is the point: most of the secure-score improvement available to this environment costs nothing. Defender CSPM (paid) adds attack path analysis and the security explorer at $0.007/resource/hr (~$5/resource/month) β€” roughly $0.14/hr for an estate this size β€” so it belongs in an instructor-led window, not as a default on.

L3.2 β€” Workload Protection

Built: curriculum/L3.2-workload-protection Β· walkthrough: L3.2 β€” Workload Protection

Objective. Turn on threat detection where it applies, one plan at a time, with the per-node meter visible.

Learning objectives

  • Enable Defender for SQL at resource scope yourself, and explain why that bills per server instance the moment it is enabled, independently of the subscription plan.
  • Configure SQL auditing into the Level 2 workspace, and know that it takes two resources β€” the auditing setting and a master-database diagnostic setting β€” with either alone sending nothing.
  • Describe what Defender for Servers, Key Vault and Resource Manager each detect that the others cannot, and identify which of them you can turn on and which need the instructor.
  • Choose between Servers Plan 1 and Plan 2, and justify the 3Γ— price difference in terms of the capabilities gained.
  • Use just-in-time VM access and explain what it replaces.
  • Interpret vulnerability assessment findings on the Level 1 VMs and prioritise them by exploitability rather than CVSS alone.
  • Explain the coverage gap in this estate: Defender for Containers protects AKS, Arc-enabled Kubernetes and registry images β€” it does not provide runtime protection for Azure Container Apps. L1.3’s app is covered by CSPM posture, not by a workload plan.

Builds on. L3.1 (the recommendations tell you which plans matter) and L1.1, L1.2 (VMs), L1.3, L1.4 (SQL servers and Key Vault).

Azure services. Defender for Servers Β· Defender for SQL Β· Defender for Key Vault Β· Defender for Resource Manager Β· Microsoft Defender Vulnerability Management Β· just-in-time VM access Β· (optional) Defender for Storage.

Estimated cost. +$0.07/hr Β· running total ~$1.98/hr. With Servers Plan 1 on 4 VMs ($0.00672/node/hr = $0.027/hr), Defender for SQL on 2 servers ($0.0202/instance/hr = $0.040/hr), Key Vault ($0.0003/hr) and Resource Manager ($0.0069/hr). Servers Plan 2 would raise the VM share to $0.08/hr ($0.02/node/hr, ~$14.60/node/month).

Cost optimization. Every meter here is per node or per instance, so cost scales with the estate, not with activity β€” the opposite of Level 2. Two levers: enable plans at resource level rather than subscription level so only the lab resources bill, and prefer Plan 1 unless the chapter specifically teaches a Plan 2 capability. Every Defender plan has a 30-day free trial; scheduling the level inside it makes L3.2 free once.

L3.3 β€” Security Operations

Built: curriculum/L3.3-security-operations Β· walkthrough: L3.3 β€” Security Operations

Objective. Work an alert from detection to closure, and automate the parts that should never be manual.

Learning objectives

  • Trigger a benign detection deliberately and follow the alert through the Defender for Cloud experience end to end.
  • Triage by attack path and asset criticality rather than by alert timestamp.
  • Send Defender alerts to the Level 2 action groups so security uses the same notification path as operations.
  • Build workflow automation with a Logic App β€” isolate, notify, or open a ticket β€” and identify the tasks where automation is inappropriate.
  • Use governance rules to assign recommendations with owners and due dates, and explain why an unassigned recommendation is not a plan.
  • Read the regulatory compliance dashboard against a standard the class cares about.

Builds on. L3.2 (there are no alerts without a plan) and L2.3 (the routing).

Azure services. Defender for Cloud security alerts Β· continuous export to Log Analytics and Event Hubs Β· workflow automation (Azure Logic Apps) Β· governance rules Β· regulatory compliance dashboard Β· attack path analysis.

Estimated cost. +$0.03/hr Β· running total ~$2.01/hr. Alerts, governance rules and the compliance dashboard are included in the plans from L3.2. The cost is continuous export and security-event ingestion β€” assume ~0.25 GB/day at $2.76/GB (~$0.69/day). Logic App consumption actions are fractions of a cent each; a lab playbook running a few thousand actions a month is under $1.

Cost optimization. Export only the alert and recommendation streams, not raw security events, unless Level 5 needs them β€” and if it does, let Level 5 pay for that deliberately. SecurityAlert data is free when Sentinel is enabled, which is a strong argument for sequencing the export decision after L5.1.

L3.4 β€” Enterprise Security Architecture

Built: curriculum/L3.4-security-architecture Β· walkthrough: L3.4 β€” Enterprise Security Architecture

Objective. Draw the target-state security architecture for this workload and put a price on each control.

Learning objectives

  • Design a web application firewall layer for the L1.4 front end and state its cost precisely β€” WAF managed rule sets require Front Door Premium, whose base fee is $330/month against Standard’s $35/month.
  • Compare that with an Application Gateway WAF in front of the container app, and choose on cost, latency and operational fit.
  • Evaluate upgrading L1.2’s firewall to Premium for IDPS and TLS inspection at $1.75/hr versus Standard’s $1.25/hr, and decide whether this workload earns it.
  • Harden the identity and secret layer: Key Vault RBAC, purge protection, and the elimination of any remaining long-lived credential.
  • Assess the estate against the Well-Architected security pillar and Zero Trust principles, and produce a prioritised remediation backlog with costs attached.

Builds on. L3.1–L3.3, plus L1.2’s firewall and L1.4’s Front Door as the subjects of the design work.

Azure services. Azure Web Application Firewall (Front Door Premium or Application Gateway) Β· Azure Firewall Premium (IDPS, TLS inspection) Β· Key Vault RBAC and purge protection Β· Microsoft Entra Privileged Identity Management (conceptual) Β· Azure Landing Zone security guidance.

Estimated cost. +$0.00/hr as designed Β· running total ~$2.01/hr. If the class deploys the WAF: Front Door Premium is +$0.40/hr over Standard (~$295/month more). If it upgrades the firewall: +$0.50/hr plus $0.11/hr per capacity unit. Either one deployed for a whole class doubles the curriculum’s running cost.

Cost optimization. This is the chapter where the right answer is usually design it, cost it, and do not deploy it. If a live demo is required, deploy in a bounded instructor window and tear down in the same session β€” a Front Door Premium left running over a weekend costs more than the entire rest of the curriculum for that period.

Cost summary for Level 3

Chapter Adds Running total Dominant meter
L3.1 Security Foundation +$0.00/hr ~$1.91/hr Free (paid CSPM optional, ~$0.14/hr)
L3.2 Workload Protection +$0.07/hr ~$1.98/hr Defender for SQL $0.0202/instance/hr
L3.3 Security Operations +$0.03/hr ~$2.01/hr Security log ingestion $2.76/GB
L3.4 Enterprise Security Architecture +$0.00/hr designed ~$2.01/hr WAF/Premium tiers if deployed (+$0.40–0.50/hr)

Level 3 adds roughly $0.10/hr β€” about 5% of the running bill β€” as long as the premium tiers stay on the whiteboard.

GitHub feature spotlight Β· Secret scanning and push protection

Why it belongs in this level: L3.4 asks the learner to eliminate long-lived credentials. GitHub does the same job on the repository side β€” secret scanning looks for credentials that were committed, and push protection blocks them before they land. Find it: Settings β†’ Code security and analysis. This repo has nothing to find, by design: Azure authentication is OIDC and there is no client secret anywhere in it. Beyond the lab: the strongest secret hygiene is architectural β€” have no secret to leak. Scanning is the safety net under that, not a substitute for it. Docs β†’

What carries forward

Level 4 protects the same resources against loss rather than attack, and reuses Level 3’s governance model to enforce backup as policy. Level 5 inherits every Defender alert produced here as a free Sentinel connector.

🧭 Where next?

Your situation Go to
Start the first chapter L3.1 β€” Security Foundation
Level 3 done β€” move to the next level Level 4 Β· Protect
Back to the previous level Level 2 Β· Monitor
What does the whole curriculum cost? Cost model