Complete the code to create an AWS S3 bucket using AWS CLI.
aws s3api create-bucket --bucket [1] --region us-east-1
The --bucket option requires the name of the bucket you want to create.
Complete the code to start an EC2 instance using AWS CLI.
aws ec2 start-instances --instance-ids [1]The --instance-ids option requires the ID of the EC2 instance to start.
Fix the error in the AWS CLI command to list all running EC2 instances.
aws ec2 describe-instances --filters Name=instance-state-name,Values=[1]The filter value running lists all EC2 instances that are currently running.
Fill both blanks to create a security group rule allowing inbound HTTP traffic on port 80.
aws ec2 authorize-security-group-ingress --group-id [1] --protocol [2] --port 80 --cidr 0.0.0.0/0
The --group-id specifies the security group ID, and --protocol should be 'tcp' for HTTP traffic.
Fill all three blanks to create an IAM user, attach a policy, and add the user to a group.
aws iam create-user --user-name [1] aws iam attach-user-policy --user-name [2] --policy-arn [3] aws iam add-user-to-group --user-name [2] --group-name Developers
The user name must be consistent across commands, and the policy ARN specifies the permissions to attach.