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
Replication. What is one step that must be taken for replication to work?
Enable versioning in both, the source & destination buckets
Will it to work
Enable versioning in the source bucket
Enable versioning in the destination bucket
Enable “versioning” in both the source and destination buckets
Replication. When setting replication, what is replicated, currently existing objects, only new objects, or both?
Only new objects
Replication? How do you replicate currently existing objects?
Use the force
With setting up replication rule, say “yes” to option for “batch replication object”
Click the “currently existing objects” box
Copy objects to another folder, delete current objects, copy objects back over
When setting up a replication rule, you can say “yes” to the option for a “batch replication object”
Before you can delete a bucket, what action must be taken?
Thoughts and prayers
Check the “recurse all directories” box
Check the “objects in this bucket” box
Delete all objects from within that bucket
You must delete all objects from within that bucket.
Replication. What are the two types of replication?
SRR - same region replication
BRR - Boring Region replication
XRR - eXtreme Region replication
CRR - Cross Region replication
SRR and CRR
“same region replication” and “cross region replication”
True or False: Replication.
When replicating buckets, you can replicate buckets across different AWS accounts.
True
Replication. “compliance, lower latency access, replication across accounts” - would be an example of what type of replication?
CRR - cross region replication
Replication. “log aggregation, live replication between production and test accounts” would be an example of what type of replication?
SRR - same region replication
Replication. Copying is
1. synchronous
2. asynchronous
- asynchronous
What does durability mean? What is the durability percentage and to which S3 classes does it apply to?
Durability correlates to the chances of losing a file (it getting deleted). The durability percentage is 99.99999999999 or 11 9s. You can expect to incur a single object loss every 10,000 years. The durability is the same for all S3 storage classes
What does 11 9s? correlate to?
The durability of S3 storage classes being 99.99999999999%.
Based on the S3 durability, about how many files can you expect to lose?
a single object every 10,000 years
What does availabilty mean in relation to S3?
How often the service will be up/down. This doesn’t affect the existence of the file itself but rather your ability to retrieve the file due to Amazon downtime.