S3 - Replication/Storage Classes Flashcards
What are the two types of Amazon S3 Replication?
1️⃣ CRR (Cross-Region Replication): Replicates data between buckets in different AWS regions.
2️⃣ SRR (Same-Region Replication): Replicates data between buckets in the same AWS region.
What is required to enable S3 Replication?
1️⃣ Enable Versioning on both source and destination buckets.
2️⃣ Provide proper IAM permissions for the S3 service to read from the source bucket and write to the destination bucket.
What are the use cases for Cross-Region Replication (CRR)?
Compliance: Meet regulations by storing data in different regions.
Lower Latency: Provide faster access to data by replicating it closer to users.
Cross-Account Replication: Share data across different AWS accounts.
What are the use cases for Same-Region Replication (SRR)?
Log Aggregation: Combine logs from multiple buckets into a single bucket.
Live Replication: Create a synchronized copy of data between production and test accounts.
How does Amazon S3 Replication work?
It is an asynchronous process where data is copied behind the scenes from the source bucket to the destination bucket.
Can replication occur between buckets in different AWS accounts?
Yes, replication can occur between buckets in the same or different AWS accounts.
What happens if Versioning is not enabled on the buckets?
Replication will not work. Versioning must be enabled on both the source and destination buckets.
What happens to existing objects after enabling S3 Replication?
Only new objects are replicated. Existing objects require S3 Batch Replication to be replicated.
What does S3 Batch Replication handle?
1️⃣ Replication of existing objects.
2️⃣ Replication of objects that failed during initial replication.
Can S3 Replication chain across multiple buckets?
No, replication does not chain. For example:
If Bucket 1 replicates to Bucket 2 and Bucket 2 replicates to Bucket 3, objects from Bucket 1 will not replicate to Bucket 3.
What is the default storage class for Amazon S3?
S3 Standard-General Purpose is the default storage class, designed for frequently accessed data.
What is the main use case for S3 Standard-IA (Infrequent Access)?
It is used for less frequently accessed data that requires rapid retrieval, such as Disaster Recovery and backups.
What is unique about S3 One Zone-IA?
Data is stored in a single availability zone, making it suitable for secondary backups or re-creatable data, with lower durability.
What are the three Glacier storage classes in Amazon S3?
1️⃣ Glacier Instant Retrieval: Milliseconds retrieval, minimum storage duration of 90 days.
2️⃣ Glacier Flexible Retrieval: Flexible retrieval times (1-5 minutes, 3-5 hours, or 5-12 hours).
3️⃣ Glacier Deep Archive: Long-term storage with retrieval times of 12-48 hours and a minimum storage duration of 180 days.
What is S3 Intelligent-Tiering?
It automatically moves objects between tiers based on usage patterns, with no retrieval charges, offering tiers for frequent, infrequent, archive, and deep archive access.