nerdexam
Amazon

SOA-C02 · Question #435

A SysOps administrator manages the caching of an Amazon CloudFront distribution that serves pages of a website, The SysOps administrator needs to configure the distribution so that the TTL of…

The correct answer is B. Add a Cache-Control: max-age directive to the object at the origin when content is being returned. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html#expirati on-individual-objects "The Cache-Control max-age directive lets you specify how long (in seconds) that you want an object to remain in the cache before CloudFront gets the object again…

Submitted by manish99· Mar 30, 2026Networking and Content Delivery

Question

A SysOps administrator manages the caching of an Amazon CloudFront distribution that serves pages of a website, The SysOps administrator needs to configure the distribution so that the TTL of individual pages can vary. The TTL of the individual pages must remain within the maximum TLL and the minimum TTL that are set for the distribution. Which solution will meet these requirements?

Options

  • ACreate an AWS Lambda function that calls the Createlnvalidation API operation when a change in
  • BAdd a Cache-Control: max-age directive to the object at the origin when content is being returned
  • CAdd a no-cache header through a Lambda@Edge function in response to the Viewer response.
  • DAdd.an Expires header through a CloudFront function in response to the Viewer response.

How the community answered

(35 responses)
  • A
    14% (5)
  • B
    71% (25)
  • C
    6% (2)
  • D
    9% (3)

Explanation

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html#expirati on-individual-objects "The Cache-Control max-age directive lets you specify how long (in seconds) that you want an object to remain in the cache before CloudFront gets the object again from the origin server" "The Expires header field lets you specify an expiration date and time using the format specified in RFC 2616, Hypertext Transfer Protocol -- HTTP/1.1 Section 3.3.1, Full Date, for example: Sat, 27 Jun 2015 23:59:59 GMT"

Topics

#CloudFront TTL#Cache-Control max-age#origin headers#CDN caching

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice