S3 Flashcards
True of False: S3 objects can be accessed across all regions?
True
S3 buckets are defined at which level:
1 - Region
2 - Availability Zone
3 - Global
1 - Region
Which of the two items below make up the two elements of an object’s key
1 - object name
2 - s3://my-bucket
3 - region name
4 - prefix
1 - object name
4 - prefix
In the following example of an s3 object, which is the prefix and which is the object name?
s3://my-bucket/alice/chesirecat.jpg
Prefix = “alice”
Object name = “chesirecat.jpg”
How does the concept of “directories” work as it relates to s3 objects
Trees
Branches
Forests
There are no directories
there are no directories
what type of filesystem is used in S3
NTFS
Sequential File system
Hierarchical file system
Flat file system
flat file system
what is the maximum size for an s3 object?
1 Gigabyte
500 Gigabytes
30 Terabytes
5 terabytes
5 Terabytes
In S3 - if uploading more than “x” amount of data, it must be done in what type of upload?
1 TB / discard the remainder
5 TB / sticky
5 GB / multi upload
30 GB / branching
x = 5GB
multi-upload
what other properties can an S3 object have? (Choose three)
Tag
Marking
Version ID
Model
Metadata
tag, version ID, metadata
how many tags can an S3 object have?
5
1
100
10
10
When setting security, which of the two based policies could you choose from:
1 - Object policy
2 - User-based policy
3. - Resource-based policy
4. - Control List Policy
2 - User-based policy
3 - Resource based policy
What type of policy would be used for to allow a specific IAM user to access the object? (Choose one)
Bucket policy
IAM policy
IAM policy
What type of policy would be used to provide public access to an S3 object? (Choose one)
Bucket policy
IAM policy
Bucket policy
Bucket, Object Control List (ACL) and Bucket Access Control List are all what type of security?
User based
ACL based
Resource based
File based
resource based
If you want to allow an EC2 instance to access an S3 bucket, what type of policy would you use?
Bucket policy
IAM roles
User policy
Bucket Access Control List
IAM roles
If you want to allow an IAM user from another AWS account (cross-account) access to an S3 object, which type of policy would you use?
IAM role
External User role
Bucket policy
Resource policy
bucket policy
True or False: Bucket settings for blocking public access can be set at the AWS account level
True
Versioning is enabled (by selecting the “enable” button) at what level?
The bucket level
The network level
The resource level
The region level
the bucket level
Static web site, if you get a “403 Fobidden” error, what should you do?
Ensure the bucket policy does not allow public reads
Ensure the resource policy does not allow public reads
Ensure the bucket policy allows public reads
Ensure the resource policy allows public reads
ensure the “bucket policy” allows public reads
Static web site URL is ==> http://w.x-y.z. Solve the URL for each letter. Give the descriptive class for each and an actual example of a full URL
After which letter, can you use either a “.” or a “-“
http://bucketname.s3-website-regionname.amazonaws.com
http://chesirecat.s3-website-us-east-1.amazonaws.com
True for False.
Versioning. It is best practice to version your buckets?
True
Versioning. When deleting an object in a bucket that has versioning enabled, is the file actually deleted? Explain
No. A “deletion marker” is added but the original file still exists
For any object that already existed before versioning was enabled, what will happen to it?
The object goes bye-bye
The object will receive a null marker
The object will not receive a null market
The object remains an object
It will receive a “null” marker
If you suspend versioning, will this then delete the previous versions?
No