Practice Problems
A company runs a three-tier web app: EC2 instances (IaaS) for the web tier, RDS (PaaS) for the database, and uses Office 365 (SaaS) for email. For each of the following controls, identify whether it is the provider's or customer's responsibility: (a) patching the OS on the web tier, (b) encrypting the database at rest, (c) managing user mailbox access, (d) configuring the VPC routing table, (e) patching the database engine.
Solution
(a) Customer — EC2 is IaaS, so the guest OS is the customer's responsibility. (b) Customer — RDS is PaaS; the provider patches the engine and OS, but the customer decides whether to enable encryption and manages the encryption keys (or uses AWS-managed keys). (c) Customer — Office 365 is SaaS; Microsoft owns the application, but the customer controls who has accounts and what they can access. (d) Customer — VPC configuration is always the customer's responsibility regardless of service model. (e) Provider — RDS is PaaS, so AWS patches the database engine. An attacker exfiltrates customer data from a company's cloud storage. The bucket had a public-read ACL. The company's CISO claims the cloud provider is responsible because the storage service was 'insecure.' Explain why this claim is incorrect and which side of the responsibility boundary the failure falls on.
Solution
The claim is incorrect. The storage service (S3, Blob, etc.) is designed to support both public and private access patterns — that's a feature, not a vulnerability. The provider's responsibility is to offer access control mechanisms (ACLs, bucket policies, block public access settings). The customer's responsibility is to configure those mechanisms correctly. A public-read ACL is a customer-side misconfiguration. The provider delivered a working service; the customer misused it. Quiz
1. A company uses AWS RDS for their database. Which of the following is the customer's responsibility?
2. An S3 bucket is accidentally configured with public-read access, exposing customer data. Which side of the shared responsibility boundary does this failure fall on?
3. Which of the following is always the customer's responsibility regardless of whether you use IaaS, PaaS, or SaaS?
Flashcards
Question
What does the cloud provider secure in the shared responsibility model?
Click to reveal answer
Answer
The provider secures the cloud itself: physical data centers, network infrastructure, hypervisor, and host OS for managed services.
Question
What does the customer secure in the shared responsibility model?
Click to reveal answer
Answer
The customer secures what they put in the cloud: data, identity/access management, network configuration (VPCs, security groups), and OS/application patching for IaaS.
Question
How does the responsibility boundary shift between IaaS and PaaS?
Click to reveal answer
Answer
With IaaS (e.g., EC2), the customer patches the guest OS. With PaaS (e.g., RDS), the provider patches the OS and application runtime — the customer only manages access, data, and configuration.
Question
What is the most common customer-side cloud breach pattern?
Click to reveal answer
Answer
Misconfigured storage (public buckets), over-privileged IAM roles, and unpatched IaaS workloads — all customer-side controls that were assumed to be the provider's responsibility.
Revision Notes
Key Takeaways
- 1. The provider secures the cloud substrate; the customer secures everything they build on top of it
- 2. The responsibility boundary shifts by service model — IaaS leaves OS patching to the customer, PaaS does not
- 3. Most cloud breaches are customer-side misconfigurations, not provider failures
- 4. Data classification and access management are always the customer's responsibility
Interview Tips
- • Use a concrete example: 'With EC2, AWS patches the hypervisor but I patch the guest OS — that's the IaaS boundary.'
- • Explain the breach pattern: 'The 2019 Capital One breach was a customer-side SSRF vulnerability, not an AWS infrastructure failure.'
- • Show you understand the nuance: 'Even with SaaS, the customer owns data classification and who can access it.'
Cheat Sheet
Shared Responsibility Model Cheat Sheet
Phase: Cloud Security Foundations | Level: beginner
The boundary:
- Provider secures the cloud: physical security, network infrastructure, hypervisor, managed service internals
- Customer secures what's in the cloud: data, IAM, network config, OS patching (IaaS)
Responsibility by service model:
| Control | IaaS | PaaS | SaaS |
|---|---|---|---|
| Physical / Network / Hypervisor | Provider | Provider | Provider |
| Guest OS | Customer | Provider | Provider |
| Application | Customer | Customer | Provider |
| Data | Customer | Customer | Customer |
| Identity | Customer | Customer | Customer |
Common breach patterns (all customer-side):
- Public storage buckets (misconfigured ACLs/policies)
- Over-privileged IAM roles
- Unpatched IaaS workloads
- Overly permissive security groups
Key rule: Every security decision starts with "which side of the line does this control fall on?"