2. IAM Flashcards
What does IAM stand for in AWS?
Identity and Access Management
What is the root account in AWS, and how should it be used?
The root account is created by default and should not be used or shared, except for initial account setup.
True or False: Users can belong to multiple groups in IAM.
True
Can a group in IAM contain other groups?
No, groups only contain users, not other groups.
What is an IAM policy?
A JSON document that defines permissions for users or groups in AWS.
Which principle suggests giving the minimum permissions necessary for users?
The principle of least privilege.
Fill in the blank: IAM policies are written in _____ format.
JSON
What is the ‘Effect’ in an IAM policy statement used for?
It defines whether the statement allows or denies access.
True or False: A user must be part of a group in IAM.
False
What is a Sid in an IAM policy statement?
It is an optional identifier for the statement.
Name two types of characters that can be required in an AWS password policy.
Uppercase letters and numbers
How does MFA enhance security for IAM users?
MFA requires a second factor (device-based) in addition to a password, making it harder for accounts to be compromised if passwords are stolen.
What is one type of MFA device supported by AWS?
Virtual MFA device like Google Authenticator.
True or False: Access keys should be shared with other users.
False
Fill in the blank: The IAM service that allows managing AWS services through code is the _____
AWS SDK
How can users programmatically access AWS?
Using access keys through AWS CLI or AWS SDK.
True or False: IAM roles are only for human users.
False, IAM roles are for AWS services or applications as well.
What is the primary use of the IAM Credentials Report?
To provide an account-level report listing users and their credential statuses.