Bird
0
0

This lifecycle rule is not transitioning objects as expected:

medium📝 Debug Q7 of 15
AWS - S3 Fundamentals
This lifecycle rule is not transitioning objects as expected:
{
  "Rules": [{
    "Status": "Enabled",
    "Transition": {"Days": 30, "StorageClass": "GLACIER"},
    "Filter": {"Prefix": "logs/"}
  }]
}
What could be wrong?
AThe prefix filter "logs/" does not match object keys
B"Status" must be "Disabled" to activate transitions
C"Transition" requires "Expiration" to work
DStorageClass "GLACIER" is not a valid option
Step-by-Step Solution
Solution:
  1. Step 1: Check the prefix filter

    If no objects start with "logs/", no objects match to transition.
  2. Step 2: Validate other fields

    Status "Enabled" is correct; expiration not required; GLACIER is valid.
  3. Final Answer:

    The prefix filter "logs/" does not match object keys -> Option A
  4. Quick Check:

    Filter prefix must match objects to apply rule [OK]
Quick Trick: Ensure prefix filter matches object keys exactly [OK]
Common Mistakes:
MISTAKES
  • Using wrong prefix filter
  • Disabling the rule accidentally
  • Confusing transition with expiration

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes