IAM Flashcards
What is an IAM policy?
A policy defines permissions that you can assign to a user, group, role or resource
What is the resource in an IAM policy?
The resource is the AWS resource that the policy is taking affect for. For example, if you want to create access to an S3 bucket, the resource would be the specified bucket you want to access
True or False: An AWS Account is a colelction of AWS Organizations
False. An AWS Organization is a collection of AWS Accounts
What are Service Control Policies in AWS Organizations?
SCPs offer central control over the max available permissions for all accounts in an organization. They can be applied to an organization or an account and are used to restrict access
True or False: A Service Control Policy defines what orgs and accounts can do
False. They should only be used to set LIMITS to what orgs and accs can do. They cannot grant permissions
True or False: We can apply an Service Control Policy to the Management Account in the Root organization
False. Root account has full access, SCP does not change that
We need to restrict certain actions within AWS based on criteria like IP addresses, resource tags, regions, etc. What can we do?
Add a condition on the IAM Policy
True or False: When assuming a role, the user has to give up the original permissions
True
What is an Identity-based policy?
It is a policy attached to a user, group of users or roles. These are different from a resource-based policy that is attached to an AWS resource
What is an inline policy?
A policy that is attached directly to a user, group, role or resource. Resource-based policies are automatically inline policies
What is a permission boundary?
It is a limitation of permissions on a managed policy. We can define all the permission that an entity MAY have, but not what it DOES have
Does each Organization have a management account?
No. Only the root organization has the management (root) account
What is AWS Identity Center?
It helps manage control of access to all of your AWS orgs and accounts
We want to control access to SAML business applications, what AWS Service can we use?
AWS Identity Center
What are the three AWS Directory Services
AWS Managed Microsoft AD, AD Connector, Simple AD