LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
AWS Certified Developer - Associate

AWS Certified Developer - Associate

Get started today

Ultimate access to all questions.


As the recently appointed Senior Developer for a financial services company employing over 10,000 individuals, you are tasked with optimizing API performance. Initially, caching was enabled to decrease the number of calls to API endpoints, thereby improving request latency through the company's API Gateway.

In order to test the system and ensure API clients receive the latest responses, caching must be invalidated. Which of the following actions should you take?

Exam-Like



Explanation:

Using the Header Cache-Control: max-age=0

A client of your API can invalidate an existing cache entry and reload it from the integration endpoint for individual requests. The client must send a request that contains the Cache-Control: max-age=0 header. The client receives the response directly from the integration endpoint instead of the cache, provided that the client is authorized to do so. This replaces the existing cache entry with the new response, which is fetched from the integration endpoint.

Powered ByGPT-5