S3 Flashcards
What is the max size for a single file upload? What is the min?
0 - 5TB
At what size is it recommended you do multi-part upload?
100 MB
At what size is it that you must do a multipart file upload?
over 5GB
When a file is uploaded successfully what is returned?
HTTP 200 status code
S3 buckets are private or public by default?
Private
What is an Object ACL?
Individual object level permissions
What is a bucket policy?
Permissions that apply to all objects in a bucket
Is S3 bucket names global? Why?
Yes, so that you can access the bucket from anywhere in the world it has a unique global dns name.
How do you make files public in a bucket?
Turn off Block Public Access in bucket properties. Select object and make it public.
What is the format for an s3 url? Which is going to be deprecated?
https://bucketname.s3.Region.amazonaws.com/filename
Path based style s3 url will be deprecated (https://s3.Region.amazonaws.com/bucket-name/key name)
What kind of files can you upload to S3?
Any kind of file can be uploaded
Can you install an OS or Database on S3?
No, it is object storage
What is an s3 bucket?
It is like a folder to store objects in it
What is the availability and durability?
99.9% and 11 9’s
What does durability mean?
The chance that data will be loss
What does availability mean?
The amount of time that data is available
How many availability zones does S3 store itself in? How many can it lose?
3 Az’s, can sustain the loss of 2 Az’s
What consistency is S3?
Strong Read After Write meaning if you write data you can immediately read the updated/new data
What are the steps to host a static website?
- Turn on Static Website Hosting for a bucket
- Turn off Block Public Access for the bucket
- create/set the index.html and error.html
- Use a bucket policy to set files as public in the bucket (getObject for all principals)
Once versioning is enabled for an S3 bucket can it be disabled?
It can’t be disabled, only suspended
How can you prevent accidental deletion of all versions of objects in S3?
Turn on MFA
What is versioning in S3?
All versions of an object are stored including PUT and Deletes
If you make objects public in an S3 bucket, does this apply to all versions of that object?
Previous versions will not be public even if the bucket policy makes objects public. You have to make the version public specifically.