AWS Certified Developer Associate DVA-C01 – Question069

A set of APIs are exposed to customers using the Amazon API Gateway. These APIs have caching enabled on the API Gateway. Customers have asked for an option to invalidate this cache for each of the APIs.
What action can be taken to allow API customers to invalidate the API Cache?

A.
Ask customers to use AWS credentials to call the InvalidateCache API.
B. Ask customers to invoke an AWS API endpoint which invalidates the cache.
C. Ask customers to pass an HTTP header called Cache-Control:max-age=0.
D. Ask customers to add a query string parameter called “INVALIDATE_CACHE” when making an API call.

Correct Answer: B