S3: Simple Storage Service Flashcards
Is S3 public or private by default?
S3 is private by default.
What is a bucket policy?
A resource policy for S3 buckets that can allow access from other AWS accounts or anonymous access.
Does S3 have a hierarchical folder structure?
No. S3 storage is flat, but uses prefixes to emulate a folder-like structure.
What does the Block Public Access setting on an S3 bucket do?
It blocks public access (in various forms) to an S3 bucket regardless of the bucket policies attached to the bucket.
What type of policy is needed to grant anonymous or cross-account access to an S3 bucket?
Bucket policy, which is a type of resource policy.
What type of web site hosting is S3 capable of providing?
Static website hosting.
What two pages are specified when configuring static website hosting in S3?
Index and error.
When using a custom domain for static website hosting, what bucket name must be used?
A bucket name that matches the domain (e.g., http://www.example.com should have a bucket name of www.example.com).
When considering static website hosting, what is offloading?
Using S3 to host static content, like images, while other aspects of the site are dynamic and generated outside of S3.
When considering static website hosting, what are out-of-band pages?
Using S3 to host a secondary static website that displays content when the main, dynamic website is down for maintenance or has an outage.
The S3 Object Versioning setting defaults to what?
Disabled.
Can you disable S3 Object Versioning?
No, Object Versioning cannot be disabled once it has been enabled. It can be suspended (and then re-enabled) but it cannot be disabled.
What is the ID value of an S3 object when Object Versioning is disabled?
Null.
When accessing a version of an S3 object that is not the current version, what information must be specified?
The object ID.
If an S3 object is accessed without specifing the object ID, what version of the object is returned?
The current version or latest version.
If you delete an S3 Object when Object Versioning is enabled, how does S3 handle the delete?
It creates a delete marker and points the current version at that marker.
What happens if an S3 object if its delete marker is deleted?
The object is undeleted and the most recent version becomes the current version.
If you want to delete a particular version (including the current version) of an S3 object, what information must be specified?
The object ID.
What impact does enabling MFA Delete have?
MFA is required to modify a bucket’s Object Versioning configuration and MFA is required to delete specific versions of objects.
What is multipart upload for S3 objects?
Multipart upload allows you to upload a single object as a set of parts. Each part is a contiguous portion of the object’s data. You can upload these object parts independently and in any order. If transmission of any part fails, you can retransmit that part without affecting other parts. After all parts of your object are uploaded, Amazon S3 assembles these parts and creates the object.
What is the minimum size for multipart upload to S3?
100MB
What is the size range for a single part for a multipart upload to S3?
5MB - 5GB
What is S3 Transfer Acceleration?
Data being uploaded to an S3 bucket in any region will upload to the closest AWS Edge Location and transit the AWS Global network, which is much faster than using the Internet to get to the region that contains the S3 bucket.
What are the three requirements for an S3 bucket to accept Transfer Acceleration uploads?
- Transfer Acceleration must be enabled.
- The bucket name cannot contain periods (.).
- The bucket name must be DNS compatible.
How resilient is an S3 bucket?
Regional resilient, though it can be configured to replicate data across regions.
What is the default storage service for AWS?
S3.
What is the size range for an S3 object?
0 bytes to 5TB
How unique does an S3 bucket name need to be?
Globally unique.
What is the maximum number of objects an S3 bucket can hold?
Unlimited.
What restrictions are there for S3 bucket names?
- They must be globally unique names
- 3-63 characters
- Letters must be lower case
- No underscores
- Must start with a letter or a number
- Cannot be formatted like an IP address (#.#.#.#)
What is the limit for the number of S3 buckets an AWS account can have?
100 soft limit, 1000 hard limit.
What are the components of an S3 object?
The key (name) and value (data).
Can you mount an S3 bucket?
No, it is object storage, not block or file storage.