Skip to content
Tech Interview Prep
Technical interview guide

The Shared Responsibility Model

What the cloud provider secures versus what the customer is responsible for, and why most cloud breaches fall on the customer's side.

Minutes to read
3
Practice MCQs
25
Interview Q&A
25
Edition
v5
Editorial status
Reviewed

Scope: AWS, Microsoft Azure, Google Cloud, and NIST shared-responsibility guidance current 2026-09-01.

Overview

Curated: · Written: · Reviewed:

The Shared Responsibility Model

In one line

The provider secures the cloud itself: facilities, hardware, hypervisor, network fabric and the managed internals of its services. You secure what you deploy, configure, grant access to and store. Reach for this model whenever someone asks who patches a component, who fixes a finding or who owns a control on a named service.

Key definitions

  • Security of the cloud: provider-operated facilities, hardware, hypervisor, network fabric and managed service internals.
  • Security in the cloud: what you deploy, configure, authorize and store.
  • Guest OS: the operating system inside an IaaS instance. Patching it is your duty.
  • Managed engine: the database or runtime the provider patches inside a managed service.
  • Complementary user entity controls (CUECs): controls a provider's SOC 2 report assumes you operate yourself.
  • Shared fate: providers supply secure defaults and guardrails. You must adopt and verify them.

Formulas and complexity

Downtime budget for a 30-day month (43,200 minutes):

Budget=(1−SLA)×43,200 min\text{Budget} = (1 - \text{SLA}) \times 43{,}200\ \text{min}

99.9% allows 43.2 min. 99.95% allows 21.6 min. 99.99% allows 4.32 min.

Export time in the exit case (4,200 GB at 12 GB/h, running continuously):

t=4200 GB12 GB/h=350 h≈14.6 dayst = \frac{4200\ \text{GB}}{12\ \text{GB/h}} = 350\ \text{h} \approx 14.6\ \text{days}

How it works

The boundary moves line by line with the service, so name the service before you answer. Three duties survive every abstraction level: data classification, IAM and configuration. A provider's compliance report covers only its scoped layer, for a stated period. You inherit that layer's controls and still evidence your own. A provider's encryption at rest does not decide which callers may read the data.

Facilities, hypervisor, managed engine internals Guest OS, container image, node pool, config, IAM, data Failure reported Name the service Which layer Provider owns You own Fix and produce evidence Check report scope and period

When to use and when not to

Use the model to assign owners. Do not use it to assume a control is covered because the provider offers a feature for it. Compare the layers:

LayerProvider ownsYou own
IaaS VMHypervisor, host, facilitiesGuest OS patches, security groups, IAM, data
Managed databaseHost, OS, engine patchingGrants, credentials, public reachability, backup settings
Serverless functionRuntime, scaling, hostFunction code, execution role, secrets
Managed container serviceControl plane, node OS where managedImages and their libraries, pod IAM, self-run node pools
SaaS applicationApplication stack, availabilityTenant admins, user access, data governance

Marketplace and partner services sit outside this table. Map their access, control operation, evidence and exit separately, because the provider's assurance does not extend to a vendor's software.

Traps interviewers probe

  1. Enabling a managed patch service and assuming the fleet is patched. Fix: check patch state per instance against the CVE and record the date.
  2. Patching a base image without rebuilding deployed images. A library bundled in a container image is yours. Fix: rebuild from the patched base, pin by digest and redeploy.
  3. Treating the provider's SOC 2 report as your compliance. Fix: check the report's scope, period and CUECs, then evidence your own controls.
  4. Treating encryption at rest as access control. The provider holds the keys, but any authorized caller still reads the rows. Fix: authorize per identity and log row-level reads.
  5. Assuming managed backups meet your recovery objective. Fix: check retention and point-in-time recovery, then work out the data loss at the failure time against the RPO.

Interview tips

Open by naming the service and layer, then the owner, then the evidence. For example: On RDS the provider patches the engine and OS, so credential rotation and grant review are mine, and I evidence both.

Expect these follow-ups:

  • Who patches the OS on RDS? The provider. Who patches an EC2 guest? You.
  • Our bucket went public. Whose incident is it? Yours, unless the provider's storage service misbehaved. Check the access logs first.
  • We are SOC 2 because our provider is SOC 2. What is wrong with that? The report is scoped and dated, and it does not cover your workload.
  • Our provider had an incident. Does our SLA cover the loss? The SLA sets a credit under its measurement rules. It does not restore data or traffic.

30-second outline: name the service and layer; state the owner; name the one failure you would check first; name the evidence you would produce; say what you would ask the provider, if anything.

Feedback on this overview

Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.