Security & Compliance Concepts
Shared responsibility · defense in depth · CIA · Zero Trust · encryption and hashing · GRC
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Shared responsibility model
The shared responsibility model shows who is accountable for which parts of security. As you move from on-premises to IaaS to PaaS to SaaS, the cloud provider takes on more of the underlying security responsibilities.
| Model | Provider handles | You handle |
|---|---|---|
| On-premises | Nothing: your organization manages and secures the entire stack | Everything, from the building and hardware to the operating system, applications and data |
| IaaS | Physical datacenter, network hardware, host machines | Operating systems, applications, network controls you configure, your data |
| PaaS | Also the operating system and the runtime environment | Application code, its configuration, access controls, your data |
| SaaS | The entire application stack and its underlying infrastructure | Access management (who uses the service), your data, tenant-level settings |
Always yours, in every model
- Data: classifying it, choosing how to protect it, encryption decisions.
- Identities and access: user accounts, authentication methods, access permissions.
- Endpoints: the laptops, tablets, phones and desktops that connect to your cloud services.
- Configuration choices: settings, resource permissions and network policies in your tenant. A misconfigured storage account can expose data even when the platform is secure.
Learn's AI version splits an AI-enabled app into three layers: AI platform, AI application and AI usage. Prompt injection is a key risk the customer must address through input validation, access controls and monitoring.
Defense in depth and the CIA triad
Defense in depth uses a layered approach rather than relying on a single perimeter. If one layer is breached, the next layer prevents an attacker from gaining unauthorized access to data.
| Layer (outside to inside) | What it does | Examples on the page |
|---|---|---|
| Physical security | Limits access to computing infrastructure | Locked facilities, guards, badge readers, cameras |
| Identity and access controls | Authenticate and authorize users | MFA, RBAC, conditional access |
| Perimeter security | Protects the network boundary from large-scale external attacks | DDoS protection, perimeter firewalls |
| Network security | Controls communication between resources inside a network | Network segmentation, network security groups (NSGs) |
| Compute security | Protects virtual machines, containers and other compute | Patching, closing unneeded ports, restricting admin access |
| Application security | Keeps applications free of exploitable vulnerabilities | Secure development, input validation |
| Data security | The innermost and most critical layer | Access controls, encryption, data classification |
| CIA goal | Meaning | Threat example | Control example |
|---|---|---|---|
| Confidentiality | Only authorized people can see sensitive information | Data breach | Encryption, access controls |
| Integrity | Data stays accurate, complete and unmodified except through authorized processes | Attackers modify records | Cryptographic hashing, digital signatures, audit logs |
| Availability | Authorized users can reach data and systems when needed | DDoS attack, ransomware | Redundancy, load balancing, failover, backups, DDoS protection |
Zero Trust
Zero Trust is a security strategy, not a single product or technology. Every request for access must be authenticated and authorized, regardless of where the request originates. It responds to the "castle-and-moat" model, where everything inside the network was assumed safe.
| Guiding principle | Meaning |
|---|---|
| Verify explicitly | Authenticate and authorize based on all available signals, not just a password or network location |
| Use least privileged access | Minimum access, for only as long as needed: just-in-time (JIT) and just-enough-access (JEA) |
| Assume breach | Design as if an attacker will get through: segment access, encrypt data, monitor and detect quickly |
The seven pillars
- Identities: verified with strong authentication, then least privilege. Identity is the primary control plane.
- Devices: monitor health and compliance; block or restrict devices that are out of compliance.
- Applications: visibility into all apps, including unsanctioned shadow IT.
- Data: classified, labeled and encrypted based on sensitivity.
- Infrastructure: on-premises or cloud, continuously assessed; just-in-time admin access.
- Networks: segmented, with micro-segmentation, real-time threat protection and end-to-end encryption.
- Visibility, automation, and orchestration: the seventh pillar that ties the others together; SIEM correlates signals to detect threats and SOAR triggers automated response playbooks.
Encryption and hashing
| Symmetric encryption | Asymmetric encryption | Hashing | |
|---|---|---|---|
| Keys | One shared key encrypts and decrypts | Key pair: public key and private key | No keys |
| Reversible? | Yes, with the key | Yes, with the matching private key | No: one-way |
| Strength | Fast, suited to large amounts of data | Solves key distribution; used in HTTPS and email encryption; enables digital signatures | Same input and algorithm always give the same fixed-length hash |
| Weakness | Securely sharing the key | - | Precomputed rainbow tables, countered by salting |
| Data state | Meaning | Protection example |
|---|---|---|
| At rest | Stored on a device, database or cloud storage account | Encryption with keys |
| In transit | Moving across the internet, between services or over a private network | HTTPS (TLS), VPN |
| In use | Actively processed, for example in memory | Confidential computing (secure enclaves) |
- Digital signature: signed with the private key, verified with the public key. It proves authenticity and integrity.
- Key management: store keys separately from the data, use hardware security modules (HSMs), rotate keys regularly, control access tightly. Azure Key Vault is a managed service for keys, certificates and secrets.
- Password storage: the system stores only the hash. At sign-in it hashes the entered password and compares it to the stored hash.
- Salt: a unique, randomly generated value added to each password before hashing, so two users with the same password get different hashes.
Governance, risk and compliance (GRC)
| Term | Meaning |
|---|---|
| Governance | The system of rules, practices and processes an organization uses to direct and control its activities |
| Risk | Identifying, assessing and responding to threats or events that can hurt objectives or customer trust |
| Compliance | Adherence to the laws, regulations, standards and policies that apply to the organization |
- Identify risks.
- Assess impact and likelihood.
- Respond: accept, mitigate, transfer (for example insurance) or avoid.
- Monitor risks and the effectiveness of controls.
| Concept | Meaning |
|---|---|
| Data residency | Rules on the physical locations where data can be stored and how and when it can be transferred, processed or accessed internationally |
| Data sovereignty | Data is subject to the laws of the country/region where it is physically collected, held or processed |
| Data privacy | Appropriate handling of personal data, including individuals' rights to access, correct or delete it |
- Frameworks named on the page: HIPAA (US health information), ISO 27001 (information security management systems), SOC 2 (auditing standard for service providers that store or process customer data).
- Compliance is not the same as security. Compliance defines the minimum standards that laws and regulations require.
Exam Tips
Tick each tip once you can answer it without looking.
“SaaS: what is still the customer's job?” → Access management (who uses the service), your data and tenant-level settings. Trap: The provider manages the entire application stack; moving to SaaS never removes your data and identity duties.
“PaaS: who handles the operating system and runtime?” → The cloud provider; you keep application code, its configuration, access controls and data. Trap: In IaaS the operating system is still yours.
“Responsibilities that stay with you in every model” → Data, identities and access, endpoints, configuration choices. Trap: The provider secures the infrastructure, not your data or accounts.
“Layered approach so one breach does not expose data” → Defense in depth. Trap: Not a single strong perimeter; each layer backs up the others.
“Innermost defense-in-depth layer” → Data security. Trap: Physical security is the outermost layer in the page's list.
“Layer that uses MFA, RBAC and conditional access” → Identity and access controls. Trap: Perimeter security is DDoS protection and firewalls.
“Attackers modify records” → Integrity (hashing, digital signatures, audit logs). Trap: Stealing data targets confidentiality; taking systems offline targets availability.
“DDoS flood or ransomware stops access to systems” → Availability. Trap: Confidentiality is about who can read data.
“Grant minimum access, only when needed (JIT and JEA)” → Zero Trust: use least privileged access. Trap: Verify explicitly is about signals; assume breach is about limiting damage.
“Trust nothing by default, even inside the corporate network” → Zero Trust: every request is authenticated and authorized. Trap: Zero Trust is a strategy, not a single product.
“Seventh Zero Trust pillar; SIEM and SOAR” → Visibility, automation, and orchestration. Trap: Identities, devices, applications, data, infrastructure and networks are the other six.
“Same key encrypts and decrypts” → Symmetric encryption. Trap: Asymmetric encryption uses a public and private key pair.
“Encrypt with the public key, decrypt with the private key” → Asymmetric encryption. Trap: Signing works the other way round: sign with the private key, verify with the public key.
“One-way, no keys, fixed-length digest” → Hashing. Trap: Encryption can be reversed with the key; a hash cannot.
“Protect data while it is being processed in memory” → Confidential computing (secure enclaves), for data in use. Trap: At rest and in transit are covered by traditional encryption.
“Law of the country/region where data is collected, held or processed” → Data sovereignty. Trap: Data residency is about where data may be stored and moved.
“Compliant on paper, still breached” → Compliance is the minimum required by law; security is broader. Trap: Compliance is not the same as security.
Sources
- Describe the shared responsibility model
- Describe defense in depth
- Describe the Zero Trust model
- Describe encryption and hashing
- Describe governance, risk, and compliance (GRC) concepts
Checked against Microsoft Learn on November 13, 2026.