Security and Compliance is 30% of the scored content on CLF-C02, and the first task statement in that domain is the AWS shared responsibility model. It looks easy: AWS secures the cloud, you secure what you put in it. Then the exam asks who patches the operating system of an RDS database, or who is responsible for encrypting an S3 object, and the easy rule stops being enough.

This post gives you a way to answer these questions quickly, the cases that trip people up, and three practice questions.

The one-line rule

  • AWS: security OF the cloud. The hardware, software, networking and facilities that run AWS services. Data centers, physical servers, storage devices, the global network, the hypervisor.
  • Customer: security IN the cloud. Everything you configure or put on top: your data, who can access it (IAM), how it is encrypted, your network rules, and your applications.

Docs: Shared Responsibility Model.

The line moves with the service

The exam guide asks you to describe how responsibilities "shift, depending on the service used (for example, Amazon RDS, AWS Lambda, Amazon EC2)". The AWS Well-Architected Framework groups services into three categories, and that grouping is the fastest way to answer:

Amazon EC2 (infrastructure) Amazon RDS (platform) AWS Lambda, Amazon S3, Amazon DynamoDB (abstracted)
Physical security, hardware, network AWS AWS AWS
Host OS and virtualization AWS AWS AWS
Guest OS patches Customer AWS AWS
Database engine or runtime patches Customer (if you install it) AWS AWS (managed runtimes)
Firewall rules (security groups) Customer Customer Not applicable / customer IAM
Data, encryption choices, IAM permissions Customer Customer Customer
Application code Customer Customer Customer

The pattern: the more managed the service, the more AWS takes over, but your data and your access control always stay with you. No service moves data classification, IAM permissions or account credentials to AWS.

Docs: The shared responsibility model for security (Well-Architected).

Shared and inherited controls

AWS also describes three kinds of IT controls, and CLF-C02 sometimes asks about them by name:

  • Inherited controls: the customer fully inherits them from AWS. Example: physical and environmental controls.
  • Shared controls: both sides have a part. Patch management (AWS patches the infrastructure, you patch your guest OS and applications), configuration management (AWS configures its devices, you configure your OS, databases and apps) and awareness and training (each side trains its own people).
  • Customer-specific controls: only the customer. Example: zone security, such as routing or zoning data within specific security environments.

If an option says "patch management is AWS's responsibility" without saying which layer, be careful. It is a shared control.

The trick questions

These are the cases where the obvious answer is wrong.

"Who patches the database on Amazon RDS?" AWS patches the operating system and the database engine. You choose the maintenance window and you manage database users, parameter settings, security groups and whether storage is encrypted. On EC2 with a self-installed database, all of that patching is yours.

"Who is responsible for the Lambda runtime?" For managed runtimes, AWS patches the operating system and the runtime. You are still responsible for your function code, the libraries you package with it, and the permissions of its execution role. See Security in AWS Lambda.

"S3 encrypts my data, so encryption is AWS's job." Not quite. Since January 2023, S3 encrypts new objects by default with SSE-S3. But choosing the encryption method (for example SSE-KMS with your own key), controlling who can read the bucket, and keeping Block Public Access turned on are customer decisions. A public bucket is a customer misconfiguration, not an AWS failure. See default encryption FAQ.

"Security groups are an AWS feature, so AWS configures them." AWS provides the feature. Writing the rules is the customer's job. The same goes for network ACLs, IAM policies and MFA on the root user.

"Who is responsible for compliance?" AWS is responsible for the compliance of its infrastructure and gives you the reports through AWS Artifact. You are responsible for making your own workload compliant. Using a service that is in scope for a standard does not make your application compliant automatically.

"Who destroys old disks?" AWS. Decommissioning storage devices is part of the physical infrastructure.

"AWS Outposts runs in my data center, so is it still AWS's problem?" AWS manages the Outposts hardware and software, but the customer is responsible for the physical security of the site where it is installed. The model follows who controls each layer, not the brand on the rack.

A quick way to decide

When you're not sure, ask: "Can the customer change this setting in their account?"

  • Yes (a rule, a policy, a key, a password, code, an OS patch on EC2) → customer.
  • No (a data center door, a hypervisor, a physical cable, the RDS host OS) → AWS.

This answers most CLF-C02 shared responsibility questions without memorizing a list.

Practice questions

Question 1

A company runs a MySQL database on Amazon RDS. Which task is the company's responsibility under the AWS shared responsibility model?

A. Applying security patches to the database host operating system
B. Replacing failed storage hardware
C. Managing database user accounts and their permissions
D. Securing the physical data center where the database runs

Show answer
Answer: C. RDS is a managed service, so AWS patches the host OS and database engine (A), replaces hardware (B) and secures the facilities (D). Who can log in to the database, and with which permissions, is always the customer's decision.

Question 2

Which TWO tasks are the customer's responsibility when using Amazon EC2? (Select TWO.)

A. Patching the guest operating system
B. Maintaining the hypervisor
C. Configuring security group rules
D. Physical security of the servers
E. Decommissioning storage devices

Show answer
Answers: A and C. EC2 is infrastructure as a service: the customer manages the guest OS (including patches) and the firewall rules in security groups. The hypervisor (B), physical security (D) and destroying old storage devices (E) belong to AWS.

Question 3

A company stores customer files in Amazon S3. An audit finds that one bucket was readable by anyone on the internet. Who is responsible, and why?

A. AWS, because S3 is a fully managed service
B. AWS, because S3 encrypts new objects by default
C. The customer, because bucket access configuration is a customer responsibility
D. Both equally, because access control is a shared control

Show answer
Answer: C. AWS secures the S3 service itself. The customer controls bucket policies, ACLs and S3 Block Public Access. A is the classic trap: "managed" doesn't move access control to AWS. B is true but unrelated, because encryption at rest doesn't stop a public bucket from serving the files. D mixes up the idea of shared controls: patch and configuration management are shared, but this bucket setting is configured only by the customer.

Checklist before exam day

  • AWS = OF the cloud (physical, hardware, network, hypervisor). Customer = IN the cloud (data, IAM, configuration, code).
  • EC2: guest OS patches are yours. RDS and Lambda: AWS patches the OS and engine or runtime.
  • Data, IAM permissions and encryption choices are always the customer's.
  • Patch management, configuration management and training are shared controls. Physical controls are inherited.
  • AWS Artifact gives you AWS's compliance reports. Your workload's compliance is yours.

Good luck with CLF-C02.

Disclosure: I wrote 6 CLF-C02 practice exams on Udemy (390 scenario questions with an explanation for every option): https://www.udemy.com/course/aws-cloud-practitioner-clf-c02-6-practice-exams/?referralCode=A620B6994455C8806799. Not affiliated with or endorsed by AWS.