Examtopics

AWS Certified Developer - Associate
  • Topic 1 Question 210

    A company uses Amazon API Gateway to expose a set of APIs to customers. The APIs have caching enabled in API Gateway. Customers need a way to invalidate the cache for each API when they test the API.

    What should a developer do to give customers the ability to invalidate the API cache?

    • Ask the customers to use AWS credentials to call the InvalidateCache API operation.

    • Attach an InvalidateCache policy to the IAM execution role that the customers use to invoke the API. Ask the customers to send a request that contains the Cache-Control:max-age=0 HTTP header when they make an API call.

    • Ask the customers to use the AWS SDK API Gateway class to invoke the InvalidateCache API operation.

    • Attach an InvalidateCache policy to the IAM execution role that the customers use to invoke the API. Ask the customers to add the INVALIDATE_CACHE query string parameter when they make an API call.


    シャッフルモード