ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 128 - DVA-C02 discussion

Report
Export

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?

A.
Ask the customers to use AWS credentials to call the InvalidateCache API operation.
Answers
A.
Ask the customers to use AWS credentials to call the InvalidateCache API operation.
B.
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 HTTP header when they make an API call.
Answers
B.
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 HTTP header when they make an API call.
C.
Ask the customers to use the AWS SDK API Gateway class to invoke the InvalidateCache API operation.
Answers
C.
Ask the customers to use the AWS SDK API Gateway class to invoke the InvalidateCache API operation.
D.
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.
Answers
D.
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.
Suggested answer: D
asked 16/09/2024
Waleed Bahadaq
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first