Networking and Content Delivery

A replaced image must stop being served from CloudFront caches before its TTL expires, without changing its URL. What should an operator create?

Show the answer

Correct answerA. A cache invalidation

AWhy this is right: An invalidation removes the specified cached object before its TTL expires.

BWhy not this: An origin request policy controls values forwarded to the origin, not removal of cached objects.

CWhy not this: A response headers policy modifies response headers, not existing object retention.

DWhy not this: A cache behavior selects request-handling settings; it does not explicitly remove an existing cached object.

A cache invalidation removes the specified object from CloudFront caches before expiration, allowing subsequent requests to retrieve the replacement. A cache behavior configures request handling but is not the mechanism for removing an existing cached object.