SECURITY & COMPLIANCE Flashcards
____is responsible for constructing your house and ensuring that it is solidly built.
AWS
____ responsibility to secure everything in the house by ensuring that the doors are closed and locked.
CUSTOMERS
According the AWS shared responsibility model what is the customer responsible for?
Customers are responsible for the security of everything that they create and put in the AWS Cloud.
- You also control how access rights are granted, managed, and revoked.
According to the shared responsibility model who is responsible for:
- Configuring, and patching the operating systems that will run on Amazon EC2 instances, configuring security groups, and managing user accounts.?
Customer are responsible of security in the cloud, making sure the os is patched and who has keys of house
According the AWS shared responsibility model what is the AWS responsible for?
AWS is responsible for security of the cloud.
1. all layers of infrastructure e.g. data centre, host operating system and virtualisation layer
- Global infrastructure that runs aws cloud e.g. regions, az, edge locations
According to the Shared responsibility model who is responsible for:
Securing Host operating system, the virtualization layer, physical security of the data centers
AWS
According to the Shared responsibility model who is responsible for:
Securing AWS Regions, Availability Zones, and edge locations.
AWS
Although you cannot visit AWS data centers to see this protection firsthand, what can you do to ensure things are secure?
AWS provides several reports from third-party auditors.
According to the Shared responsibility model who is responsible for:
Maintaining network infrastructure
aws
According to the Shared responsibility model who is responsible for:
Implementing physical security controls at data centers
aws
According to the Shared responsibility model who is responsible for:
Maintaining servers that run Amazon EC2 instances
aws
According to the Shared responsibility model who is responsible for:
Patching software on Amazon EC2 instances
cmr
According to the Shared responsibility model who is responsible for:
Setting permissions for Amazon S3 objects
security in the cloud = cmr
According to the Shared responsibility model who is responsible for:
Operating System?
Customer, aws can’t enter operating system!
According to the Shared responsibility model who is responsible for:
Patching your Operating system?
AWS can notify you, but you have to patch your own system. No one can deploy anything to break your system except your team
According to the Shared responsibility model who is responsible for:
Data
Customer has full control of their DATA, aws provides tool to secure your data
What’s the best practice when using root user?
use the root user to create your first IAM user and assign it permissions to create other users.
Use the root user to perform tasks only available to the root user. E.g. changing your root user email address and changing your AWS support plan.
MFA
What are the best practices for IAM users?
Create individual IAM users for each person
unique password with MFA
What’s an IAM User?
identity that you create in AWS. It represents the person or application that interacts with AWS services and resources. It consists of a name and credentials.
a document that allows or denies permissions to AWS services and resources.
IAM Policy
______ enable you to customize users’ levels of access to resources. e.g. allow users to access all of the Amazon S3 buckets within your AWS account, or only a specific bucket.
IAM Policy
Why should you not grant employees access to all of the buckets in your AWS account.
What rule does this go against?
Not complaint with LEAST PRIVALEGE
SHOULD BE EXPLICIT, user should only be given access to what they need.
_____ a collection of IAM users.
IAM Groups
How can you assign all users in the cashier team access to ‘receipts’?
assign an IAM policy to a group, all users in the group are granted permissions specified by the policy.
What IAM best practice can be used below:
What if a coffee shop employee hasn’t switched jobs permanently, but instead, rotates to different workstations throughout the day?
IAM role
_____ is an identity that you can assume to gain temporary access to permissions.
IAM role
Why is IAM role good for temporary workstations/roles?
employee can easily switch between workstations, but they can have access to only a single workstation at a time
must be granted permissions to switch to the role.
When someone assumes an IAM role, they abandon all previous permissions that they had under a previous role and assume the permissions of the new role.
How can you provide extra layer of security to in IAM?
MFA
STRONG PASSWORD POLICY
Which IAM enables applications/services to carry out tasks?
IAM ROLE
When a user is created by default ____ ?
all actions are denied, IAM has to be specifically enabled.
Define least privilege?
Users are granted access only to what they need.
Which IAM does not require username & password?
IAM Role
Using _________ you can centrally control permissions for the accounts in your organization by using _______
AWS Organisation
Service control policy
_____ central location to manage multiple AWS accounts?
AWS organisation
What is SCP? Service control policy?
SCPs enable you to place restrictions on the AWS services, resources, and individual API actions that users and roles in each account can access.
State the 4 main features of AWS organisation
- Central Management of all AWS accounts and combine them into an organization
- Consolidated billing for all member accounts through on account + bulk discount through consolidated billing
- Hierarchical grouping of accounts into organizational units for regulatory compliance
- AWS service and API actions access control using SCPs to restrict which AWS services the users and roles in each member account can access.