AWS Cloud Practitioner · Security and Compliance · medium
A team migrates a workload from self-managed Amazon EC2 instances to AWS Lambda functions. How does the AWS Shared Responsibility Model shift after this migration?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: B. AWS assumes responsibility for operating system and runtime patching
Under the AWS Shared Responsibility Model, AWS is responsible for security of the cloud and the customer is responsible for security in the cloud. How the line is drawn depends on the service type. With self-managed Amazon EC2, the customer patches and configures the guest operating system, installs and updates the runtime, and manages the application. AWS Lambda is a managed, serverless compute service. AWS runs the servers, the operating system, and the language runtime environments, and it patches them. The customer is left with the function code, the IAM execution role and permissions, the configuration, and the data. The general rule is that the more managed the service, the more responsibility moves to AWS. The most common trap is thinking that serverless removes all customer responsibility. IAM permissions, code security, and data protection always remain with the customer, and a misconfigured execution role is still the customer's problem.
Why the other options are wrong
- A. The customer becomes responsible for patching the physical hypervisor hosts — Physical hosts and hypervisors are always AWS's responsibility, on EC2 as well as Lambda. A migration cannot move that duty to the customer, and the shift actually moves duties toward AWS.
- C. AWS assumes responsibility for writing least-privilege IAM execution policies — Writing least-privilege IAM execution policies is a customer duty in every service, including Lambda. AWS provides the IAM service, but the customer decides what permissions each function gets.
- D. The customer becomes responsible for maintaining Availability Zone fiber links — The physical network, including the fiber links between Availability Zones, is part of AWS global infrastructure and is always managed by AWS. The customer never takes this on, and moving to Lambda does not change that.
More Security and Compliance questions
- A company has fifty AWS accounts in AWS Organizations and wants employees to sign in once with their corporate…
- A security team wants continuous, automated threat detection that analyzes AWS CloudTrail management events, Amazon…
- A company deploys a PostgreSQL database on Amazon RDS. Under the AWS Shared Responsibility Model, which two tasks…
- A compliance officer needs an auditable record of who deleted an Amazon S3 bucket last Tuesday, including the caller's…
- A cloud administrator creates a new AWS account. What are the recommended immediate security steps for the AWS account…
- An application running on an Amazon EC2 instance needs temporary read access to an Amazon S3 bucket without storing…
- An external financial auditor asks a cloud administrator for copies of AWS ISO 27001 and SOC 2 compliance reports…
All Security and Compliance questions and the topic overview →
AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.