Bird
0
0

Given this lifecycle rule snippet, what happens to objects after 60 days?

medium📝 Predict Output Q13 of 15
AWS - S3 Fundamentals
Given this lifecycle rule snippet, what happens to objects after 60 days?
{
  "Rules": [{
    "Status": "Enabled",
    "Prefix": "logs/",
    "Transition": {"Days": 60, "StorageClass": "GLACIER"}
  }]
}
AObjects in the 'logs/' folder are moved to Glacier storage after 60 days
BObjects in the 'logs/' folder are deleted after 60 days
CAll objects in the bucket are moved to Glacier after 60 days
DObjects in the 'logs/' folder are archived immediately
Step-by-Step Solution
Solution:
  1. Step 1: Understand the Transition action with Prefix

    The rule targets objects with prefix "logs/" and transitions them to Glacier after 60 days.
  2. Step 2: Analyze options against rule behavior

    Objects in the 'logs/' folder are moved to Glacier storage after 60 days correctly states objects in 'logs/' move to Glacier after 60 days. Objects in the 'logs/' folder are deleted after 60 days incorrectly says deletion. All objects in the bucket are moved to Glacier after 60 days incorrectly applies to all objects, not just prefix. Objects in the 'logs/' folder are archived immediately says immediate archive which is wrong.
  3. Final Answer:

    Objects in the 'logs/' folder are moved to Glacier storage after 60 days -> Option A
  4. Quick Check:

    Transition with prefix moves files after days = A [OK]
Quick Trick: Transition moves files after days, prefix limits target [OK]
Common Mistakes:
MISTAKES
  • Confusing Transition with Expiration (deletion)
  • Ignoring the prefix filter
  • Assuming all bucket objects are affected

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes