+1 vote
in AWS by

You are a solutions architect working for a financial services firm. Your firm requires a very low latency response time for requests via API Gateway and Lambda integration to your securities master database. The securities master database, housed in Aurora, contains data about all of the securities your firm trades. The data consists of the security ticker, the trading exchange, trading partner firm for the security, etc. As this securities data is relatively static, you can improve the performance of your API Gateway REST endpoint by using API Gateway caching. Your REST API calls for equity security request types and fixed income security request types to be cached separately. Which of the following options is the most efficient way to separate your cache responses via request type using API Gateway caching? 

A. Payload compression

B. Custom domain name

C. API Stage

D. Query string

1 Answer

0 votes
by

D. Query string

Explanation

Option A is incorrect. Payload compression is used to compress and decompress the payload to and from your API Gateway. It is not used to separate cache responses.

Option B is incorrect. Custom domain names are used to provide more readable URLs for the users of your AIPs. They are not used to separate cache responses.

Option C is incorrect. An API stage is used to create a name for your API deployments. They are used to deploy your API in an optimal way.

Option D is correct. You can use your query string parameters as part of your cache key. This allows you to separate cache responses for equity requests from fixed income request responses.

Related questions

+1 vote
asked Sep 4, 2022 in AWS by Robindeniel
0 votes
asked Aug 30, 2022 in AWS by sharadyadav1986
...