S3 Lifecycle Policy: Automatically Move Logs to Cheaper Storage Classes - AWS SAA
A test environment stores logs in S3. Logs are queried for 30 days, rarely accessed for one year, and then retained for compliance. What should reduce storage cost? The design must avoid adding custom operational scripts.
Quick Answer
An S3 lifecycle policy is the right tool because the scenario describes data whose value and access pattern change predictably over time, queried often in the first 30 days, rarely touched for roughly a year after that, then kept only because compliance requires it, and lifecycle rules exist specifically to automate storage-class transitions on that kind of age-based schedule. Once configured, the policy moves objects out of the more expensive, frequent-access storage class as they age into the rarely-accessed and then long-term-retention phases, without anyone having to track object ages or move data manually. That automation is exactly what satisfies the requirement to avoid custom operational scripts: instead of writing and maintaining code to check object age and copy or delete objects accordingly, the transitions are declared once as a policy and S3 handles the rest indefinitely. This is a better fit than picking a single storage class up front, since no one class is cost-optimal across all three phases of this data's life, and it's simpler than any object-management automation built outside of S3 itself. Whenever a scenario describes data with a known progression from frequently accessed to rarely accessed to long-term retention, and explicitly wants to avoid custom scripting, that pattern of predictable, age-based access decline is the cue to reach for an S3 lifecycle policy.
⚠ Common exam trap
Candidates often choose Option B (immediate move to Glacier Deep Archive) thinking it minimizes cost, but they overlook the 30-day query requirement, which makes S3 Standard necessary for fast retrieval, and fail to recognize that lifecycle policies provide a graduated, automated approach.
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
✓
S3 lifecycle policy that transitions objects to lower-cost storage classes over time
S3 lifecycle policies automate the transition of objects between storage classes based on age, allowing logs to move from S3 Standard (for frequent querying) to S3 Standard-IA or S3 One Zone-IA (for rare access), and eventually to S3 Glacier Deep Archive (for long-term compliance retention). This reduces storage cost without custom scripts, aligning with the requirement to avoid operational overhead.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Keep all logs in S3 Standard indefinitely
Why it's wrong here
S3 Standard is more expensive for rarely accessed archival data.
- ✗
Move all logs immediately to S3 Glacier Deep Archive
Why it's wrong here
Immediate deep archive can make recent query access slow and expensive.
- ✓
S3 lifecycle policy that transitions objects to lower-cost storage classes over time
Why this is correct
Lifecycle rules automate transitions based on age, matching storage cost to access patterns.
- ✗
Use EBS snapshots for the logs
Why it's wrong here
EBS snapshots are not the right storage model for application log objects.
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
One of 302 original SAA-C03 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
5 more ways this is tested on SAA-C03
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 test environment stores logs in S3. Logs are queried for 30 days, rarely accessed for one year, and then retained for compliance. What should reduce storage cost?
medium- A.Keep all logs in S3 Standard indefinitely
- B.Move all logs immediately to S3 Glacier Deep Archive
- ✓ C.S3 lifecycle policy that transitions objects to lower-cost storage classes over time
- D.Use EBS snapshots for the logs
Why C: An S3 Lifecycle policy automates the transition of objects from S3 Standard (for frequent access) to S3 Standard-IA (infrequent access) after 30 days, then to S3 Glacier Deep Archive (for long-term retention) after one year, minimizing storage costs while maintaining data accessibility as needed.
Variation 2. A test environment stores logs in S3. Logs are queried for 30 days, rarely accessed for one year, and then retained for compliance. What should reduce storage cost? The architecture review board prefers a managed AWS-native control.
medium- A.Keep all logs in S3 Standard indefinitely
- B.Move all logs immediately to S3 Glacier Deep Archive
- ✓ C.S3 lifecycle policy that transitions objects to lower-cost storage classes over time
- D.Use EBS snapshots for the logs
Why C: S3 Lifecycle policies allow you to automate the transition of objects from S3 Standard to lower-cost storage classes like S3 Standard-IA (after 30 days) and then to S3 Glacier Deep Archive (after one year) for long-term compliance. This matches the access pattern of frequent queries for 30 days, rare access for a year, and then retention-only, minimizing storage costs without manual intervention.
Variation 3. A marketing site stores logs in S3. Logs are queried for 30 days, rarely accessed for one year, and then retained for compliance. What should reduce storage cost? The design must avoid adding custom operational scripts.
medium- ✓ A.S3 lifecycle policy that transitions objects to lower-cost storage classes over time
- B.Keep all logs in S3 Standard indefinitely
- C.Use EBS snapshots for the logs
- D.Move all logs immediately to S3 Glacier Deep Archive
Why A: S3 Lifecycle policies allow you to automatically transition objects from S3 Standard to lower-cost storage classes like S3 Standard-IA (Infrequent Access) after 30 days, then to S3 Glacier Deep Archive after one year, without custom scripts. This matches the access pattern: frequent queries for 30 days, rare access for a year, then long-term retention for compliance. The policy automates cost reduction by moving data to progressively cheaper storage as access frequency decreases.
Variation 4. A marketing site stores logs in S3. Logs are queried for 30 days, rarely accessed for one year, and then retained for compliance. What should reduce storage cost?
medium- ✓ A.S3 lifecycle policy that transitions objects to lower-cost storage classes over time
- B.Keep all logs in S3 Standard indefinitely
- C.Use EBS snapshots for the logs
- D.Move all logs immediately to S3 Glacier Deep Archive
Why A: An S3 Lifecycle policy automates the transition of objects from S3 Standard (frequently accessed) to lower-cost storage classes like S3 Standard-IA (infrequent access) after 30 days, then to S3 Glacier Deep Archive for long-term compliance retention. This matches the access pattern: frequent queries for 30 days, rare access for a year, then archival storage, minimizing cost without manual intervention.
Variation 5. A marketing site stores logs in S3. Logs are queried for 30 days, rarely accessed for one year, and then retained for compliance. What should reduce storage cost? The architecture review board prefers a managed AWS-native control.
medium- ✓ A.S3 lifecycle policy that transitions objects to lower-cost storage classes over time
- B.Keep all logs in S3 Standard indefinitely
- C.Use EBS snapshots for the logs
- D.Move all logs immediately to S3 Glacier Deep Archive
Why A: An S3 Lifecycle policy is a managed AWS-native feature that automatically transitions objects to lower-cost storage classes (e.g., S3 Standard-IA after 30 days, S3 Glacier Instant Retrieval or S3 Glacier Flexible Retrieval after one year) based on age, reducing storage costs while maintaining compliance. This aligns with the access pattern: frequent queries for 30 days, rare access for a year, then long-term retention. It avoids manual intervention and optimizes cost without sacrificing availability or retrieval needs.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAA-C03 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 SAA-C03 exam.