Lesson 7 of 36 · see all lessons
Start here: cloud concepts (domain 1, 24%)
- 1. Start here: the exam, the plan and what you already know
- 2. What the cloud is: benefits, service models and deployment models
- 3. AWS global infrastructure: Regions, Availability Zones and edge locations
- 4. Cloud economics: what you pay for on-premises vs in the cloud
- 5. The AWS Well-Architected Framework: six pillars
- 6. Moving to AWS: the Cloud Adoption Framework and migration strategies
Security and identity (domain 2, 30%)
- 7. The shared responsibility model: who secures what
- 8. IAM basics: users, groups, roles and policies
- 9. Protecting the root user, MFA and credentials
- 10. Identity at scale: IAM Identity Center, federation and cross-account access
- 11. Encryption and keys: protecting data at rest and in transit
- 12. Threat protection: Shield, WAF, GuardDuty, Inspector and Security Hub
Governance, ways of working and compute (domains 2 and 3)
- 13. Logging, auditing and compliance: CloudWatch, CloudTrail, Config and Artifact
- 14. Governing many accounts: Organizations, Control Tower and Service Catalog
- 15. Ways to use AWS: console, CLI, SDKs and infrastructure as code
- 16. Amazon EC2: virtual servers and instance types
- 17. Elasticity: Auto Scaling and Elastic Load Balancing
- 18. Containers and serverless: ECS, EKS, Fargate, Lambda and more
Storage, databases and networking (domain 3, 34%)
- 19. Block and file storage: EBS, instance store, EFS and FSx
- 20. Amazon S3: buckets, storage classes and lifecycle policies
- 21. Hybrid storage, backup and disaster recovery
- 22. Databases: RDS, Aurora, DynamoDB, ElastiCache and more
- 23. Networking: VPCs, subnets, gateways and security layers
- 24. Connecting and delivering: Route 53, CloudFront, VPN and Direct Connect
Analytics, AI, integration and more (domain 3)
Billing, pricing and support, then exam practice (domain 4, 12%)
- 29. Pricing models: On-Demand, Savings Plans, Reserved, Spot and Dedicated
- 30. Billing and cost tools: Budgets, Cost Explorer, Pricing Calculator and tags
- 31. AWS Support plans, Trusted Advisor and where to get help
- 32. Final review and exam day: every decision on one page
- 33. Mock exam 1
- 34. Mock exam 2 Exam Pack · $12
Extra practice: mock exams 3 and 4
17 min
The shared responsibility model: who secures what
Separate AWS's security of the cloud from your security in the cloud, and see how it shifts by service.
By the end of this lesson you can
- Assign a security task to AWS, the customer, or both
- Explain what the customer always owns, whatever the service
- Show how the line moves between Amazon EC2, Amazon RDS, AWS Lambda and Amazon S3
- Tell inherited, shared and customer-specific controls apart
From earlier lessons · 1 of 2
Cedar Lane Books wants its stock system on AWS by next month, with no changes to the application. Which migration strategy fits?
Pick one answer.
From earlier lessons · 2 of 2
Cedar Lane Books runs an old payroll program on its own server. Finance wants to replace it with a subscription payroll service that runs on the vendor's cloud. Which strategy is this?
Pick one answer.
Cedar Lane Books has picked its first moves: the website goes to Amazon EC2 and the MySQL orders database to Amazon RDS. At the kick-off meeting, the owner relaxes. "Great, so AWS handles security now." The IT lead frowns. Somebody still has to patch servers, pick passwords and decide who sees customer orders. Who?
Security of the cloud vs security in the cloud
Exam depth: know it cold.
The shared responsibility model is AWS's rule for splitting security work between AWS and you, the customer.
- Security of the cloud is AWS's job. AWS protects the infrastructure that runs every AWS service: the data center buildings, hardware, software and global network. AWS also runs the virtualization layer, the software that splits one physical server into many virtual ones.
- Security in the cloud is your job. It covers what you put on AWS and how you set it up. Your data, who can sign in, and how you configure each service are all yours.
How much "in" work you have depends on the services you choose.
Under the AWS shared responsibility model, which task is AWS's responsibility?
Pick one answer.
What the customer always owns
Exam depth: know it cold.
Some jobs stay yours on every service, even the most managed ones.
- Your data. You decide what you store, how sensitive it is, and how long you keep it. Sorting data by sensitivity is called classifying it.
- Access. You decide who can do what, using AWS Identity and Access Management (IAM). IAM is the AWS service for sign-ins and permissions.
- Encryption choices. Encryption scrambles data so only key holders can read it. AWS gives you the options; you choose and turn them on.
- Configuration. You set up each service you use, such as network access rules.
On Amazon EC2 you also own the guest operating system: the operating system (OS) that runs inside your virtual server. You install it, patch it and secure the software on it.
A company stores customer invoices in an Amazon S3 bucket. An employee changes the bucket permissions so anyone on the internet can read the files. Under the shared responsibility model, who is responsible for this exposure?
Pick one answer.
Inherited, shared and customer-specific controls
Exam depth: know it cold.
A control is a safeguard an auditor checks, such as "servers get patched". AWS sorts controls into three kinds.
- Inherited controls: you take them over from AWS in full. Physical and environmental controls, such as locks, guards and fire protection, are the example.
- Shared controls: both sides do the same kind of job, each on its own layer. Patch management: AWS patches the infrastructure, you patch your guest OS and apps. Configuration management: AWS configures its devices, you configure your OS, databases and apps. Awareness and training: AWS trains its staff, you train yours.
- Customer-specific controls: yours alone, based on your application, such as zoning data into separate secure areas.
To prove inherited controls to an auditor, you download AWS's audit reports from AWS Artifact. Lesson 13 covers it.
Match
Match each control to how it is split
Pick an item on the left, then its match on the right.
How the line moves: EC2, RDS, Lambda and S3
Exam depth: know it cold.
The more AWS manages, the less you secure. Amazon EC2 is infrastructure as a service (IaaS): AWS hands you a virtual server, and you run everything on it. Managed and serverless services move the line up.
| Task | EC2 | RDS | Lambda | S3 |
|---|---|---|---|---|
| Hardware, facilities, network. | AWS. | AWS. | AWS. | AWS. |
| OS install and patching. | You. | AWS. | AWS. | AWS. |
| Database or runtime software patching. | You. | AWS. | AWS. | Not applicable. |
| Who can connect or call it. | You. | You. | You. | You. |
| Code, data, permissions. | You. | You. | You. | You. |
Decision rule: if you can sign in to the operating system, you patch it. If you can't, AWS does.
Amazon RDS, a managed relational database. AWS installs and patches the OS and the database software, and runs backups and failover. You still control who connects, using security groups and database users. You choose whether to encrypt data at rest and in transit. You also tune your own queries.
AWS Lambda, which runs your code without servers you manage. AWS maintains the servers, scales them, and patches them. Lambda applies security updates to its managed runtimes, the language environments your code runs in. You own the function code, the permissions it gets and the data it handles.
Cedar Lane Books moves its MySQL orders database to Amazon RDS. Under the shared responsibility model, which task becomes AWS's responsibility?
Pick one answer.
Sorting drill: 12 Cedar Lane Books tasks
Cedar Lane Books runs its website on Amazon EC2, its orders on Amazon RDS, a stock-alert function on AWS Lambda and staff files in Amazon S3. Say AWS, customer or both for each task.
- Replacing a failed disk in a data center.
- Patching Linux on the web server.
- Patching the MySQL engine on RDS.
- Writing the stock-alert function code.
- Choosing who can read the staff-files bucket.
- Guarding the doors of the data center.
- Training staff to spot phishing emails.
- Turning on encryption for the orders database.
- Setting security group rules for the web server.
- Patching the servers that run Lambda.
- Patch management as a whole.
- Classifying which files hold customer data.
Predict, then reveal
Sort all 12 tasks before you look. Which ones are AWS, which are the customer, and which are both?
Exam-style practice
A company runs its order-confirmation code on AWS Lambda. Under the AWS shared responsibility model, which task is the company's responsibility?
Pick one answer.
A company runs a Windows application on Amazon EC2 instances. A critical Windows security patch is released. Who must apply it?
Pick one answer.
Which control is a shared control under the AWS shared responsibility model?
Pick one answer.
Worth keeping
- AWS secures the cloud: facilities, hardware, network and virtualization. You secure what you put in it.
- Data, IAM permissions and encryption choices are yours on every service.
- On EC2 you patch the guest OS. On RDS and Lambda, AWS patches the OS and the managed software.
- Patch management, configuration management, and awareness and training are shared controls.
- Physical and environmental controls are inherited from AWS; prove them with AWS Artifact.
On the job
A finance director at Cedar Lane Books asks why the IT budget still has a line for "server patching" after the move. The answer is the shared responsibility model. The website runs on EC2, so the team still patches its guest OS. The orders database moved to RDS, so that patching line shrinks to zero.
Sales and project people use the same model in customer meetings. When a client asks "is AWS secure?", the honest answer has two parts. AWS secures the infrastructure. The client still decides who gets access and how data is protected.
So access is always your job. But the IT lead, three developers and an auditor all need different access to Cedar Lane Books' account. Next lesson: IAM users, groups, roles and policies.
Leaderboard
Loading…
50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.
Embed this practice on your site
Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.
Report a copyright problem with this lesson
Sources for this lesson (11)
Each fact in the lesson is marked with the number of the page it comes from.
- [3]AWS: CLF-C02 Content Domain 2: Security and Compliance
- [62]AWS: Security in Amazon EC2
- [63]AWS: Managing Lambda runtime updates
- [64]AWS: Security in AWS Lambda
- [65]AWS: What is AWS Lambda?
- [66]AWS: Migration strategies (AWS Prescriptive Guidance)
- [67]AWS: Security in Amazon RDS
- [68]AWS: Security in Amazon S3
- [102]AWS: Shared Responsibility Model
- [133]AWS: What is AWS Artifact?
- [244]AWS: What is Amazon Relational Database Service (Amazon RDS)?