Simple Storage Service (S3) Flashcards
What is S3?
It is object storage (manages data as objects rather than in file systems or data blocks) that is highly scalable and simple to use.
What is the maximum amount of storage allowed in S3?
The storage is unlimited.
What is the maximum and minimum size of a file in S3?
S3 objects can be between 0 bytes to a maximum of 5 terabytes
Where are files stored in S3?
In buckets (which is essentially like a folder)
Can you use the same bucket name in two different accounts?
No, bucket names must be globally unique across all of AWS.
What is the format of an S3 url?
https://bucket-name.s3.region.amazonaws.com/key-name
https://acloudguru.s3.us-east-1.amazonaws.com/Ralphie.jpg
What is the key of an S3 object?
It is the name of the object.
What is the value of an S3 object?
It is the data itself, which is made up of a sequence of bytes
What is the Version ID of an S3 object?
It is important for storing multiple versions of the object (when versioning is enabled).
What is the Metadata of an S3 object?
Data about the data you are storing (e.g. content-type, last-modified, etc.)
How does AWS protect your data from loss in S3?
It is stored across multiple devices and facilities.
What is the percentage of availability in S3?
It is 99.95% to 99.99%, depending on the S3 tier
What is the percentage of durability of S3?
It is designed for 99.999999999% (11-9’s)
What is Standard S3 tier?
The default version of S3, where it is stored in at least 3 AZs.
It guarantees 99.99% availability and 99.999999999% durability.
It is designed for frequently accessed data and is suitable for most workloads, like websites, content distribution, mobile and gaming applications and big data analytics.
What is Lifecycle Management in S3?
You define rules to automatically transition objects to a cheaper storage tier or delete objects that are no longer required after a set period of time.
It can be used in conjunction with versioning where it can be applied to current versions or previous versions of objects.
What are the ways you can secure your data in S3?
- Server-side encryption (default encryption on a bucket to encrypt all new objects when they are stored in the bucket)
- Access Control Lists (ACLs) which defines which AWS accounts or groups are granted access and the type of access (and can be attached to individual objects in a bucket)
- Bucket Policies (JSON polices applied to a bucket as a whole that are specific to what actions are allowed or denied)
What type of data consistency can you expect from S3?
Strong read-after-write consistency
If you successfully upload a file to S3, what is the HTTP status code that is returned?
200
What is the difference between Access Control Lists and Bucket Policies in S3?
Access Control Lists work on an individual object level and bucket polices are bucket-wide and are applied on the entire bucket.
When you create a bucket in S3, is it by default private or public?
It is by default private.
What can you use to make an individual object in S3 public?
Object ACLs
What can you use to make an entire bucket public in S3?
Bucket policy