Courseiva
Cloud Technology and ServiceseasyMultiple ChoiceObjective-mapped

CLF-C02 Cloud Technology and Services Practice Question

Which Amazon S3 feature allows you to automatically delete objects after a specified number of days to reduce storage costs?

⚠ Common exam trap

Test-takers frequently confuse S3 Lifecycle policies with S3 Versioning, mistakenly thinking versioning alone can delete old versions to save costs, but versioning actually retains all versions and requires a Lifecycle policy with noncurrent version expiration to remove them.

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

S3 Lifecycle policies with expiration rules

S3 Lifecycle policies with expiration rules allow you to define rules that automatically delete objects after a specified number of days. This is a cost-optimization feature that helps reduce storage costs by removing data that is no longer needed, such as logs or temporary files, without manual intervention.

Answer analysis

Option-by-option breakdown

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

  • S3 Versioning

    Why it's wrong here

    Enabling S3 Versioning preserves every version of an object, including overwrites and deletes, which can rapidly accumulate storage. Without a lifecycle rule to purge noncurrent versions, versioning actually increases your storage costs rather than reducing them. Therefore, versioning alone does not satisfy a need to automatically delete outdated data.

  • S3 Lifecycle policies with expiration rules

    Why this is correct

    S3 Lifecycle policies with expiration rules let you define actions that transition objects to cheaper storage classes and permanently delete objects or their versions after a specified age. You can, for example, expire current versions after 180 days and remove noncurrent versions after 30 days, directly aligning storage spend with data retention requirements. This is the service-native mechanism for automated cost optimization through deletion.

  • S3 Object Lock

    Why it's wrong here

    S3 Object Lock enforces a write-once-read-many (WORM) model that blocks object deletion for a selected compliance or governance retention period. Rather than helping you remove data to cut costs, it actively prevents deletion and extends storage duration. Using Object Lock would work against the goal of automatically reducing costs by expiring old objects.

  • S3 Block Public Access

    Why it's wrong here

    S3 Block Public Access is a security control that overrides bucket policies and object permissions to prevent public access to S3 resources. It has no influence on object lifecycle, deletion, or storage cost management. Because the requirement is to automatically expire old data, this feature addresses a different dimension of S3 administration.

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

One of 988 original CLF-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 CLF-C02 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 CLF-C02 exam.