Section 6: AWS Fundamentals: Amazon S3 Flashcards
What does S3 stand for?
Simple Cloud Storage Service
What is S3 advertised as?
โInfinetily scalableโ storage
What are the naming rules of S3 buckets?
No uppercase No underscore 3-63 chararecters long Not an IP Must start with lowercase letter or number
How unique must S3 bucket names be?
Totally unique accross the entire AWS S3 ecosystem. Two AWS accounts canโt have a buket with the same name.
What characterize S3 objects?
Key
Metadata
Tags
Version ID (if versionning is enabled)
What consists in an S3 object key?
The filename and its โsubpathโ
What is the max size of an S3 object?
5TB
Are there directories in an S3 bucket?
No, although the UI will trick you to think otherwise
At what level can versioning be activated in S3?
At the bucket level
What happens if we update a file in an S3 bucket with versionning?
The file will have a new version
What are some reasons why you should enable versioning in an S3 bucket?
Protects you against unintended deletes (ability to restore)
Easy roll back to previous version
What will be the version id of any files that were on an S3 bucket prior to activating versioning?
Null
What are the four methods of encrypting objects in S3?
SSE-S3
SSE-KMS
SSE-C
Client Side Encryption
What keys does SSE-S3 use to encrypt S3 objects?
It uses keys handled and managed by AWS
What keys does SSE-KMS use to encrypt S3 objects?
It leverages AWS KMS Service to manage encryption keys
What keys does SSE-C use to encrypt S3 objects?
It uses your own encryption keys which you pass to S3 in a header of your HTTP request.
Where are objects encrypted when using SSE-S3
On the server side (in S3)
Where are objects encrypted when using SSE-KMS
On the server side (in S3)
Where are objects encrypted when using SSE-C
On the server side (in S3)
Where are objects encrypted when using Client Side Encryption
On the client side using a library such as Amazon S3 Encryption Client
How to tell S3 to use SSE-S3 when sending a file?
By setting the โx-amz-server-side-encryptionโ header to โAES256โ
How to tell S3 to use SSE-KMS when sending a file?
By setting the โx-amz-server-side-encryptionโ header to โaws:kmsโ
What are the advantages of using KMS to encrypt S3 objects?
User control
Audit trail
With what encryption must HTTPS be used?
SSE-C
How to get encryption in flight when sending data to S3?
By using the HTTPS endpoint rather than the HTTP endpoint
What is another common name for โEncryption in flightโ ?
SSL / TLS