Courseiva
Data Store Management →mediumMultiple Choice

DEA-C01 Data Store Management Practice Question

Network Topology
aws s3api get-bucket-lifecycle-configurationbucket my-bucketRefer to the exhibit.Output:"Rules": ["ID": "ArchiveRule","Status": "Enabled","Filter": {"Prefix": "logs/"},"Transitions": ["Days": 30,"StorageClass": "STANDARD_IA""Days": 90,"StorageClass": "GLACIER"],"Expiration": {"Days": 365

A data engineer reviewed the S3 lifecycle policy shown in the exhibit. The engineer notices that objects under the 'logs/' prefix are being deleted after 365 days. The business requirement is to retain logs for at least 5 years. What should the engineer change in the lifecycle policy?

⚠ Common exam trap

It's easy for candidates to confuse transition actions (which change storage class) with expiration actions (which delete objects), or incorrectly assume that changing the prefix or removing expiration will meet the retention requirement without adjusting the day count.

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

✓

Set the expiration days to 1825

The business requirement is to retain logs for at least 5 years, which is 1,825 days (5 × 365). The current lifecycle policy sets expiration to 365 days, causing premature deletion. By setting the expiration days to 1,825, the S3 lifecycle policy will delete objects under the 'logs/' prefix only after 5 years, meeting the retention requirement.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Change the prefix to 'logs/archive/'

    Why it's wrong here

    Renaming the prefix to 'logs/archive/' only changes which objects the rule matches; the 365-day Expiration still deletes them, and existing 'logs/' objects fall outside the rule entirely. It is tempting because prefix scoping is a real lifecycle control, and it is correct when you must apply different retention to a subset of keys.

  • ✓

    Set the expiration days to 1825

    Why this is correct

    The lifecycle rule expires objects after 365 days, but the business needs five years of retention. Setting expiration to 1825 days (5 × 365) aligns deletion with the retention requirement, correcting the premature removal of logs under the 'logs/' prefix.

  • ✗

    Change the transition to GLACIER on day 365

    Why it's wrong here

    Transitioning to GLACIER on day 365 archives objects but the separate Expiration action still deletes them at day 365, so the five-year requirement fails. It is tempting because Glacier is the low-cost long-term store, and it is correct when the goal is cheaper storage rather than extending retention beyond the deletion date.

  • ✗

    Remove the expiration action

    Why it's wrong here

    Removing the Expiration action stops deletion, but without a transition the objects remain in S3 Standard indefinitely, so the five-year retention is met at full storage cost. It is tempting as the minimal edit, and it is correct when the requirement is retention only and cost optimisation is not a concern.

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

This DEA-C01 question is part of Courseiva's 1,321-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.