Complete the code to list all S3 buckets using AWS CLI.
aws s3 [1]The aws s3 ls command lists all S3 buckets in your AWS account.
Complete the code to automate EC2 instance start using AWS CLI.
aws ec2 [1] --instance-ids i-1234567890abcdef0
The start-instances command starts the specified EC2 instance.
Fix the error in the AWS CLI command to copy a file to S3 bucket.
aws s3 [1] myfile.txt s3://mybucket/The correct AWS CLI command to copy files to S3 is aws s3 cp.
Fill both blanks to create a new IAM user with AWS CLI.
aws iam [1] --user-name [2]
The correct command is aws iam create-user --user-name USERNAME. 'add-user' is not a valid AWS CLI command.
Fill all three blanks to automate EC2 instance creation with AWS CLI.
aws ec2 [1] --image-id [2] --count [3] --instance-type t2.micro
The command aws ec2 run-instances launches new instances. You specify the AMI ID and the number of instances with --image-id and --count.
