Bird
0
0

What will happen to objects in the bucket with this lifecycle rule?

medium📝 service behavior Q5 of 15
AWS - S3 Fundamentals
What will happen to objects in the bucket with this lifecycle rule?
{
  "Rules": [{
    "Status": "Enabled",
    "Filter": {"Prefix": "backup/"},
    "Transition": {"Days": 45, "StorageClass": "STANDARD_IA"}
  }]
}
AObjects with prefix 'backup/' will be archived to Glacier immediately
BAll objects will be deleted after 45 days
CObjects will be encrypted after 45 days
DObjects with prefix 'backup/' will move to STANDARD_IA storage after 45 days
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the rule

    The rule applies only to objects with prefix 'backup/' and transitions them after 45 days.
  2. Step 2: Understand transition action

    Transition moves objects to a different storage class, here STANDARD_IA, which is cheaper than standard storage.
  3. Final Answer:

    Objects with prefix 'backup/' will move to STANDARD_IA storage after 45 days -> Option D
  4. Quick Check:

    Rule does not specify deletion or encryption [OK]
Quick Trick: Transition moves objects to cheaper storage after specified days [OK]
Common Mistakes:
  • Assuming all objects are affected regardless of prefix
  • Confusing transition with deletion or encryption

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes