S3 Quiz
A company is planning on storing their files from their on-premises location onto the Simple Storage service. After a period of 3 months, they want to archive the files, since they would be rarely used. Which of the following would be the right way to service this requirement?
A. Use an EC2 instance with EBS volumes. After a period of 3 months, keep on taking snapshots of the data.
B. Store the data on S3 and then use Lifecycle policies to transfer the data to Amazon Glacier
C. Store the data on Amazon Glacier and then use Lifecycle policies to transfer the data to Amazon S3
D. Use an EC2 instance with EBS volumes. After a period of 3 months , keep on taking copies of the volume using Cold HDD volume type.
C. Storethe data on S3 and then use Lifecycle policies to transfer the data to Amazon Glacier
The AWS Documentation mentions the following
To manage your objects so that they are stored cost effectively throughout their lifecycle, configure their lifecycle. A lifecycle configuration is a set of rules that define actions that Amazon S3 applies to a group of objects. There are two types of actions:
· Transition actions—Define when objects transition to another storage class. For example, you might choose to transition objects to the STANDARD_IA storage class 30 days after you created them, or archive objects to the GLACIER storage class one year after creating them.
· Expiration actions—Define when objects expire. Amazon S3 deletes expired objects on your behalf.
Options A and D are incorrect since using EBS volumes is not the right storage option for this sort of requirement
Option C is incorrect since the files should be initially stored in S3.
For more information on AWS S3 Lifecycle policies, please visit the below URL
https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html