You have three files stored in Amazon S3 using different storage classes: Standard, Infrequent Access (IA), and Glacier. Which storage class will incur the highest cost when you retrieve the files frequently?
Think about which storage classes charge extra for data retrieval.
Standard class is designed for frequent access with no retrieval fees. IA charges lower storage but adds retrieval fees. Glacier has the lowest storage cost but high retrieval fees and delays, making it the most costly for frequent access.
You request to retrieve an object stored in S3 Glacier. Which statement best describes the retrieval time?
Glacier is designed for long-term storage with delayed access.
Glacier retrievals can take from minutes to hours depending on the retrieval tier chosen (Expedited, Standard, or Bulk). It is not immediate like Standard storage.
You manage a dataset where 80% of files are accessed frequently and 20% are rarely accessed. Which S3 storage class combination is best to minimize cost while maintaining performance?
Consider balancing storage cost and retrieval cost based on access frequency.
Standard class is best for frequent access. IA offers lower storage cost but retrieval fees, suitable for rarely accessed files. Glacier is too slow for frequent access and not cost-effective for 20% rarely accessed files if retrieval is needed often.
Which of the following is the best practice to secure data stored in S3 Glacier?
Think about encryption and access control layers.
Best practice is to use server-side encryption with AWS KMS for strong encryption and control access with IAM policies. Public read or no encryption exposes data to risks.
You want to automate moving objects from Standard to IA after 30 days, then to Glacier after 90 days, and finally delete after 365 days. Which lifecycle policy configuration correctly implements this?
LifecycleConfiguration:
Rules:
- ID: MoveToIA
Status: Enabled
Filter: {}
Transitions:
- Days: 30
StorageClass: STANDARD_IA
- Days: 90
StorageClass: GLACIER
Expiration:
Days: 365Check the order and timing of transitions and expiration.
The lifecycle policy transitions objects first to IA at 30 days, then to Glacier at 90 days, and finally deletes them at 365 days, matching the requirement.