S3 Flashcards

1
Q

You are hosting a static website in an S3 bucket that uses Java script to reference assets in another S3 bucket. For some reason, these assets are not displaying when users browse to the site. What could be the problem?

You haven’t enabled Cross Origin Resource Sharing (CORS) on the bucket where the assets are stored.

You cannot use one S3 bucket to reference another S3 bucket.

You need to open port 80 on the appropriate security group in which the S3 bucket is located.

Amazon S3 does not support Javascript.

A

You haven’t enabled Cross Origin Resource Sharing (CORS) on the bucket where the assets are stored.

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

What is the maximum file size that can be stored on S3?

2TB

1TB

4TB

5TB

A

5TB

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

You are using S3 in AP-Northeast to host a static website in a bucket called “acloudguru”. What would the new URL endpoint be?

http: //acloudguru.s3-website-ap-northeast-1.amazonaws.com
http: //www.acloudguru.s3-website-ap-northeast-1.amazonaws.com
https: //s3-ap-northeast-1.amazonaws.com/acloudguru/
http: //acloudguru.s3-website-ap-southeast-1.amazonaws.com

A

http://acloudguru.s3-website-ap-northeast-1.amazonaws.com

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

What is the HTTP code you would see once you successfully place a file in an S3 bucket?

312

200

524

404

A

200

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

If you want to enable a user to download your private data directly from S3, you can insert a pre-signed URL into a web page before giving it to your user.

False

True

A

True

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

Which of the following options allows users to have secure access to private files located in S3? (Choose 3)

CloudFront Origin Access Identity

CloudFront Signed URLs

Public S3 buckets

CloudFront Signed Cookies

A

CloudFront Origin Access Identity

CloudFront Signed URLs

CloudFront Signed Cookies

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

Your application is consistently reading and writing 100s of objects per second to S3 and your workload is steadily rising. What can you do to to achieve the best performance from S3?

Configure an additional bucket and distribute the files evenly between the two buckets

Add a hex hash suffix to the objects key name

Add a hex hash prefix to the objects key name

Configure a CloudFront CDN and use the S3 bucket as the origin

A

Add a hex hash prefix to the objects key name

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

Which feature of AWS can you use to configure S3 to allow one S3 bucket to access files in another S3 bucket?

CORS

Bucket ACL

IAM Role

Bucket Policy

A

CORS

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

The minimum file size allowed on S3 is 1 byte.

False

True

A

False

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

How does S3 determine which partition to use to store files?

The key name determines which partition the file is stored in

By default, all files in the same bucket are stored on the same partition

S3 automatically stores your files on a random partition

The bucket name determines which partition the file is stored in

A

The key name determines which partition the file is stored in

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

If you encrypt a bucket on S3, what type of encryption does AWS use?

Data Encryption Standard (DES)

Advanced Encryption Standard (AES) 256

Advanced Encryption Standard (AES) 128

International Data Encryption Algorithm (IDEA).

A

Advanced Encryption Standard (AES) 256

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

When you first create an S3 bucket, this bucket is publicly accessible by default.

False

True

A

False

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

Which of the following encryption methods are supported in S3? (Choose 3)

SSE-S3

SSE-AES

SSE-KMS

SSE-C

A

SSE-S3

SSE-KMS

SSE-C

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

S3 provides unlimited storage.

True

False

A

True

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

What is the largest size file you can transfer to S3 using a PUT operation?

1GB

5TB

100MB

5GB

A

5GB

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