S3 Lifecycle Policy for Cost Optimization with Long Retention
A company is using Amazon S3 to store historical data. The data is accessed frequently for the first 30 days, then accessed infrequently for the next 90 days, and after 120 days it is rarely accessed but must be retained for 7 years for compliance. Which S3 lifecycle policy provides the LOWEST cost while meeting these requirements?
Quick Answer
The correct answer is to use Standard for 30 days, transition to Standard-IA for 90 days, then to Glacier Deep Archive. This S3 lifecycle policy for long retention cost optimization works because it precisely matches the storage class cost structure to the data’s changing access patterns: Standard handles the initial high-frequency period, Standard-IA reduces costs during the infrequent access window, and Glacier Deep Archive provides the absolute lowest storage cost for the remaining seven years of compliance retention. On the AWS Certified SysOps Administrator Associate SOA-C02 exam, this scenario tests your ability to map access timelines to the correct transition actions, with a common trap being to choose Glacier Flexible Retrieval instead of Deep Archive, which is more expensive for data that is rarely accessed. Remember the memory tip: “30-90-7” — 30 days Standard, 90 days IA, 7 years Deep Archive.
⚠ Common exam trap
The trap here is that candidates often overlook the compliance durability requirement and choose One Zone-IA for cost savings, or they fail to optimize the infrequent access period and keep data in Standard too long, both of which increase cost or risk data loss.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Standard for 30 days, then transition to Standard-IA for 90 days, then to Glacier Deep Archive.
It aligns the storage class transitions precisely with the access patterns: Standard for frequent access (first 30 days), Standard-IA for infrequent access (next 90 days), and Glacier Deep Archive for long-term retention (after 120 days). This minimizes cost by avoiding paying for premium storage when data is rarely accessed, while still meeting the 7-year compliance requirement at the lowest possible storage cost.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Standard for 30 days, then transition to Standard-IA for 90 days, then to Glacier Deep Archive.
Why this is correct
Optimizes cost by using appropriate storage classes for each access pattern.
- ✗
Standard for 30 days, then transition to One Zone-IA for 90 days, then to Glacier Deep Archive.
Why it's wrong here
One Zone-IA is not durable for compliance data.
- ✗
Standard for 120 days, then transition to Glacier Deep Archive.
Why it's wrong here
Misses cost savings from Standard-IA for infrequent access period.
- ✗
Standard for 30 days, then transition to Glacier for the remaining life.
Why it's wrong here
Glacier is more expensive than Glacier Deep Archive for rarely accessed data.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This SOA-C02 question is part of Courseiva's 247-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
4 more ways this is tested on SOA-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A SysOps administrator wants to reduce the cost of storing infrequently accessed data in Amazon S3. The data must be retained for 10 years for compliance. Which TWO actions should the administrator take? (Choose TWO.)
easy- ✓ A.Use S3 Glacier Deep Archive as the destination for the lifecycle transition.
- B.Store the data in S3 Standard.
- C.Enable S3 Versioning to protect against accidental deletion.
- ✓ D.Configure an S3 Lifecycle policy to transition objects to S3 Glacier Deep Archive after 30 days.
- E.Use S3 Intelligent-Tiering to automatically optimize costs.
Why A: Correct options: A and D. Option A is correct because S3 Glacier Deep Archive is the cheapest storage class for long-term archival, ideal for 10-year compliance retention. Option D is correct because configuring an S3 Lifecycle policy to transition objects to S3 Glacier Deep Archive after 30 days reduces costs for infrequently accessed data. Option B is wrong because S3 Standard is expensive for infrequently accessed data and not suitable for long-term archiving. Option C is wrong because enabling S3 Versioning increases storage costs due to multiple versions and does not directly reduce costs. Option E is wrong because S3 Intelligent-Tiering has monitoring costs and is best for unknown access patterns; it does not automatically transition to Glacier Deep Archive.
Variation 2. A company is using Amazon S3 to store data for analytics. The data is accessed frequently for the first 30 days, then rarely after that. The company wants to optimize storage costs. Which THREE actions should the SysOps administrator recommend?
medium- ✓ A.Use S3 Intelligent-Tiering to automatically optimize storage costs.
- B.Use S3 One Zone-IA for all data after 30 days to reduce costs.
- ✓ C.Create a lifecycle policy to transition objects to S3 Glacier Deep Archive after 90 days.
- ✓ D.Create a lifecycle policy to transition objects to S3 Standard-IA after 30 days.
- E.Use S3 Standard storage for all data to ensure high performance.
Why A: The correct actions are A, C, D. Option A: S3 Intelligent-Tiering automatically moves data between tiers based on access patterns, optimizing costs for data with changing access patterns. Option C: A lifecycle policy to transition objects to S3 Glacier Deep Archive after 90 days is appropriate for data that is rarely accessed after the initial 30 days. Option D: A lifecycle policy to transition objects to S3 Standard-IA after 30 days is a good cost-saving measure for data that is accessed infrequently after the first 30 days. Option B is incorrect because S3 One Zone-IA is not durable enough for analytics data that may need availability, and it does not automatically optimize costs like Intelligent-Tiering. Option E is incorrect because using S3 Standard for all data would be more expensive than using the lifecycle policies or Intelligent-Tiering.
Variation 3. A company stores 1 PB of data in Amazon S3 Standard. The data is accessed frequently for the first 30 days, then rarely accessed afterwards. The company needs to optimize storage costs. What should they do?
medium- A.Move all objects to S3 Intelligent-Tiering immediately.
- B.Delete objects older than 30 days using S3 Lifecycle expiration.
- C.Manually change the storage class of each object to S3 Glacier Deep Archive after 30 days.
- ✓ D.Configure an S3 Lifecycle policy to transition objects to S3 Standard-IA after 30 days, then to S3 Glacier Deep Archive after 90 days.
Why D: It uses an S3 Lifecycle policy to automatically transition objects to S3 Standard-IA after 30 days (when access drops), then to S3 Glacier Deep Archive after 90 days for long-term cold storage. This balances cost and access needs: Standard-IA offers lower storage cost than Standard for infrequent access, and Glacier Deep Archive provides the lowest cost for rarely accessed data after 90 days. The policy automates the transitions, avoiding manual effort and ensuring cost optimization without data loss.
Variation 4. A company stores large volumes of log data in Amazon S3. The logs are accessed frequently for the first 30 days, then occasionally for the next 60 days, and after 90 days they are rarely accessed but must be retained for 7 years for compliance. The SysOps administrator wants to minimize storage costs while ensuring data is available when needed. Which S3 lifecycle policy configuration should be applied?
easy- A.Transition objects to S3 Standard-IA after 30 days, and to S3 Glacier after 60 days. Delete after 7 years.
- B.Transition objects to S3 Glacier Deep Archive after 30 days, and delete after 7 years.
- C.Transition objects to S3 One Zone-IA after 30 days, and to S3 Glacier Deep Archive after 90 days. Delete after 7 years.
- ✓ D.Transition objects to S3 Standard-IA after 30 days, and to S3 Glacier Deep Archive after 90 days. Delete after 7 years.
Why D: It aligns the lifecycle transitions with the access patterns: frequent access for the first 30 days (S3 Standard), occasional access for the next 60 days (S3 Standard-IA), and rare access after 90 days (S3 Glacier Deep Archive, the lowest-cost storage class for long-term retention). The deletion after 7 years meets compliance requirements while minimizing costs by using progressively cheaper storage classes.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SOA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SOA-C02 exam.