Back to exam

SC-500 Cheatsheet

Implementing End-to-End Security Controls for Cloud and AI Workloads

Download free PDF

Identity and privileged access

Roles, scopes and permission planes

  • **Microsoft Entra roles** administer the directory. **Azure RBAC** authorizes Azure resources. Global Administrator does not automatically grant subscription access.
  • **Management group > subscription > resource group > resource** defines inheritance. Assign roles at the narrowest useful scope; permissions from multiple assignments accumulate.
  • **Actions / NotActions** govern management operations; **DataActions / NotDataActions** govern supported data operations. NotActions subtracts from one role and is not an explicit deny against another role.
  • **Contributor** manages resources but cannot assign roles. **User Access Administrator** manages access; **Owner** combines resource and access management. Custom roles can clone Azure built-in or custom roles.
  • A Global Administrator can use **Access management for Azure resources** to elevate to User Access Administrator at root scope. Remove the elevation after completing the access recovery task.

Privileged Identity Management

  • **Eligible** means a user must activate access; **active** means privileges are already available. Permanent eligibility does not mean permanently active privileges.
  • **Require approval to activate**, MFA and justification control elevation. **Activation maximum duration** limits each activation; eligible-assignment and active-assignment expiry control separate lifetimes.
  • Configure explicit **approvers** and notification settings per role. Activation settings do not redefine the duration of an administrator-created active assignment.
  • **Azure resource roles** and **Entra directory roles** use different permission systems. Directory-role assignment to groups requires a role-assignable security group; Azure role assignment does not use that directory-specific flag.

Workload identities and sign-in

  • An **application object** describes an app registration; a **service principal** is its tenant-local identity used for consent and access assignments.
  • **System-assigned managed identity** follows one resource and is deleted with it. **User-assigned managed identity** is independent and reusable across resources; sharing it also shares its access boundary.
  • Managed identity supplies **authentication**, not automatic authorization. Grant the required data role or database permissions and separately establish the network path. Group-based identity permission changes can propagate slowly.
  • **Virtual Machine User Login** grants supported Entra sign-in without administrator rights. **Virtual Machine Administrator Login** grants administrator sign-in; neither substitutes for Azure permissions to change VM extensions.

API permissions and consent

  • **Delegated permissions** operate for a signed-in user within the app permission and user access limits. **Application permissions** support unattended access and require administrator consent.
  • **Admin consent** can preapprove delegated permissions when users cannot consent. An **app consent policy** permits selected low-risk user consent; application ownership alone does not grant tenant-wide consent rights.
  • **Resource-specific consent (RSC)** can scope supported Teams permissions to a particular team or chat. Check the API and operating model before choosing broad tenant-wide application access.
  • **Assignment required** on an enterprise application restricts access to assigned users and groups. Authentication success and permission to use the application are separate decisions.

Conditional Access and passwordless access

  • **Conditional Access** combines identity, target resource and conditions with grant or block controls. Every applicable policy must be satisfied; an applicable block overrides grant policies.
  • **Require all controls** means AND; **require one control** means OR within that policy. An exclusion removes a subject only from that policy, not from other policies.
  • **Device platforms** is a condition; **require compliant device** is a grant control. To enforce Windows-only access, block other platforms rather than merely targeting Windows with a grant policy.
  • **Microsoft Authenticator passwordless phone sign-in** can act as a primary method. An MFA push or one-time code is a different mode. **Temporary Access Pass** is time-limited bootstrap access for registering stronger methods.
  • Use **What If**, report-only evaluation and sign-in logs to validate policy scope. MFA registration and an MFA requirement at sign-in are separate controls.

Network isolation and traffic controls

NSGs, ASGs and centralized rules

  • **NSGs** evaluate rules in ascending priority number; the first match wins. Both subnet and NIC NSGs must permit a new flow. NSGs are stateful.
  • Default rules allow **VNet traffic** and outbound internet traffic, then deny unmatched inbound traffic. A narrow allow rule alone does not remove the default VNet allowance; add a suitable deny for isolation.
  • **Application security groups (ASGs)** group NICs by workload instead of fixed IP addresses. Members of one ASG must be in the same VNet. **Service tags** represent service address sets, including supported regional tags.
  • **Get-AzNetworkSecurityRuleConfig** exposes direction, protocol, source, destination, port, access and priority. Evaluate all these fields rather than the rule name.
  • **Virtual Network Manager** uses connectivity configurations for mesh or hub-and-spoke connectivity and security admin configurations for central traffic controls. Admin rules precede NSGs: Deny blocks; Allow still permits NSG evaluation; Always Allow bypasses it.

Firewall and web application protection

  • **Azure Firewall application rules** control supported web traffic by FQDN. **Network rules** match address, port and protocol; **DNAT** publishes inbound services. Route traffic through the firewall and remove broader allows that defeat an allowlist.
  • **Firewall Manager** centrally applies Firewall policies across secured Virtual WAN hubs and hub networks. **Virtual Network Manager** governs selected network groups within its management scope; deploy configurations to the target regions.
  • **WAF Detection** logs matches; **Prevention** can block matching requests. Managed rules detect common web attacks; custom rules express organization-specific conditions and rate limits.
  • **Geo-match** and rate-limit custom rules can constrain traffic by location and request volume. Request-body inspection size and file-upload size are separate limits; configure the applicable control.

Private endpoints, service endpoints and DNS

  • **Private endpoint** gives a supported service subresource a private IP in a VNet. Configure private DNS and disable public network access when all public access must be denied.
  • **Service endpoint** identifies a permitted subnet to a supported service while retaining the service public endpoint. Enable the endpoint on the subnet and add the matching service firewall rule.
  • Storage private endpoints target individual services: **blob**, **file**, and other supported subresources are separate. ADLS Gen2 operations can require both **dfs** and **blob** endpoints.
  • **Private Link service** publishes a provider service behind a Standard Load Balancer; the consumer creates a private endpoint. It exposes that service rather than broadly joining the networks.
  • Private endpoints can be reached from connected networks when routing and DNS permit. Enable applicable **private endpoint network policies** to apply subnet NSG controls; network reachability still requires service authorization.

Administrative and hybrid access

  • **Azure Bastion** reaches target VMs through private IPs, including supported peered VNets. Browser access uses TCP **443**; target connections use **3389** for RDP or **22** for SSH. Preserve the full required Bastion service rules.
  • **Just-in-time VM access** temporarily opens selected inbound management ports for approved sources and duration. It does not grant OS sign-in rights or control the VM outbound connections.
  • **Point-to-site Entra authentication** supports Conditional Access with the supported OpenVPN/Azure VPN Client configuration. Certificates alone do not evaluate Entra Conditional Access.
  • **ExpressRoute** is private connectivity, not encryption by default. **MACsec** protects supported ExpressRoute Direct links at Layer 2; **IPsec** can protect traffic at Layer 3 over private connectivity.
  • **Entra Private Access** combines app assignment with defined IP/FQDN and port segments. A matching hostname with a different port is not the same authorized application segment.

Compute and application security

App Service and Functions boundaries

  • **VNet integration** gives App Service outbound access to connected private resources. It does not make inbound requests private. Use **private endpoints** or **access restrictions** for ingress.
  • **Access restrictions** can allow a partner public IP and deny unmatched inbound requests. An NSG on the VNet integration subnet controls applicable outbound traffic, not public app ingress.
  • To require a specific **Front Door** profile, combine the **AzureFrontDoor.Backend** service tag with the expected **X-Azure-FDID** header in origin access restrictions.
  • For **Functions**, choose a hosting plan supporting the required VNet integration, private endpoints and routing. Configure outbound routes to on-premises destinations through the connected VNet and ExpressRoute path.
  • **App Service managed certificates** require a supported paid plan, a validated custom-domain mapping and a TLS binding. A certificate protects transport; it does not authorize application users.

API gateways and workflow authentication

  • **API Management validate-jwt** or **validate-azure-ad-token** rejects invalid tokens in the inbound policy before backend forwarding. Validate issuer, audience, expiry and required claims.
  • **Subscription keys** identify API subscriptions; they do not replace OAuth identity validation. Rate limiting and backend routing are separate policies.
  • Store secret **APIM named values** as Key Vault references. Enable an APIM managed identity, grant secret-read access and provide network reachability. Marking a literal named value secret does not move it to Key Vault.
  • A **Logic Apps Request trigger** can accept SAS or Entra OAuth under supported configurations. For OAuth-only access, configure OAuth authorization and disable SAS authentication; secure inputs/outputs only conceals run-history data.

Container identity and runtime controls

  • For a registry using standard RBAC permissions, **AcrPull** downloads images and **AcrPush** pushes and pulls. AKS normally uses its **kubelet identity** to pull images.
  • **ACR repository ABAC mode** uses repository roles and conditions rather than the classic AcrPull/AcrPush model. Check the registry authorization mode before assigning roles.
  • **Image signing** establishes provenance and integrity, not vulnerability freedom. In Docker Content Trust terminology, **AcrImageSigner** grants signing rights separately from push rights.
  • **Azure Policy for Kubernetes** can deny privileged pod admission. Runtime alerts and image vulnerability scans detect different risks and do not by themselves reject the deployment.
  • **Key Vault Provider for Secrets Store CSI Driver** mounts vault objects in AKS pods. **Workload identity** supplies supported federated authentication; vault permissions still authorize object access.

Host hardening and container isolation

  • **Azure CNI** can assign pod IPs from VNet subnets; distinguish that model from overlay networking. Separate node pools and subnet policies can isolate sensitive workloads.
  • **Azure Container Instances container groups** share a local network and can communicate through localhost. Publish only required external ports. **secureValue** hides environment values from resource properties, not from the running container.
  • **Azure Machine Configuration** assesses guest settings across supported Azure and Arc servers. **Apply and Autocorrect** enforces a supported configuration and corrects drift.
  • **Defender for Endpoint EDR** and antivirus are different layers. Use supported Defender Antivirus passive-mode configuration during coexistence with third-party antivirus; disabling the Defender service removes protection.
  • **Confidential VMs** protect data in use with hardware-backed isolation. Confidential OS disk encryption binds supported disk protection to the confidential VM; ordinary disk encryption addresses data at rest.

Data protection and recovery

Key Vault authorization and networking

  • **Key Vault Contributor** manages the vault resource without secret-value access under RBAC authorization. **Key Vault Reader** reads metadata; **Secrets User** reads secret contents; **Secrets Officer** manages secrets.
  • **Crypto Officer** manages keys. **Crypto Service Encryption User** reads key metadata and wraps/unwraps keys for service encryption. Choose crypto roles rather than secret roles for encryption-key operations.
  • Grant an app managed identity the required **data-plane role** under the vault authorization model. Access policies and RBAC are distinct models; a role assignment must match the active model.
  • For App Service private vault access, combine **outbound VNet integration**, the vault private endpoint and working private DNS. To use selected-network public access instead, configure the subnet service endpoint and vault firewall rule.

Keys, secrets, certificates and recovery

  • **Keys** perform cryptographic operations; **secrets** hold arbitrary sensitive values; **certificates** combine identity material with certificate lifecycle management.
  • **Key rotation policies** create new key versions. Certificate policies can support renewal with suitable issuers. Arbitrary application-secret regeneration requires coordination with the system that owns the credential.
  • Check object **enabled state**, version and lifecycle attributes when troubleshooting. Secret expiry metadata does not itself rotate a password in the dependent application.
  • **Soft delete** retains deleted vaults and objects for recovery; **purge protection** prevents premature permanent deletion. A deleted object name remains reserved while recoverable. Access-policy configuration is not a soft-deleted vault object.
  • **Key Vault object backups** restore within the same Azure subscription and geography. Geography is broader than an individual region; backups are not a general cross-subscription migration mechanism.

Storage roles, SAS and Azure Files

  • **Storage Blob Data Reader** reads blob data; **Storage Blob Data Contributor** reads, writes and deletes it. Scope access to the needed container. A management-plane Storage Account Contributor assignment does not grant Entra blob-data access.
  • Azure portal navigation may additionally require **Reader** on the storage account. Permission to retrieve **account keys** can enable broad Shared Key access where allowed; protect that capability.
  • **User delegation SAS** grants time-bound Blob access using Entra-derived signing credentials. Restrict resource, operations, lifetime and HTTPS for third-party uploads; possession of the SAS authorizes its use.
  • **Service SAS** scopes a storage service; **account SAS** can span services and resource types. Stored access policies apply to supported service SAS tokens that reference them, not account SAS or user delegation SAS.
  • **Azure Files SMB** identity access combines a supported identity source, share-level roles and file/directory ACLs. Entra Kerberos applies to supported file-share scenarios, not Blob storage; SAS is not SMB authentication.
  • **Azure Files OAuth over REST** uses supported file data roles, including privileged roles where needed. Do not assume a managed identity can mount SMB merely because it has REST authorization.

Encryption, immutability and backup security

  • **Customer-managed keys (CMK)** require a supported key store, service identity and cryptographic permissions. Plan key recovery and rotation so encrypted services remain available.
  • For Storage **Queue/Table CMK** support, use an account-scoped encryption key configuration. **Encryption scopes** isolate encryption for Blob data; they do not supply Table encryption scopes.
  • **Time-based immutable retention** prevents modification/deletion for the retention interval. A **legal hold** persists until explicitly cleared; these WORM protections serve different retention needs.
  • **Backup multi-user authorization (MUA)** uses **Resource Guard** to separate approval for protected critical operations from vault administration. The guard can be controlled in a separate subscription or tenant.
  • **Immutable vaults**, backup soft delete and MUA protect different failure paths. A resource lock alone is not equivalent to protected backup retention or independent authorization.

SQL identity and encryption choices

  • **Microsoft Entra-only authentication** disables SQL-authenticated connections at the logical server or supported instance level. Setting an Entra administrator alone does not disable SQL authentication.
  • For passwordless application access, create the **database user from the external provider** for the managed identity and grant database permissions. Azure resource Contributor is not database read/write authorization.
  • **db_datareader / db_datawriter** provide broad database read/write rights. Prefer narrower object permissions when the application requires access to only selected objects. Entra authentication enables supported Conditional Access requirements.
  • **TDE** encrypts database files at rest; a CMK protector requires an authorized server or database identity. **Always Encrypted** protects selected columns using client-held keys.
  • **Deterministic encryption** produces matching ciphertext for matching plaintext, enabling supported equality operations while revealing patterns. **Randomized encryption** hides those patterns but limits ordinary server-side comparisons.
  • **Data Discovery & Classification** identifies sensitive columns. **Dynamic Data Masking** changes results for unprivileged callers and supports partial masks; it is not encryption or a strong defense against inference.

Database audit and private analytics

  • **Server-level SQL auditing** covers hosted databases, including new ones. A database-level policy can operate alongside it; disabling that database policy does not cancel server-level auditing.
  • **Log Analytics** centralizes supported audit data for KQL. Storage provides retained audit files; Event Hubs supports streaming integration. Match destination and network support to the SQL service.
  • Useful audit groups include **SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP**, **FAILED_DATABASE_AUTHENTICATION_GROUP** and **BATCH_COMPLETED_GROUP**. Audit records support investigation but do not replace threat detection.
  • **Defender for SQL** detects supported suspicious database activity, including SQL injection and anomalous access. Large ordinary updates are not automatically malicious merely because of a row count.
  • **Synapse managed private endpoints** connect a managed workspace VNet to supported data stores such as ADLS Gen2. Approve the endpoint and grant the workspace identity appropriate data access.

Security posture and workload protection

CSPM, attack paths and compliance

  • **Foundational CSPM** supplies baseline posture assessments. **Defender CSPM** adds capabilities such as risk prioritization, attack-path analysis, cloud security exploration and supported agentless scanning.
  • **Microsoft cloud security benchmark (MCSB)** is the baseline security initiative. Additional regulatory standards map assessments to controls; a compliant assessment is not proof of complete organizational certification.
  • **Recommendations** describe individual weaknesses. **Attack paths** connect exploitable weaknesses to valuable assets; **cloud security explorer** queries the environment security graph.
  • **Custom recommendations** can use KQL under Defender CSPM. Enable the required plan and grant suitable authoring permissions; wider Owner access does not substitute for a missing plan feature.
  • **AWS and GCP native connectors** bring supported multicloud resources into Defender for Cloud. Enable selected plans on the connected environment and configure provisioning; Azure Arc supplies supported machine management for hybrid servers.

Policy effects, remediation and resource locks

  • **Azure Policy** enforces resource conditions; **RBAC** controls who can perform actions. **Initiatives** group policies. Assign at a common ancestor and use excluded scopes or deliberate exemptions for exceptions.
  • **Deny** blocks noncompliant requests; **Audit** records noncompliance. **DeployIfNotExists** deploys missing related configuration after evaluation; **Modify** changes supported properties.
  • Existing noncompliant resources require a **remediation task** for deploy/modify remediation. The assignment managed identity needs the exact deployment permissions; granting Contributor universally is often broader than necessary.
  • **Policy-specific noncompliance messages** explain a particular restriction without changing every message in an initiative. An audit policy does not override a deny from another applicable assignment.
  • **ReadOnly lock** blocks management changes and deletion; **CanNotDelete** permits changes but blocks deletion. Locks inherit downward and target the management plane. Authorized owners can remove locks, so locks are not immutable security boundaries.
  • In **Bicep**, use properties such as **supportsHttpsTrafficOnly**, **allowBlobPublicAccess** and network ACLs for separate transport, anonymous-access and network controls. Avoid emitting keys; secure parameters/outputs conceal values in supported deployment surfaces.

Choose the protection plan and collection method

  • **Defender for Servers** protects supported Windows/Linux hosts, including Arc-enabled servers. **Defender for Containers** covers supported Kubernetes and image-security scenarios; enabling posture management alone does not enable every workload plan.
  • **Defender for Azure SQL**, **SQL servers on machines** and **Open-Source Relational Databases** address different database hosts. Choose the resource-specific plan; securing the OS does not secure every database operation.
  • **Agentless machine scanning** uses supported cloud APIs and snapshots to discover vulnerabilities and exposed secrets without installing a scanning agent. Encrypted disks may require additional key access for the scanning service.
  • **File integrity monitoring** reports changes to selected files, directories and registry paths through the supported Defender for Servers Plan 2 and Defender for Endpoint integration. Onboard non-Azure machines through the supported hybrid path.
  • **Defender for Storage** separates activity monitoring from Blob-focused malware scanning and sensitive-data discovery. Use account overrides for a different monthly scan cap; a Sentinel ingestion cap does not change malware-scanning limits.
  • **Event Grid malware-scan events** can invoke Functions or Logic Apps for quarantine and notification. Detection alone does not guarantee remediation. Registry vulnerability scanning likewise needs the applicable Defender plan and assessment configuration.

External attack surface management

  • **Defender EASM** discovers internet-facing domains, hostnames, IP addresses, ASNs and certificates from seeds and related infrastructure. External discovery complements internal cloud posture assessment.
  • **Approved Inventory** contains confirmed owned assets; **Candidate** awaits ownership verification; **Dependency** tracks infrastructure relied upon but owned by another party.
  • For divested infrastructure, update discovery **seeds** and remove inappropriate inventory assets. Mark irrelevant observations **non-applicable** where supported so findings reflect the intended attack surface.

Security operations and AI controls

Collect and verify security telemetry

  • **Azure Monitor Agent (AMA)** collects guest telemetry using **data collection rules (DCRs)**. **Azure Connected Machine agent** registers on-premises servers with Arc; it is not itself a replacement for the log collection agent.
  • Filter **Syslog facilities/severities**, Windows event selections and supported ingestion transformations before storage to reduce low-value ingestion. Create a matching custom table and stream schema for custom JSON ingestion.
  • **Windows Security Events via AMA -> SecurityEvent**; **CEF -> CommonSecurityLog**; **Syslog -> Syslog**. Query the expected table to verify connector ingestion.
  • **SecurityAlert** stores supported ingested security alerts. Firewall logs can use **AzureDiagnostics** or resource-specific **AZFW*** tables depending on diagnostic settings; do not assume one universal table.
  • **Analytics retention** serves frequent interactive investigation; long-term or data-lake retention serves less frequent searches. Choose table capabilities, search mechanisms and total retention together rather than keeping every log hot.

Detection, incidents and automation

  • **Analytics rules** use detection logic such as scheduled KQL to generate alerts and, when configured, incidents. **Threat intelligence** matches indicators; **Fusion / ML behavioral analytics** correlates supported signals.
  • **Hunting queries** support proactive investigation. **Workbooks** visualize data and **watchlists** supply reference data; neither replaces incident response automation.
  • **Automation rules** react to incident events and apply supported assignment, tagging and workflow actions. A playbook must have a configured trigger or invocation; merely creating it does not automate every incident.
  • **Playbooks** are Logic Apps workflows that call APIs and connectors for remediation, notifications and third-party ITSM tickets. Grant Sentinel the required permission to run the playbook.
  • **Sentinel Reader** views incidents; **Responder** manages incidents; **Contributor** manages Sentinel configuration. Guest incident assignment can also require directory read access. Logic App authoring and playbook execution use separate permissions.

Security Copilot workspaces and plugins

  • **Security Copilot Owner / Contributor** controls platform access. Underlying product roles still govern data retrieval: a Copilot user querying Sentinel also needs appropriate access to that workspace.
  • **Workspace membership**, assigned capacity and embedded-experience traffic routing are separate settings. Add users to the intended workspace before moving their embedded or agent traffic.
  • **User-scoped plugins** affect personal use. Restrict shared workspace or tenant plugin management to **Owners** while preserving authorized contributor personal plugins.
  • **Partner-built agents** accessing Microsoft product data require the documented administrator approval before Owners or Contributors finish identity, trigger and input setup. Runtime identity and downstream product permissions remain necessary.
  • For **Phishing Triage Agent**, distinguish permission to enable/manage agent settings from permission to manage incidents. Under Entra global-role access, these map to **Security Administrator** and **Security Operator**, alongside required Copilot access.

Agent permissions, risk and exposure

  • **Agent identities** provide identifiable principals for autonomous workloads. Use delegated permissions for user-interactive work, application permissions for supported unattended APIs, and narrow resource-specific consent where available.
  • **Graph API permissions** and **Azure RBAC** are separate grants. An autonomous agent reading one vault needs the supported app-only Graph grant for Graph tasks and a vault-scoped data role for secret access.
  • **Risk-based Conditional Access for supported agent/workload identities** can restrict token issuance using identity-risk signals. Human MFA challenges are not a substitute for autonomous identity controls.
  • **Attack paths and blast radius** show resources potentially reachable from a compromised identity. Combine that potential exposure with sign-in and activity evidence to investigate actual misuse.

Agent runtime protection and data exposure

  • **Defender runtime protection** evaluates supported agent activity before risky actions execute. For Copilot Studio, configure external threat detection integration and the Microsoft 365 app connector prerequisites, then applicable blocking rules.
  • **Audit** records matching behavior; **block** prevents a matching action at its intervention point. After-the-fact alerts and runtime blocking serve different purposes.
  • **Foundry guardrails** can be assigned to a model or an individual agent. Choose the applicable intervention point and blocking action; an agent-specific assignment can protect that agent without changing the shared deployment configuration.
  • **Evaluations and red teaming** measure behavior and expose weaknesses; they are not inline blocking controls. Tool invocation requires its own authorization and suitable guardrails.
  • **Purview DSPM** identifies data exposure and recommends remediation. Manage resulting **DLP policies** in Data Loss Prevention; use SharePoint Advanced Management **data access governance reports** to identify broad internal sharing before expanding Copilot access.