Bitzu

CLF-C02 ยท Shared responsibility, compliance and governance

How responsibility shifts from EC2 to RDS to Lambda

How customer duties shrink from Amazon EC2 (infrastructure) to Amazon RDS (managed) to AWS Lambda (serverless), with concrete tasks for each.

Key points

  • Amazon EC2: you manage the guest OS and its patches, installed software, security groups, data.
  • Amazon RDS: AWS patches the OS and engine and runs the hardware; you manage database users, network access, backup and encryption settings, data.
  • AWS Lambda: AWS runs servers, OS and runtime; you own function code, IAM permissions, data.
  • More managed means less to operate, but data and access settings stay yours.

Source: https://aws.amazon.com/compliance/shared-responsibility-model/

Practice questions

Single choice

Who applies operating system patches to an Amazon EC2 instance?

  1. The customer
  2. AWS, automatically each month
  3. AWS, if the instance is in a private subnet
  4. The Amazon Machine Image publisher
Show answer

Answer: A. The customer

Amazon EC2 is infrastructure as a service, so the guest operating system, including its patches, is managed by the customer. AWS patches only the host and virtualization layers beneath it.

Select all that apply

When a company uses AWS Lambda, which tasks remain the company's responsibility?

  1. Writing secure function code
  2. Scoping the IAM permissions of the function
  3. Patching the operating system of the servers
  4. Replacing faulty hardware that runs functions
  5. Provisioning server capacity for peak load
Show answer

Answer: A. Writing secure function code, B. Scoping the IAM permissions of the function

With Lambda, the customer still writes and secures the function code and decides which permissions its execution role has. AWS manages the servers, the operating system and its patches, and the capacity that runs the functions.

True or false

When a database moves from Amazon EC2 to Amazon RDS, AWS also becomes responsible for deciding which users can log in to the database.

Show answer

Answer: False

False. Amazon RDS takes over OS and engine maintenance, but the customer still creates database users, grants their privileges and controls network access to the instance.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CLF-C02 topics in this module