IAM & AWS CLI Flashcards
What is a proper definition of an IAM Role?
An IAM entity that defines a set of permissions for making requests to AWS services, and will be used by an AWS service
Which of the following is an IAM Security Tool?
* IAM Credentials Report
* IAM Root Account Manager
* IAM Service Report
* IAM Security Advisor
IAM Credentials Report
IAM users should access AWS services using root account credentials? True or False?
false
What are IAM Policies?
JSON documents that define a set of permissions for making requests to AWS services, and can be used by IAM Users, User Groups, and IAM Roles
Which principle should you apply regarding IAM Permissions?
Grant least privilege.
Least privilege is a principle of granting only the permissions required to complete a task.
What should you do to increase your root account security?
Enable Multi-Factor Authentication (MFA)
IAM User Groups can contain IAM Users and other User Groups. True or False?
Flase
IAM User Groups can contain only IAM Users.
IAM Policy consists of?
A statement in an IAM Policy consists of Sid, Effect, Principal, Action, Resource, and Condition. Version is part of the IAM Policy itself, not the statement.
According to the AWS Shared Responsibility Model, which of the following is AWS responsibility?
AWS Infrastructure
What is the command to list the AWS CLI commands for AWS Identity and Access Management (IAM) and how can you access the features of IAM using the AWS CLI?
aws iam help
What is IAM?
AWS Identity and Access Management (IAM) is a web service that helps you securely control access to AWS resources. With IAM, you can centrally manage permissions that control which AWS resources users can access. You use IAM to control who is authenticated (signed in) and authorized (has permissions) to use resources.
What are access credentials in AWS?
Credentials identify who is calling the API. Access credentials are used to encrypt the request to the AWS servers to confirm your identity and retrieve associated permissions policies. These permissions determine the actions you can perform
What are profiles and how are they used to organize the config and credentials files into named collections of settings?
The config and credentials files are organized into sections named profiles. A profile is a named collection of settings, and continues until another profile definition line is encountered. Multiple profiles can be stored in the config and credentials files.
Each profile can specify different credentials and can also specify different AWS Regions and output formats.
What are environment variables for the AWS CLI?
Environment variables provide another way to specify configuration options and credentials, and can be useful for scripting or temporarily setting a named profile as the default.
What is the AWS Command Line Interface?
The AWS Command Line Interface (AWS CLI) is an open source tool that enables you to interact with AWS services using commands in your command-line shell. With minimal configuration, the AWS CLI enables you to start running commands that implement functionality equivalent to that provided by the browser-based AWS Management Console from the command prompt in your terminal program