Courseiva
Continuous Improvement for Existing SolutionsmediumMultiple ChoiceObjective-mapped

SAP-C02 CloudFront Invalidation Practice Question

A company is using Amazon CloudFront with an S3 origin. They notice that users are receiving outdated content. What configuration change should be made to ensure users always get the latest content?

⚠ Common exam trap

Choosing to reduce TTL to 0 may seem like a solution but it's inefficient; invalidation is the proper way to clear cached objects.

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

Create an invalidation for the objects.

Creating an invalidation removes cached objects from CloudFront edge locations, forcing them to be refreshed from the origin. Option A is incorrect because signed URLs control access, not cache freshness. Option C is incorrect because compression does not affect whether cached or fresh content is served. Option D is incorrect because reducing TTL to 0 would cause every request to go to the origin, increasing load and latency; invalidations are more efficient.

Answer analysis

Option-by-option breakdown

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

  • Use signed URLs to serve content.

    Why it's wrong here

    Signed URLs are for access control.

  • Create an invalidation for the objects.

    Why this is correct

    Invalidation removes cached objects, forcing fresh fetch.

  • Enable compression on the S3 bucket.

    Why it's wrong here

    Compression does not update cached content.

  • Reduce the TTL to 0 in the CloudFront distribution.

    Why it's wrong here

    TTL 0 would cause high load on origin.

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 SAP-C02 question is part of Courseiva's 1,660-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 SAP-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 SAP-C02 exam.