Securing S3 using Pre-Signed URLs Flashcards

1
Q

What is the CLI command to create an S3 bucket?

A

aws s3 mb s3://

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is the CLI command to list the contents of an s3 bucket?

A

aws s3 ls s3://

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the CLI command to list your buckets?

A

aws s3 ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is the CLI command to copy a file to a bucket?

A

aws s3 cp s3:///

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

True or false: Specifically knowing the aws CLI commands is not necessary for the SysOps test?

A

True, however, it will be helpful and is a must for actually working with AWS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an AWS presigned url?

A

A temporary link to a predefined S3 resource(s). The link will contain a token, and whoever possesses the link will have access to the object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or false: a pre-signed URL can only be created using the AWS SDK?

A

False, you can also use the CLI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

True or False: The default length of time that a pre-signed URL is available is indefinite?

A

False, it is one hour.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the CLI command to change the expiry on a pre-signed URL?

A

–expires-in

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is the unit of time that pre-signed URLs use for expirations?

A

seconds. While the default expiry is one hour, it is expressed in terms of seconds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly