← Back to Portal

Quick Reference Cheat Sheet

Every critical table, decision rule, golden rule, and key number you need to recall cold on exam day.

6 sections All 4 domains Decision matrices KQL patterns 20 golden rules

Section 1 — Identity & Access Management

Entra ID Licence Tiers

FeatureFreeP1P2
Basic MFA
Conditional Access
Dynamic Groups
SSPR
PIMP2 only
Identity ProtectionP2 only
Access ReviewsP2 only
Entitlement ManagementP2 only

Key Azure RBAC Roles

RoleCan DoCannot Do
OwnerEverything + assign roles
ContributorCreate/manage all resourcesAssign roles, manage billing
ReaderView all resourcesCreate/modify/delete
User Access AdminManage RBACManage resources
Security AdminManage Defender policiesAssign non-security roles
Security ReaderView security stateChange anything
KV Secrets UserRead secret VALUESList/Set/Delete
KV Secrets OfficerManage secretsManage RBAC
KV ReaderRead metadata onlyRead secret values
Storage Blob Data ContributorRead/write/delete blobsManage storage account (keys, settings)
AcrPushPull + Push to ACRManage registry
RBAC Scope — Critical Facts Valid scopes (top to bottom): Management Group → Subscription → Resource Group → Resource
Subnet is NOT a valid RBAC scope.
RBAC is ADDITIVE — no conflicts except Deny assignments.
Deny assignments ALWAYS override role assignments.

PIM Reference

SettingBehaviour
EligibleCan activate — no access until activated
ActiveCurrently has access
PermanentAlways active, no expiry
Time-boundActive until a specific date/time
Activation requirementsConfigurable: MFA, justification text, approval
Activation durationMax per session (not per day — can re-activate)
ApproversDesignated individuals/groups in role settings — NOT automatic

Conditional Access — Key Rules

ComponentKey Behaviour
Exclusion vs InclusionExclude ALWAYS wins over Include — within the same policy
Multiple policiesALL matching policies apply — most restrictive grant wins
Report-only modeEvaluates but takes NO enforcement action
Trusted locationsBypass MFA only if location is the policy CONDITION (not the grant)
Service principalsCannot complete interactive MFA — exclude from user MFA policies

Identity Protection Risk Detections

DetectionRisk TypeLevel
Leaked credentialsUser riskHigh
Atypical/impossible travelSign-in riskMedium
Anonymous IP (Tor)Sign-in riskMedium/High
Password sprayUser riskHigh
Malware-linked IPSign-in riskHigh
Unfamiliar sign-in propertiesSign-in riskMedium

Managed Identity Comparison

FeatureSystem-AssignedUser-Assigned
LifecycleTied to resourceIndependent
Sharing1:1 (one resource)1:many (multiple resources)
Survives resource recreation✗ New principal ID
Use whenSingle resource, simple scenarioMultiple resources need same identity

Section 2 — Secure Networking

NSG Rules — Critical Facts

Default RulePriorityDirectionAction
AllowVnetInBound65000InboundAllow
AllowAzureLoadBalancerInBound65001InboundAllow
DenyAllInBound65500InboundDeny all
AllowVnetOutBound65000OutboundAllow
AllowInternetOutBound65001OutboundAllow
DenyAllOutBound65500OutboundDeny all
NSG Evaluation Order Lowest priority number = evaluated first. First match wins. Stop processing. Inbound: Subnet NSG evaluated BEFORE NIC NSG.

Azure Firewall SKU Comparison

FeatureBasicStandardPremium
L3/L4 + FQDN filtering
Threat Intelligence Alert+DenyAlert only
TLS InspectionPremium only
IDPSPremium only
URL Filtering / Web CategoriesPremium only
Azure Firewall Rule Processing Order DNAT → Network → Application. EXCEPTION: for HTTP/HTTPS, Application rules are evaluated BEFORE Network rules.

Service Endpoint vs Private Endpoint

AttributeService EndpointPrivate Endpoint
Private IP assigned
Public endpoint can be disabled✓ (configurable)
On-premises access (via VPN/ER)
DNS change needed✓ Private DNS Zone
Transitive through VNet peering✓ (with DNS link)
CostFreePer-hour + processing
Private DNS Zone — Critical Trap Private DNS Zones must be LINKED to each VNet individually. They are NOT transitive through VNet peering. Each VNet that needs private DNS resolution must have an explicit link to the zone.

Why the Private DNS Zone Name Must Be Exact

When a Private Endpoint is attached to a service, Azure resolves the public FQDN via a two-hop CNAME chain to land on the private IP:

myregistry.azurecr.io → CNAME → myregistry.privatelink.azurecr.io → A record → 10.0.0.5 (private IP in your VNet) If the Private DNS Zone is named incorrectly (e.g. privatelink.acr.microsoft.com), the CNAME lookup fails — nothing resolves to the private IP.
Pattern Rule — memorise this Take the public URL suffix and insert privatelink. immediately before it.
*.azurecr.io → zone name is privatelink.azurecr.io (not privatelink.acr.microsoft.com)
Azure keeps the core domain string identical — it never renames azurecr to acr.

Common Private DNS Zone Names

ServicePublic URL PatternCorrect Private DNS Zone Name
Container Registry (ACR)*.azurecr.ioprivatelink.azurecr.io
Blob Storage*.blob.core.windows.netprivatelink.blob.core.windows.net
Key Vault*.vaultcore.azure.netprivatelink.vaultcore.azure.net
Azure SQL Database*.database.windows.netprivatelink.database.windows.net
App Service / Web Apps*.azurewebsites.netprivatelink.azurewebsites.net

DDoS Protection Tiers

TierCostKey Features
DDoS BasicFreeAlways-on, generic protection for all public IPs
DDoS Network ProtectionPer VNetAdaptive tuning, attack analytics, cost protection, DRR team
DDoS IP ProtectionPer public IPPer-IP protection without adaptive tuning

Azure Bastion SKUs

FeatureBasicStandard
Browser-based RDP/SSH
Native RDP/SSH clientStandard only
Connect to peered VNet VMsStandard only
File upload/download

Section 3 — Compute, Storage & Databases

Key Vault Access Models (MUTUALLY EXCLUSIVE)

Access Policy vs RBAC — Cannot Both Be Active Access Policy mode: Permissions granted per principal (Get/List/Set/Delete). RBAC data plane roles are IGNORED.
Azure RBAC mode: Use role assignments (Secrets User, Officer, etc.). Access Policies are IGNORED.
Switching to RBAC mode does NOT migrate access policies — they break immediately.

Disk Encryption Comparison

MethodLayerKey Managed ByOS DiskTemp Disk
SSE Platform-ManagedStorageMicrosoft
SSE Customer-Managed (CMK)StorageCustomer (KV)
ADE (BitLocker/dm-crypt)OS (in VM)Customer (KV)✗ (use Enc@Host)
Encryption at HostHypervisorCustomer/MS

Azure SQL Security Features

FeatureWhat It DoesKey Property
TDEEncrypts database files at restTransparent — DBAs see plaintext
Dynamic Data MaskingMasks column values in query resultsdb_owner bypasses masking
Always EncryptedClient-side column encryptionDBAs see encrypted data — cannot bypass
Row-Level SecurityFilters rows based on user contextSecurity predicate function
Entra ID-Only AuthDisables SQL logins entirelySet Entra ID admin BEFORE enabling

Storage SAS Token Types

TypeSigned ByRevocation Method
Account SASStorage account keyRotate the signing key
Service SASStorage account keyRotate key OR revoke linked SAP
User Delegation SASEntra ID (delegation key)Revoke delegation key / remove permissions
Stored Access Policy (SAP)Delete/modify SAP → all linked SAS instantly revoked

Container Security Reference

FeaturePurpose
ACR content trustImage signing with Notary — unsigned images rejected
Defender for ContainersRuntime threat detection + image vulnerability scanning in ACR
Workload Identity (OIDC)Pod identity via federated credential — NO secrets in pods
Secrets Store CSI DriverMount KV secrets as pod volumes using Workload Identity
Private clusterAKS API server with no public endpoint

Section 4 — Security Operations

Microsoft Defender for Cloud Plans

PlanProtectsKey Detections
Defender for Servers P1VMsMDE integration, adaptive app controls
Defender for Servers P2VMsP1 + JIT access, FIM, vulnerability assessment
Defender for SQLAzure SQL, MI, on-VMSQL injection, brute force, anomalous queries
Defender for StorageStorage accountsMalware upload, unusual downloads, suspicious access
Defender for ContainersAKS, ACR, CI/CDImage vulnerabilities, runtime threats
Defender for Key VaultKey VaultUnusual access, high-volume reads
Defender CSPM (enhanced)Entire estateAttack path analysis, cloud security graph
Secure Score Formula — All-or-Nothing Score = (Points awarded / Max possible points) × 100
Points for a control = 0 if ANY recommendation is failing. Points = max if ALL are passing.
No partial credit per recommendation.

Sentinel Analytics Rule Types

TypeKQL?FrequencyModifiable?
ScheduledEvery X minutes (configurable)
NRT (Near Real-Time)~1 minute
Microsoft SecurityOn alert from MS productLimited
FusionContinuous (ML-based)Cannot modify
ML Behaviour AnalyticsML-basedLimited

Sentinel Log Tables Reference

TableSourceUse For
SignInLogsEntra IDUser sign-ins, risk detections, location
AuditLogsEntra IDDirectory changes, Entra ID role management
AzureActivityAzure ARMAzure RBAC assignments, resource operations
SecurityEventWindows VMs4624 (logon), 4625 (fail), 4720 (user created)
AzureDiagnosticsMultiple PaaSKey Vault, SQL, NSG Flow Logs, Firewall
StorageBlobLogsStorageBlob read/write/delete operations

Azure Policy Effects — Processing Order

Disabled → Append → Audit → AuditIfNotExists → Deny → DeployIfNotExists → Modify Deny: blocks deployment DeployIfNotExists: deploys companion resource (needs managed identity with RBAC) EXISTING non-compliant resources → require a Remediation Task to be created

Critical KQL Patterns

-- Failed Entra ID sign-ins (last 24h)
SignInLogs
| where TimeGenerated > ago(24h) and ResultType != 0
| summarize FailCount = count() by UserPrincipalName, IPAddress

-- Azure RBAC role assignments created today
AzureActivity
| where OperationNameValue =~ "MICROSOFT.AUTHORIZATION/ROLEASSIGNMENTS/WRITE"
| where ActivityStatusValue == "Success"
| project TimeGenerated, Caller, Properties

-- Entra ID privileged role changes
AuditLogs
| where Category == "RoleManagement"
| where OperationName contains "Add member to role"
| project TimeGenerated, InitiatedBy, TargetResources, OperationName

-- Key Vault secret reads
AzureDiagnostics
| where ResourceType == "VAULTS"
| where OperationName == "SecretGet"
| project TimeGenerated, Resource, CallerIPAddress, identity_claim_upn_s

-- Azure management operations by specific user (last 30 days)
AzureActivity
| where Caller == "user@contoso.com"
| where TimeGenerated > ago(30d)
| project TimeGenerated, OperationNameValue, ResourceGroup, ActivityStatusValue

Section 5 — 20 Golden Rules to Recall Cold

Identity Rules (1–5)

1
PIM eligible ≠ active. Must activate to gain access. Eligible shows in PIM — not in standard role list.
2
CA Exclude > CA Include. If a user is in both, they are excluded. Always.
3
System MI + resource recreation = new principal ID. Access policies pointing to old MI break immediately.
4
RBAC is additive. No conflicts. Only Deny assignments can block a permitted action.
5
KV access models are mutually exclusive. Access Policy OR RBAC. Switching to RBAC mode silently ignores all access policies.

Network Rules (6–10)

6
NSG = lowest priority first. First match stops processing. Inbound: subnet NSG before NIC NSG.
7
Azure Firewall HTTP/HTTPS = Application rules first. Network rules are evaluated after for other protocols.
8
Private DNS Zone must be linked to EACH VNet. Not transitive through peering.
9
Service Endpoint = subnet-scoped. Does not eliminate public endpoint. On-premises cannot use it.
10
Private Endpoint = private IP + can disable public endpoint. Accessible from on-premises via VPN/ER.

Compute/Storage/DB Rules (11–15)

11
DDM bypassed by db_owner. Always Encrypted is the real data protection — DBAs cannot bypass it.
12
SAS revocation = rotate signing key (Account/Service SAS). OR delete the Stored Access Policy for instant revocation without key rotation.
13
ADE = OS-level BitLocker. Keys in Key Vault. Does NOT encrypt temp disk — use Encryption at Host for that.
14
CMK = customer owns the key. Disabling/deleting the key = storage account INACCESSIBLE. No fallback to PMK.
15
User Delegation SAS = Entra ID signed. More secure. Revocable via identity (no key rotation needed).

Operations Rules (16–20)

16
Secure Score: all-or-nothing per control. All recommendations in a control must pass to earn points. No partial credit.
17
Defender for Cloud = per-service plans. Sentinel = cross-source SIEM/SOAR correlation. Different tools.
18
DeployIfNotExists needs a Remediation Task for EXISTING non-compliant resources. New resources are auto-remediated.
19
Azure Policy Deny = blocks deployment. Audit only logs. Neither modifies existing resources automatically.
20
Fusion rules cannot be modified. Managed entirely by Microsoft. Scheduled rules = fully customisable KQL.

Section 6 — Critical Numbers

700/1000
AZ-500 passing score
150 min
AZ-500 exam duration
40–60
AZ-500 question count
P2
Licence required: PIM, Identity Protection, Access Reviews
~2 min
Entra Connect PHS password sync
30 min
Entra Connect delta sync (objects)
90 days
KV soft-delete retention (default; min 7 days)
65500
NSG default deny-all priority
4096
NSG maximum custom priority
10 GB/day
Sentinel free data ingestion
P2 only
Defender for Servers P2 adds: JIT, FIM, VA
0 partial
Secure Score: no partial credit per security control