Networking and Content Delivery
CloudFront continues serving a cached 503 response after an origin recovers. The error response has no caching headers, and its Error Caching Minimum TTL is 300 seconds. Which change reduces how long future 503 responses remain cached?
Show the answer
Correct answerD. Reduce the Error Caching Minimum TTL.
AWhy not this: DNS TTL controls name-resolution caching, not cached HTTP error responses.
BWhy not this: Connection attempts control origin connection retries, not retention of cached errors.
CWhy not this: Connection timeout controls how long CloudFront waits to establish an origin connection, not error cache duration.
DWhy this is right: A shorter error caching duration lets CloudFront retry the recovered origin sooner for future cached errors.
Error Caching Minimum TTL controls how long CloudFront caches an error when origin caching headers do not extend that duration. Origin connection settings affect attempts to reach the origin, not retention of an already cached 503 response.