SAA-C03 Question 410
Single answerYour company is using Amazon S3 to store vast amounts of data, including logs that are no longer actively accessed after 30 days. However, due to compliance requirements, these logs must be retained for seven years. You want to optimize storage costs while ensuring that the data is automatically managed throughout its lifecycle. Which approach should you take?
- A
Create an S3 Lifecycle policy to transition objects to S3 Glacier after 30 days and expire them after seven years.
- B
Manually move objects to S3 Glacier after 30 days and delete them after seven years.
- C
Use Amazon S3 Intelligent-Tiering to automatically manage the storage class and delete objects after seven years.
- D
Create an S3 Lifecycle policy to transition objects to S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days and then to S3 Glacier after 60 days, expiring them after seven years.
Show answer and explanation
Correct answer: A
Explanation
S3 Lifecycle policies are ideal for managing data lifecycles in Amazon S3. In this scenario, transitioning objects to S3 Glacier after 30 days minimizes storage costs, and expiring them after seven years ensures compliance while automatically managing data retention. This eliminates manual effort and optimizes cost efficiency.
- A. Correct.
Correct. An S3 Lifecycle policy allows you to automate transitions between storage classes (e.g., to S3 Glacier after 30 days) and configure an expiration rule to delete objects after seven years, optimizing storage costs and meeting compliance requirements.
- B. Incorrect.
Incorrect. Manually moving objects is error-prone and not scalable. S3 Lifecycle policies are designed to automate this process.
- C. Incorrect.
Incorrect. While S3 Intelligent-Tiering can manage storage class transitions based on access patterns, it does not support automatic expiration of objects after a specific time period.
- D. Incorrect.
Incorrect. Although this approach uses S3 Lifecycle policies, transitioning first to S3 Standard-IA and then to S3 Glacier adds unnecessary complexity and costs. Directly transitioning to S3 Glacier after 30 days is more cost-effective.