S3 Flashcards
True or False: Buckets must have globally unique names
True
True or False: Buckets are created globally
False. Buckets are created by region. The console may make it seem as though it is global
What is the key in an s3 object?
The key is the full path, starting after the bucket name
What must you use if your object is more than 5GB?
Multi-part upload
What must be required for an IAM principal to access an S3 object?
They must have an IAM permission ALLOW OR the resource policy ALLOWS it AND there’s no explicit deny
True or False: By default, all buckets are public?
False. By default, all S3 resources are private. Only the resource owner can access it.
True or False: It is best practice to disable ACLs unless for specific circumstances?
True
What is CRR and SRR replication?
Same region replication & cross region replication
What must you do for Cross-Region Replication and Same-Region Replication to be enabled?
Must enable versioning
If you want to replicate existing objects, what must you use?
S3 Batch Replication
What is the minimum storage duration for S3 Glacier?
90 days
What are the 3 tiers of S3 Glacier Flexible Retrieval?
Expedited (1 to 5 minutes), Standard (3 to 5 hours), Bulk (5 to 12 hours)
Why would you choose a storage class of Glacier over Standard?
Standard is when you need frequently accessed objects. The cost per month of storage is more, but the access costs are less for Standard
You have a 25 GB file that you’re trying to upload to S3 but you’re getting errors. What is a possible solution for this?
Use Multi-Part upload when files are greater than 5GB
You have enabled versioning in your S3 bucket which already contains a lot of files. Which version will the existing files have?
Null. Versioning does not exists on previous objects.
You have updated an S3 bucket policy to allow IAM users to read/write files in the S3 bucket, but one of the users complain that he can’t perform a PutObject API call. What is a possible cause for this?
The IAM user has an explicit deny in the attached IAM policy. Explicit DENY take precedence over the bucket policy
You want the content of an S3 bucket to be fully available in different AWS Regions. That will help your team perform data analysis at the lowest latency and cost possible. What S3 feature should you use?
Cross Region Replication.
Why would you choose Standard IA storage class over S3 Glacier Instant Access?
Standard IA are for objects that may still need to be accessed more frequently than a Glacier Instant Retrieval
What is requester pay?
The requester to the S3 bucket resources pays instead of the owner
What is S3 transfer acceleration?
The file transfer goes to an Edge location first before being sent to S3 bucket. This increases speed as Edge location to bucket is faster than standard network delivery by utilizing CloudFront edge locations.