31. What is the cloud shared responsibility model, and how does it change across IaaS, PaaS, and SaaS?
Define the provider's responsibility for security of the cloud and the customer's responsibility for security in the cloud. Compare responsibility for facilities, hardware, networking, operating systems, identities, applications, configuration, and data across IaaS, PaaS, and SaaS, and explain how to resolve a control that appears to fall between teams.
The provider secures the cloud infrastructure, while the customer secures what they configure, access, deploy, and store. In IaaS the customer manages more layers, including the operating system. PaaS shifts the OS and runtime toward the provider. SaaS shifts even more responsibility, but identity, configuration, access, and data still require customer control.
The shared responsibility model explains which security jobs belong to the cloud company and which belong to the customer. The cloud company protects the buildings, physical machines, and core systems that make the service work. The customer protects the people who can use the service, the choices made inside it, and the information placed there. The exact split changes depending on what is being purchased. With more managed services, the cloud company handles more technical layers, but the customer still has important duties and must confirm who owns unclear controls.
- Should I explain this using a specific cloud provider, or keep the comparison provider-neutral?
- Should I focus only on the technical boundary, or also include organizational ownership when a control is shared between teams?
The practical rule is: the provider is responsible for security of the cloud, while the customer is responsible for security in the cloud. The exact boundary depends on the service model and the specific cloud service.
Security of the cloud means the provider protects the physical facilities, physical servers, storage hardware, core networking infrastructure, virtualization layer, and managed service components that the provider operates. The customer normally cannot directly administer these layers and relies on the provider's documented security controls, service commitments, certifications, and operational processes.
Security in the cloud means the customer protects the resources, identities, configurations, applications, and information it controls. This commonly includes organization policies, account or subscription controls, human identities, workload identities, authorization, customer-configurable network boundaries, applications, customer-managed operating systems, managed-service settings, encryption choices, secrets, logging configuration, and customer data.
Authentication answers, 'Who are you?' Authorization answers, 'What are you allowed to do?' The customer should use a reviewed identity service, least privilege, strong role assignments, and phishing-resistant MFA where appropriate for human access. Workloads should preferably use managed workload identity or short-lived federated credentials instead of long-lived cloud keys embedded in code or configuration.
In IaaS, or Infrastructure as a Service, the customer receives the most infrastructure-level control and therefore usually carries the most operational security responsibility. The provider manages facilities, physical hardware, physical networking, and typically the virtualization layer. The customer normally manages the guest operating system, OS patching and hardening, applications, host configuration, identities and permissions, workload credentials, customer-configurable virtual networking and firewall rules, encryption options, monitoring configuration, and data. For example, if a customer-managed virtual machine remains vulnerable because its guest operating system was not patched, that is normally a customer responsibility.
In PaaS, or Platform as a Service, more of the technology stack is managed by the provider. The provider usually manages the underlying infrastructure, operating system, runtime platform, and platform-level patching. The customer still manages application code, application dependencies where exposed to the customer, identities, authorization, workload access, secrets, customer-configurable network exposure, service settings, logging choices, and customer data. A managed platform does not automatically make insecure application logic, excessive permissions, exposed endpoints, vulnerable dependencies, or unsafe configuration secure.
In SaaS, or Software as a Service, the provider generally manages the infrastructure, operating systems, application platform, and SaaS application itself. The customer still has important responsibilities for user lifecycle, authentication settings, MFA, roles and permissions, tenant configuration, sharing settings, integrations, API credentials, data classification, retention choices, and how users handle information. The provider operating the SaaS application does not remove the customer's responsibility to prevent excessive access, unsafe sharing, or insecure tenant configuration.
A provider-neutral comparison is:
- Facilities: provider responsibility in IaaS, PaaS, and SaaS.
- Physical hardware: provider responsibility in IaaS, PaaS, and SaaS.
- Core provider networking: provider responsibility in IaaS, PaaS, and SaaS.
- Guest operating system: usually customer responsibility in IaaS; usually provider responsibility in PaaS and SaaS.
- Application: usually customer responsibility in IaaS; customer-developed application code remains the customer's responsibility in PaaS; the provider operates the SaaS application in SaaS.
- Human and workload identity: responsibility is shared at the service boundary. The provider secures the identity platform it operates, while the customer must correctly configure users, roles, workload identities, federation, MFA, and access policies available to it.
- Service configuration: the customer is responsible for securely configuring the controls the provider exposes, while the provider is responsible for the security of the managed control plane and service implementation it operates.
- Customer data: the customer remains responsible for deciding what data is stored, how it is classified, who may access it, and which available protection settings are required. The provider is responsible for protecting the service and infrastructure mechanisms it operates.
Some controls are shared rather than belonging entirely to one side. Encryption is a good example. A provider may encrypt managed storage infrastructure and operate the cryptographic service, while the customer decides whether stronger or customer-controlled key options are required, who may use those keys, what data may be stored, and whether application-level encryption is necessary. Networking is also commonly shared: the provider protects the underlying network fabric, while the customer configures virtual networks, routes, security groups, private endpoints, ingress rules, egress controls, and exposed services when those capabilities are available.
The exact boundary must be checked for the specific provider and service because IaaS, PaaS, and SaaS are useful categories, not universal guarantees. One managed service may expose controls that another provider operates completely differently. A team should never copy a security assumption from one cloud service or provider to another without verification.
When a control appears to fall between teams, do not guess. First identify the exact service and the exact control. Read the provider's current shared-responsibility and service-specific security documentation. Break the control into concrete actions. Then assign each customer-side action to a named owner. A RACI model can help: Responsible identifies who performs the work, Accountable identifies who owns the result, Consulted identifies people whose input is required, and Informed identifies people who must be kept aware.
Next, define evidence that proves the control is operating correctly. Evidence might include configuration review, policy evaluation, access review, audit logs, automated checks, security tests, or documented provider assurance. Logs should not contain secrets, private keys, tokens, or other sensitive authentication material. If the provider boundary or internal ownership remains unclear, escalate to the appropriate security, platform, or service owner before deployment.
Safe failure behavior matters. If a security control required for production has no confirmed owner or cannot be verified, the safer action is to block or delay the risky deployment instead of assuming another team is handling it. Record the decision, ownership, expected evidence, and remediation path so the gap can be tracked and resolved.
The main tradeoff is control versus operational responsibility. IaaS gives the customer more flexibility but also more patching, hardening, monitoring, and maintenance work. PaaS reduces infrastructure administration but still requires secure application design, dependency management, identity controls, and correct service configuration. SaaS reduces technical administration the most, but identity governance, authorization, integrations, tenant configuration, and data governance remain critical customer responsibilities.
- Identify the exact cloud provider, service, and service model.
- Separate provider-operated layers from customer-controlled layers.
- Map facilities, hardware, core networking, operating systems, identities, applications, configuration, and data to the correct owner.
- For a shared control, split it into provider-side and customer-side actions instead of assigning the entire control to one party.
- Confirm the boundary using current provider and service-specific documentation.
- Assign each customer-side action to a named internal owner.
- Define evidence such as configuration checks, policy results, access reviews, audit logs, or security tests.
- If ownership or evidence remains unclear, escalate and fail safely rather than allowing an important control to remain unowned.
There is no meaningful algorithmic time or memory complexity for this question. The important costs are operational and maintenance costs. IaaS usually creates the most customer work because the customer manages operating systems, patching, hardening, applications, and more network controls. PaaS reduces infrastructure maintenance but still requires secure applications, dependencies, identities, configuration, monitoring, and data protection. SaaS usually has the lowest infrastructure administration cost, but the customer still needs ongoing identity governance, access reviews, tenant configuration review, integration security, audit monitoring, and data governance. More managed services reduce some operational work but require careful understanding of provider-specific responsibility boundaries.
Interviewers want to know whether the candidate understands that moving to the cloud does not transfer all security responsibility to the provider. They are evaluating whether the candidate can identify who owns a security control at each service layer, distinguish provider-managed infrastructure from customer-managed configuration and data, recognize how responsibility changes across IaaS, PaaS, and SaaS, and resolve ambiguous controls through documented ownership, service documentation, policy, verification, and escalation instead of making assumptions.
A common mistake is saying that the cloud provider is responsible for all security because the workload is hosted in the cloud. Another is treating the responsibility boundary as identical for every cloud service or provider. Candidates may incorrectly say that SaaS removes customer responsibility, forget identity and data responsibilities, or confuse authentication with authorization. It is also wrong to assume that provider-managed encryption automatically satisfies every customer encryption requirement. Another mistake is assigning a shared control entirely to one side instead of separating provider and customer duties. Finally, leaving an ambiguous control without a named owner or verification evidence is dangerous; ownership should be confirmed, documented, tested, and escalated when unclear.
Start with the simple rule: 'The provider secures the cloud; the customer secures what it controls in the cloud.' Then compare IaaS, PaaS, and SaaS from facilities up to data. Explain that responsibility shifts toward the provider as the service becomes more managed, but customer identity, authorization, configuration, access decisions, and data governance remain important. Finish by explaining how you verify and assign ownership for a shared or unclear control.










