Shared Responsibility Model
As you move on-prem → IaaS → PaaS → SaaS, the PROVIDER takes on more infrastructure security. You ALWAYS keep data, identities, endpoints, and access-configuration.
| Layer | On-Prem | IaaS | PaaS | SaaS |
| Physical datacenter / hardware | You | Provider | Provider | Provider |
| Network controls | You | You (configure) | Provider | Provider |
| Operating system | You | You | Provider | Provider |
| Application / runtime | You | You | You (code) | Provider |
| Identity & access | You | You | You | You |
| Data | You | You | You | You |
Exam trap: Data, identities/access, endpoints, and configuration choices are NEVER fully transferred to the provider.
AI Shared Responsibility (extends the model)
- AI platforminfrastructure, model, built-in safety controls — mostly provider
- AI applicationhow you build/configure the app, connectors, plugins — shared
- AI usageinputs, prompts, acceptable use, oversight — always you
- Prompt injectionattacker embeds instructions in input/data to manipulate AI output — a risk you must mitigate
Defense in Depth
Layered security so that if one layer fails, the next layer still protects the asset. Data sits at the center as the most critical layer.
| Layer (outside → in) | Protects / Includes |
| Physical security | Locked facilities, badge readers, guards, cameras |
| Identity & access | MFA, RBAC, conditional access |
| Perimeter | DDoS protection, perimeter firewalls |
| Network | Segmentation, NSGs — limits east-west movement |
| Compute | Patching, closing unused ports, admin restriction |
| Application | Secure dev practices, input validation (SQLi, XSS) |
| Data | Innermost layer — encryption, classification, access controls |
Mnemonic: Physical → Identity → Perimeter → Network → Compute → Application → Data
CIA Triad
ConfidentialityOnly authorized people read data. Broken = data breach.
IntegrityData stays accurate & unmodified. Broken = tampering/corruption.
AvailabilityAuthorized users can access systems. Broken = DDoS, ransomware, outage.
Zero Trust Model
"Never trust, always verify." Replaces the castle-and-moat model — necessary now that work happens from anywhere, on any device, across cloud services.
3 Guiding Principles
- Verify explicitlyauthenticate/authorize using ALL signals — identity, location, device compliance, data sensitivity, anomalies
- Least privileged accessJIT (just-in-time) + JEA (just-enough-access); risk-based adaptive policies
- Assume breachsegment access, encrypt end-to-end, monitor continuously to contain and detect damage fast
7 Foundational Pillars
Identities
Devices
Applications
Data
Infrastructure
Networks
Visibility, Automation & Orchestration (integrates all 6 — SIEM detects, SOAR responds)
Exam trap: Identity is the primary control plane — almost every successful attack eventually involves a compromised identity.
Encryption & Hashing
Encryption types
| Symmetric | Asymmetric |
| Keys | One shared key (encrypt & decrypt) | Key pair — public + private |
| Speed | Fast — good for large data at rest | Slower — good for key exchange, signing, HTTPS |
| Weakness | Key distribution problem | Solves key distribution — public key shared freely |
| Rule | Encrypt with public key → decrypt with private key. Sign with private key → verify with public key. |
Digital signatures verify
- Authenticitydata came from the claimed sender
- Integritydata wasn't modified after signing
Encryption by data state
- At reststored data — disk, database, cloud storage
- In transitmoving data — TLS/HTTPS, VPN
- In usedata in RAM/CPU — confidential computing / secure enclaves
Key management & hashing
- HSMHardware Security Module — tamper-resistant key storage
- Azure Key Vaultmanaged service for keys, certs, secrets
- Hashingone-way fingerprint — used to store passwords, never reversible
- Saltingunique random value per password before hashing — defeats rainbow tables
Identity Concepts
- Identity as the perimeterin a cloud/hybrid world, identity — not the network edge — is the true security boundary
- Authentication (AuthN)proving who you are (password, MFA, biometrics)
- Authorization (AuthZ)determining what you're allowed to do once verified
- Identity provider (IdP)creates, maintains, and manages identity info + authentication services (e.g., Microsoft Entra ID)
- Directory servicesstores info about objects on a network (users, devices, resources); Active Directory Domain Services (AD DS) is the on-prem example
- Federationlets identity from one domain be trusted in another — enables SSO across organizations/services
AuthN answers "who are you?" — AuthZ answers "what can you do?" Always in that order.
Entra ID Function & Identity Types
- Microsoft Entra IDcloud-based identity & access management service (formerly Azure AD)
- User identityrepresents a person — member or guest
- Guest / B2Bexternal user invited to collaborate
- Device identityrepresents a registered/joined/hybrid-joined device
- Application / service principalidentity for an app or service to authenticate
- Managed identityauto-managed service principal for Azure resources — no credentials to manage
- Agent identityNEW
Microsoft Entra Agent ID (GA 2026): a purpose-built identity construct for AI agents. Agent identities are special service principals with no credentials of their own — an agent identity blueprint acts as a reusable template, and agents can be governed (access reviews, lifecycle, Zero Trust policies) the same way human identities are.
Hybrid identity
- Hybrid identitysame identity works both on-prem (AD DS) and in the cloud (Entra ID)
- Microsoft Entra Connect / Cloud Syncsynchronizes on-prem AD objects to Entra ID
- Password hash sync (PHS)syncs a hash of the password hash to the cloud
- Pass-through authentication (PTA)validates passwords against on-prem AD directly, no hash stored in cloud
- Federation (ADFS)on-prem service validates credentials, cloud trusts the token
Authentication Capabilities
- Passwordweakest single factor — should never stand alone for sensitive access
- Multifactor Authentication (MFA)something you know + something you have/are — drastically reduces account compromise
- Windows Hello for Businesspasswordless — biometrics or PIN tied to a device
- Microsoft Authenticatorapp-based passwordless sign-in / push MFA
- FIDO2 security keysphishing-resistant passwordless hardware authentication
- Self-Service Password Reset (SSPR)lets users reset their own password without help desk
- Password protectionbanned password lists (global + custom) block weak/known-breached passwords
- Smart lockoutlocks out brute-force attempts while allowing legitimate users to keep trying
Passwordless > MFA > password alone, in terms of security strength.
Access Management Capabilities
- Conditional Accessif-then policy engine — evaluates signals (user, location, device, risk) and grants/blocks/requires MFA in real time
- CA signalsuser/group, location (IP/country), device platform & compliance, application, sign-in risk
- CA controlsblock access, require MFA, require compliant device, require terms of use
- RBACRole-Based Access Control — permissions granted via roles, not individuals directly
- Entra built-in rolese.g., Global Administrator, User Administrator — govern Entra/M365 administrative scope
- Azure RBACseparate system — controls access to Azure resources (subscriptions, resource groups)
Conditional Access is the practical engine behind "verify explicitly" in Zero Trust.
Identity Protection & Governance
- Entra ID Governanceumbrella for access lifecycle: who has access, why, and for how long
- Entitlement managementaccess packages — automate access requests/approvals/expiration
- Access reviewsperiodic recertification — are these people/groups still supposed to have this access?
- Privileged Identity Management (PIM)just-in-time, time-bound, approval-based elevation to privileged roles
- PIM featureseligible vs active assignments, approval workflows, justification, alerts on role activation
- Entra ID Protectiondetects identity risk — risky users, risky sign-ins — and can auto-remediate via Conditional Access
- Risk levelslow / medium / high — based on signals like leaked credentials, impossible travel, anonymous IP
PIM = privileged roles, time-limited. Access reviews = periodic recheck of existing access, human or agent.