AWS SAP-CO2 Study Guide Flashcards
What is an OU in AWS?
An Organizational Unit (OU) is a way to group AWS accounts within an AWS Organization to help manage and organize accounts more effectively.
What steps are involved in AWS Account Organizational Unit Migration?
Remove the member account from the former organization.
Send an invite to the member account from the prospective organization.
Accept the invite from the prospective organization upon the member account.
Ensure the OrganizationAccountAccessRole is added to the member account.
What is AWS Control Tower, and what does it automate?
AWS Control Tower is a service that simplifies the setup and governance of a secure and compliant multi-account AWS environment. It automates the setup of environments, as well as ongoing policy management using guard rails such as SCPs and AWS Config.
What are Service Control Policies (SCPs) used for?
SCPs are policies used for OUs to manage permissions within AWS Organizations. They help set limits and guardrails for accounts to ensure compliance and control.
Do SCPs grant permissions directly to AWS accounts?
No, SCPs do not grant permissions directly. Permissions are still managed through IAM (Identity and Access Management). SCPs define restrictions, and the effective permissions are the intersection of IAM, SCP, and IAM permissions boundaries.
What happens if an OU does not have all features enabled?
An OU must have all features enabled to utilize SCPs effectively. Disabling features may affect policy enforcement.
Who does SCPs affect within member accounts?
SCPs affect member accounts and attached users and roles within, including the root user(s), but not management accounts.
How do SCPs impact resource-based policies?
SCPs do not directly affect resource-based policies. They control permissions at the account level but do not change resource-based policies within services.
What are service-linked roles, and how do SCPs interact with them?
Service-linked roles enable other AWS services to integrate with AWS OUs. SCPs do not affect service-linked roles’ permissions; they continue to function as designed.
What happens if SCPs are disabled at the root account level?
If SCPs are disabled at the root account level, all SCPs are automatically detached from OUs under that root account. If re-enabled, accounts under that root revert to full AWS Access (default).
What is the similarity between SCPs and IAM permissions boundaries?
Both SCPs and IAM permissions boundaries require an explicit “allow.” If not explicitly allowed, access is denied.
What is the key principle of “Allow vs. Deny” in IAM policies?
If any “Deny” statement is present in a policy, it takes precedence over “Allow” statements. Default behavior is to deny all resources, and “Allow” statements are needed to grant permissions.
What does LDAP stand for, and what is its purpose?
LDAP stands for Lightweight Directory Access Protocol. It is a software protocol used for locating data about organizations, individuals, and resources in a network.
What is Identity Federation?
Identity Federation is a system of trust between two parties for authenticating users and conveying information needed to authorize their access to resources.
What types of entities can be included in AWS user groups?
AWS user groups can only contain users. They do not include other types of entities.
What is the difference between S3 Bucket Policies and Access permissions?
S3 Bucket Policies are used to add or deny permissions across some or all S3 objects in a bucket for central management. Access permissions grant users access to S3 resources. Bucket policies can restrict based on conditions like request time, SSL usage, and requester IP address.
What type of access control is provided by IAM Policies, ACLs, and Bucket Policies?
IAM Policies: User-level control.
ACLs (Access Control Lists): Account-level control.
Bucket Policies: Both account-level and user-level control.
What is the IAM Credentials Report used for?
The IAM Credentials Report is a security tool that lists all AWS accounts, IAM users, and the status of their various credentials. It is used for auditing permissions at the account level.
What is the purpose of IAM Access Advisor?
IAM Access Advisor shows the service permissions granted to a user and when those services were last used. It helps in revising policies at the user level.
What is the AWS Policy Simulator used for?
The AWS Policy Simulator is used to test and troubleshoot IAM policies that are attached to users, user groups, or resources.
What is IAM Access Analyzer used for?
IAM Access Analyzer is a service used to identify unintended access to resources in an organization and accounts, such as Amazon S3 buckets or IAM roles, shared with an external entity to avoid security risks.
What is Amazon Cognito, and what is its role?
Amazon Cognito is a web identity federation service and identity broker that handles interactions between applications/resources and web Identity Providers (IdPs). It helps with user authentication and authorization.
What is a User Pool in Amazon Cognito?
A User Pool is user-based and handles user registration, authentication, and account recovery in Amazon Cognito. It is compatible with various Identity Providers (IDPs).
What is an Identity Pool in Amazon Cognito?
An Identity Pool receives an authentication token to authorize access to resources directly or through the API Gateway. It maps to IAM roles and has default roles for authenticated/guest users.