Courseiva
Data Operations and SupporthardMultiple ChoiceObjective-mapped

DEA-C01 S3 Lifecycle Expiration Practice Question

Network Topology
aws s3api get-bucket-lifecycle-configurationbucket my-data-lake"Rules": ["ID": "Archive logs","Status": "Enabled","Filter": {"Prefix": "logs/"},"Transitions": ["Days": 30,"StorageClass": "GLACIER"],"Expiration": {"Days": 365

Refer to the exhibit. A company has an S3 bucket 'my-data-lake' with the lifecycle policy shown. Objects under the 'logs/' prefix are being moved to GLACIER after 30 days and expire after 365 days. A data engineer notices that objects older than 365 days are still present in the bucket and are not being deleted. What is the most likely cause?

⚠ Common exam trap

A common trap is to assume that expiration days always count from the object creation date. However, when a transition action is present, the expiration counter resets to the transition date.

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

The expiration days count from the transition date, not the object creation date

When a lifecycle rule includes both transition to GLACIER and expiration, the expiration days count from the transition date, not from the object creation date. In this scenario, objects transition to GLACIER at 30 days, so the expiration at 365 days actually triggers after 395 days from creation (30 + 365). Therefore, objects older than 365 days from creation but younger than 395 days are not yet expired, explaining why they remain.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Lifecycle expiration does not apply to objects in GLACIER storage class

    Why it's wrong here

    Incorrect. S3 lifecycle expiration policies can apply to objects in the GLACIER storage class. They are deleted automatically without requiring restoration.

  • The rule status is disabled

    Why it's wrong here

    Incorrect. The rule status is not mentioned as disabled, and objects are successfully transitioned to GLACIER, indicating the rule is enabled.

  • The prefix filter does not match the objects

    Why it's wrong here

    Incorrect. The prefix filter 'logs/' matches the objects, as evidenced by their successful transition to GLACIER.

  • The expiration days count from the transition date, not the object creation date

    Why this is correct

    Correct. The expiration days are counted from the transition date, so objects transitioned after 30 days will expire 365 days later (395 days from creation), causing objects older than 365 days from creation to still be present.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every DEA-C01 question from scratch — 1,711 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DEA-C01 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 DEA-C01 exam.