
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company hosts a frontend application that uses an Amazon API Gateway API backend that is integrated with AWS Lambda. When the API receives requests, the Lambda function loads many libraries. Then the Lambda function connects to an Amazon RDS database, processes the data, and returns the data to the frontend application. The company wants to ensure that response latency is as low as possible for all its users with the fewest number of changes to the company's operations.
Which solution will meet these requirements?
A
Establish a connection between the frontend application and the database to make queries faster by bypassing the API.
B
Configure provisioned concurrency for the Lambda function that handles the requests.
C
Cache the results of the queries in Amazon S3 for faster retrieval of similar datasets.
D
Increase the size of the database to increase the number of connections Lambda can establish at one time.
Explanation:
Explanation:
Why Option B is correct:
Why other options are incorrect:
Option A: Establishing a direct connection between the frontend and database:
Option C: Caching results in Amazon S3:
Option D: Increasing database size:
Additional context: