CertifyDeck
All cheat sheets
SC-500 · CHEAT SHEET

Microsoft Certified: Cloud and AI Security Engineer Associate

Key concepts grouped by official exam weight.

Download as PDF (free, no sign-up)

1. Manage identity, access, and governance

20–25%

Secure access to resources by using Microsoft Entra ID

  • Privileged Identity Management provides just-in-time access: an eligible assignment must be activated (with MFA, justification, ticket or approval) and an active one grants the permissions without any action. Settings are defined per role; the Conditional Access policy for an authentication context targets eligible users, not the role, because users don't hold the role yet during activation.
  • A Conditional Access policy is an if-then of assignments (users, resources, network, conditions) and grant or session controls, evaluated after first-factor authentication. All applicable policies must be satisfied and a block stops evaluation. Report-only mode evaluates without enforcing or prompting, and Require password change can't be combined with other controls.
  • Passkeys (FIDO2) can be device-bound (Microsoft Authenticator, FIDO2 security keys) or synced; with attestation enforced only device-bound ones are allowed. Temporary Access Pass is a time-limited passcode used to register passwordless methods. Conditional Access authentication strengths (MFA, passwordless, phishing-resistant) restrict which method combinations satisfy access.
  • Registering an app creates the application object (App registrations), a global template that exists only in the home tenant, and a service principal, its local representation created in every tenant where the app is used (Enterprise applications). Users and app roles are assigned on the service principal; group assignment doesn't cascade to nested groups.
  • Delegated permissions act on behalf of a user and reach only what that user can access; application permissions (app roles) give access without a user and only an admin can consent to them. Microsoft recommends limiting user consent to verified publishers and low-impact permissions, and enabling the admin consent workflow so users can request approval.

Secure secrets and keys by using Azure Key Vault

  • Deploy one key vault per application, region and environment to limit the blast radius, and don't use it as a data or configuration store. When you create it, enable the Azure RBAC permission model and purge protection. A deleted vault is soft-deleted: its name stays reserved and recovering it doesn't restore role assignments.
  • Soft delete lets you recover vaults and objects during a retention period that can only be set when the vault is created; once enabled it can't be disabled. Purge protection, which is irreversible, blocks purging before retention ends and is required by services such as Storage with customer-managed keys. Round out the settings with logging, Event Grid and Defender for Key Vault.
  • Key Vault has a control plane (managing the vault, always authorized with Azure RBAC) and a data plane (keys, secrets and certificates), authorized with Azure RBAC, the recommended model, or legacy access policies. Use roles such as Key Vault Secrets User at vault scope; Key Vault Contributor has no data access but, under access policies, can grant itself that access.
  • The Key Vault firewall is disabled by default; when enabled, you can allow public IP addresses, subnets with the Microsoft.KeyVault service endpoint, or only private endpoints by disabling public access. The trusted services bypass admits only listed services, which excludes Azure DevOps, and it still applies when public access is disabled.
  • A key rotation policy creates new key versions with new material; services should use the versionless key URI and keep both versions enabled until data encryption keys are re-wrapped. Key Vault certificates create a key and a secret with the same name, are managed through a policy (autoRenew or emailContacts) and shouldn't be stored as secrets.

Implement governance to enforce security and regulatory compliance

  • Each Azure Policy definition has a single effect: deny rejects create or update requests with a 403, denyAction blocks deletions, audit and auditIfNotExists report, and modify and deployIfNotExists can fix existing resources with a remediation task and a managed identity. Layered assignments are evaluated separately and the result is the most restrictive; group definitions into initiatives to assign them together.
  • The Defender for Cloud Regulatory compliance dashboard assesses resources against the controls of each assigned standard (Azure Policy initiatives); MCSB is on by default and other standards require a paid plan. Automated controls link to remediation, manual ones are attested with evidence, and the data can be downloaded as a report, exported continuously or used to trigger automations.
  • Defender for Cloud assesses resources against security standards (MCSB by default, regulatory standards and custom standards) and generates recommendations with remediation steps. With Defender CSPM you can create KQL custom recommendations for Azure, AWS and GCP and governance rules that assign an owner and due date; exemptions mark resources as mitigated or risk accepted.
  • Resource locks protect subscriptions, resource groups and resources: CanNotDelete (Delete) allows reading and modifying but not deleting, and ReadOnly also blocks updates. They override every user's permissions, are inherited from the parent scope, affect only the control plane, and creating them requires access to Microsoft.Authorization/locks, such as Owner or User Access Administrator.
  • An Azure role assignment combines a security principal (user, group, service principal or managed identity), a role and a scope (management group, subscription, resource group or resource) that lower scopes inherit. Start with the most restrictive job function role and reserve Owner, Contributor, User Access Administrator and Role Based Access Control Administrator, which are privileged roles.

2. Secure storage, databases, and networking

25–30%

Implement security for storage accounts

  • A storage account is hardened with secure transfer (HTTP is rejected), a minimum TLS version, disallowed anonymous access (AllowBlobPublicAccess set to false overrides containers) and disallowed Shared Key, which is required for Conditional Access. Infrastructure encryption can only be turned on at account creation, and customer-managed keys need soft delete and purge protection on the key vault.
  • The Azure Storage firewall supports virtual network rules, IP network rules (public addresses only, with no effect within the same region), resource instance rules and trusted services exceptions. Rules only work when the default action is Deny and only affect the data plane. Resource instances and exceptions stay in effect even after public network access is disabled.
  • Defender for Storage provides activity monitoring without enabling logs, sensitive data threat detection, and on-upload or on-demand malware scanning. It is enabled per subscription or per account, and an account can override the subscription settings. Results arrive as index tags, alerts, Event Grid events or Log Analytics records, and malicious blobs can be soft-deleted automatically.
  • Data access is granted with Azure RBAC data roles (Storage Blob Data Reader, Contributor, Owner, Delegator) and SAS. A user delegation SAS is signed with Entra credentials and revoked by revoking the delegation keys; a service SAS can be bound to a stored access policy so it can be revoked. A SAS expiration policy with Block denies SAS outside its limit.

Implement security for databases

  • In Azure SQL, server-level and database-level IP firewall rules (the latter only through T-SQL), virtual network rules and private endpoints control inbound access; Allow Azure services admits any Azure resource. Disabling public network access leaves only private endpoints. Microsoft Entra-only authentication blocks SQL authentication and requires an Entra admin first.
  • Azure SQL Database auditing is defined on the server (it applies to every database) or per database and sends logs to storage, Log Analytics or Event Hubs; behind a firewall it requires managed identity. SQL Managed Instance uses a diagnostic setting plus CREATE SERVER AUDIT TO EXTERNAL_MONITOR. Microsoft support operations are audited separately.
  • Defender for Databases groups four plans: Azure SQL Databases (vulnerability assessment and Advanced Threat Protection), SQL Servers on Machines (SQL VMs and Azure Arc instances), Open-Source Relational Databases (PostgreSQL, MySQL and Amazon RDS) and Azure Cosmos DB. Turning on the Databases plan enables all four; to protect only some SQL machines, disable it on the subscription and enable it per resource.

Implement security for Azure network services

  • A network security group filters traffic with stateful rules processed by priority; inbound, the subnet NSG is evaluated before the network interface NSG, and both must allow the traffic. Application security groups group interfaces from one virtual network so rules can be written without IP addresses, and service tags replace the prefixes of Azure services.
  • Azure Virtual Network Manager applies security admin rules to network groups within its scope, and they're evaluated before network security groups. Allow lets the NSG decide, while Always Allow and Deny end evaluation; exceptions are built with higher-priority rules, and a configuration takes effect only when deployed to regions.
  • A secured virtual hub is a Virtual WAN hub with security and routing policies from Azure Firewall Manager, with no user-defined routes. Routing intent sends internet traffic, private traffic or both to the hub firewall, NVA or SaaS solution; it is the only way to inspect inter-hub traffic, and the 0.0.0.0/0 route doesn't propagate across hubs.
  • Site-to-site and VNet-to-VNet VPN connections support a per-connection custom IPsec/IKE policy with specific algorithms and DH groups. Point-to-site uses certificates, RADIUS or Microsoft Entra ID, which works only with OpenVPN and the Azure VPN Client and enables Conditional Access and MFA; client certificates are revoked by thumbprint.
  • Microsoft Entra Private Access replaces the VPN: the Global Secure Access client tunnels to private FQDNs and IPs defined in Quick Access or in per-app Global Secure Access apps, and private network connectors on Windows Server open outbound connections only. Each app is an enterprise app with assigned users and Conditional Access policies; a per-app segment takes priority over Quick Access.

3. Secure compute

20–25%

Implement security for AI

  • SharePoint data access governance reports combine snapshots (site permissions, permissions for users or groups, sensitivity labels) with activity reports (sharing links and content shared with Everyone except external users). DSPM data risk assessments detect oversharing and offer remediations such as Restricted Content Discovery, DLP by label or auto-labeling.
  • Microsoft Purview DSPM centers on the data: what exists, where it is, who can access it and how it is protected, including for AI apps and agents. AI observability inventories AI apps and agents and their risk, Activity explorer shows prompts and responses with sensitive information, and data security objectives guide remediation with DLP and labels.
  • Microsoft Defender real-time protection evaluates Copilot Studio agent tool invocations at runtime and can block them before they execute. The default rule only audits; custom rules block by detection type and agent, and audited or blocked actions are recorded in BehaviorInfo for advanced hunting in Defender XDR.
  • Conditional Access for agents evaluates the token subject: the user in the on-behalf-of flow, the agent identity or its blueprint in app-only access, and the agent user account when the agent acts as a user. Each subject needs its own policy, and targeting a blueprint or custom security attributes also covers future agents.
  • The blast radius of an agent identity is the scope of resources, data and capabilities an attacker could reach by compromising it, and it depends on its permissions, knowledge sources and blueprint actions. Attack paths show step-by-step exploitation; risk is reduced by scoping permissions (for example Sites.Selected), sources and actions.

Implement security for servers and virtual machines (VMs)

  • Azure Disk Storage server-side encryption is always on but doesn't cover temp disks or caches; encryption at host does, encrypts the flow to storage and is the recommended option for new VMs. Customer-managed keys are supplied through a disk encryption set, and Azure Disk Encryption is scheduled for retirement and can't be mixed with encryption at host.
  • Azure Bastion is a PaaS service that provides RDP and SSH over TLS to VMs through their private IP addresses, with no public IP or agent on them. Dedicated deployments use an exclusive subnet named AzureBastionSubnet; if you apply an NSG to it you must include every required rule, and the target subnet must allow 3389 or 22 from Bastion.
  • Defender for Cloud just-in-time VM access locks management ports with deny rules in the NSG or Azure Firewall and opens them only for the approved IP, ports and time window. It requires Resource Manager VMs with an NSG or firewall, checks the requester's Azure RBAC permissions, and doesn't cut established connections when access expires.
  • Azure Arc-enabled servers represents on-premises and other-cloud servers in Azure through the Azure Connected Machine agent, which gives them a resource ID and a managed identity. This lets you apply Azure Policy, machine configuration, Defender for Cloud and Microsoft Sentinel; local agent controls, such as the extension allowlist, take precedence over cloud restrictions.
  • Defender for Servers is best enabled at subscription level; Plan 1 can be turned on per resource, while Plan 2 can only be disabled per resource. On-premises machines are best onboarded as Azure Arc-enabled servers, and for AWS and GCP the multicloud connector deploys Arc automatically; on EC2 it needs the SSM Agent.

Implement security for application platform services

  • Microsoft Defender for Containers covers posture management (agentless discovery and control plane hardening), agentless vulnerability assessment of images and nodes, runtime protection through the Defender sensor and supply chain protection with gated deployment. Azure Policy for Kubernetes enforces admission rules, and alerts can also be investigated in Microsoft Defender XDR.
  • In AKS, Microsoft Entra ID authorization with Azure RBAC uses built-in roles such as Azure Kubernetes Service RBAC Reader, Writer, Admin and Cluster Admin, which can be scoped to a namespace. Disabling local accounts removes the non-auditable --admin backdoor, and authorized IP ranges limit which addresses reach the public API server; they don't apply to private clusters.
  • Azure Container Registry controls access with Azure RBAC roles such as AcrPull, AcrPush and AcrDelete,; the admin user is disabled by default. For networking, IP rules apply to the public endpoint and private endpoints use the privatelink.azurecr.io zone; when public access is disabled, trusted services need the bypass setting.
  • In Azure Container Apps, internet isolation comes from an internal environment, and each app's ingress visibility (external or internal) decides who can reach it; IP restrictions either allow or deny ranges, never both. Azure Container Instances supports managed identities to reach Key Vault without credentials and, inside a virtual network, uses a NAT gateway for outbound traffic.
  • Azure Functions secures HTTP endpoints in layers: HTTPS, access keys, App Service Authentication, API Management, virtual networks and isolation. Inbound access uses access restrictions or a private endpoint, while virtual network integration covers outbound traffic only; secrets are kept as Key Vault references or replaced by managed identities and identity-based connections.

4. Manage and monitor security posture

20–25%

Manage security posture by using Defender for Cloud

  • Defender CSPM extends the free plan with the cloud security graph: attack path analysis from external entry points, cloud security explorer for your own queries, risk prioritization, critical assets protection, governance rules and custom KQL recommendations. Attack paths require agentless scanning or the Defender for Servers vulnerability assessment capability.
  • Defender for Cloud represents compliance frameworks as security standards made of controls that group recommendations; MCSB is on by default and other standards need a paid plan. The regulatory compliance dashboard shows status per control and supports manual attestation, PDF reports, continuous export to Log Analytics and Logic Apps workflow automation.
  • Defender for Cloud workload protection plans are turned on per subscription, and some, such as Defender for Storage or Defender for SQL, also per resource. Defender for Servers Plan 2 adds agentless scanning, just-in-time access and file integrity monitoring to Plan 1; Plan 1 can be enabled per resource, Plan 2 can't.
  • Defender for Cloud connects AWS and GCP with native connectors that use federated authentication without long-lived credentials; in AWS, a management account connector automatically onboards member accounts. On-premises machines connect as Azure Arc-enabled servers, and the AWS and GCP connectors deploy Arc to machines in those clouds.
  • Defender for Servers uses Microsoft Defender Vulnerability Management to scan machines agentlessly, from disk snapshots with Plan 2 or Defender CSPM, or agent-based through the Defender for Endpoint integration with Plan 1 or Plan 2. Scanning is on by default; customer-managed-key disks need Key Vault permissions, and findings export through Azure Resource Graph.

Implement activity and event collection in Microsoft Sentinel

  • Microsoft Sentinel is enabled on a Log Analytics workspace with no resource lock and a pay-as-you-go or commitment tier; use a dedicated resource group and start with one workspace, adding more for region, tenant or ownership. In the Defender portal there is one primary workspace, correlated with Defender XDR, plus secondary workspaces; cross-workspace queries use workspace().
  • Microsoft Sentinel uses Azure roles, preferably assigned on the workspace's resource group: Reader to view, Responder to manage incidents, Contributor to create content and install solutions, Playbook Operator to run playbooks and Logic App Contributor to edit them. Assignments are cumulative, and automation rules use a service account with explicit permissions.
  • The Microsoft Sentinel content hub offers solutions, which package data connectors, analytics rules, hunting queries, parsers, workbooks, watchlists and playbooks, plus standalone content. To use an item from a solution you install the whole solution; dependencies install through Install with dependencies, and active content you created isn't overwritten by updates.
  • Connectors for Azure resources are API-based, diagnostic settings-based or agent-based. Policy-managed diagnostic connectors apply one configuration to all resources of a type in a scope; existing resources need a remediation task. The Defender for Cloud connector requires a Defender plan and the Contributor role, and offers bi-directional alert sync.
  • The Syslog via AMA and CEF via AMA connectors install the Azure Monitor Agent on a Linux machine, often a forwarder, and filter with data collection rules. The portal only offers a minimum level per facility; the API accepts specific levels. A non-Azure forwarder needs Azure Arc. CEF lands in CommonSecurityLog and syslog in Syslog; sharing a facility duplicates data.

Implement Microsoft Security Copilot

  • Security Copilot workspaces segment usage: each has its own session history, SCU capacity, Owner and Contributor roles, plugins and data storage location, which can't be changed. A capacity serves one workspace at a time. Creating capacity needs Azure Contributor or Owner. Audit logging and routing of integrated agents are tenant-wide settings.
  • Security Copilot has two roles of its own, Copilot owner and Copilot contributor, which aren't Microsoft Entra roles and give no access to security data: each plugin requires its own roles, such as Microsoft Sentinel Reader. Some roles, such as Global or Security Administrator, inherit owner access. Assign the roles to role-assignable groups and avoid privileged roles just for Copilot.
  • Plugins extend what Security Copilot and its agents can query or do, using on-behalf-of authentication for Microsoft plugins. Owners decide who can add custom plugins for themselves or the organization and can restrict preinstalled plugins to owners, including in embedded experiences. Plugins with Set up are configured per user, and custom plugins should be vetted at user level first.
  • Security Copilot agents automate tasks using triggers, permissions, an identity and plugins; creating an agent identity with Microsoft Entra Agent ID is recommended over using a user account. Partner agents that read Microsoft product data need Global Administrator approval. Security Store handles purchase and billing, while the agent is configured and operated in Security Copilot.