S3 Lifecycle Policy Cost Optimization
A SysOps administrator notices that an S3 bucket's storage costs have increased significantly. The bucket stores log files and is configured with S3 Standard storage class. Most logs are accessed only once after 30 days. Which action will reduce costs without affecting data retrieval?
Quick Answer
The answer is to create a lifecycle policy that transitions objects to S3 Glacier Instant Retrieval after 30 days. This is the correct choice because it directly addresses S3 lifecycle policy cost optimization by moving infrequently accessed log files to a lower-cost storage tier while preserving millisecond retrieval times, ensuring that the single access after 30 days remains fast and cost-effective. On the AWS Certified SysOps Administrator Associate SOA-C02 exam, this scenario tests your understanding of balancing storage cost against retrieval latency and fees; a common trap is choosing S3 Standard-IA, which incurs per-GB retrieval charges that can spike costs for one-time access, or S3 Glacier Deep Archive, which has hours-long retrieval times that violate the “without affecting data retrieval” constraint. Remember the memory tip: “Instant for instant access, IA for infrequent but repeated reads” — if logs are touched only once, pick Instant Retrieval to avoid surprise retrieval fees.
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
✓
Create a lifecycle policy to transition objects to S3 Glacier Instant Retrieval after 30 days.
Transitioning to S3 Glacier Instant Retrieval after 30 days reduces storage cost while maintaining millisecond access. Option A is wrong because S3 Standard-IA has retrieval fees that might increase cost for single access. Option B is wrong because S3 Glacier Deep Archive has long retrieval times (hours), making it unsuitable for logs that may need to be accessed occasionally. Option D is wrong because S3 One Zone-IA is less durable (does not replicate across AZs) and may not be appropriate for log data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Create a lifecycle policy to transition objects to S3 Standard-IA after 30 days.
Why it's wrong here
S3 Standard-IA has retrieval fees that might increase cost for single access.
- ✗
Create a lifecycle policy to transition objects to S3 Glacier Deep Archive after 30 days.
Why it's wrong here
S3 Glacier Deep Archive has long retrieval times (hours), making it unsuitable for logs that may need to be accessed occasionally.
- ✓
Create a lifecycle policy to transition objects to S3 Glacier Instant Retrieval after 30 days.
Why this is correct
S3 Glacier Instant Retrieval reduces storage cost while maintaining millisecond access.
- ✗
Create a lifecycle policy to transition objects to S3 One Zone-IA after 30 days.
Why it's wrong here
S3 One Zone-IA is less durable (does not replicate across AZs) and may not be appropriate for log 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
Courseiva writes every SOA-C02 question from scratch — 247 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way 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 is reviewing cost reports and notices that costs for Amazon S3 have increased significantly. The bucket stores log files that are accessed once a month for auditing. The logs are written daily, and each object is about 10 MB. The company needs to keep logs for 7 years. Which action will optimize costs while meeting retention requirements?
hard- ✓ A.Use an S3 Lifecycle policy to transition objects to S3 Glacier Deep Archive after 30 days and expire after 7 years.
- B.Store the logs in an Amazon EBS volume.
- C.Transition the logs to S3 Glacier Flexible Retrieval after 30 days.
- D.Store the logs in S3 Standard and delete after 7 years.
Why A: S3 Lifecycle policies can automate the transition of objects to lower-cost storage classes after a specified period. For log files that are accessed rarely (once a month), transitioning to S3 Glacier Deep Archive after 30 days minimizes storage costs while still meeting the 7-year retention requirement (expiration after 7 years). Option B is incorrect because Amazon EBS volumes are not designed for durable, cost-effective long-term storage of log files and would be more expensive. Option C is incorrect because S3 Glacier Flexible Retrieval is more expensive than S3 Glacier Deep Archive for long-term archival storage. Option D is incorrect because storing logs in S3 Standard for 7 years would incur high costs; a lifecycle policy to transition to cheaper storage is more cost-effective.
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.