ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 347 - SAA-C03 discussion

Report
Export

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 libranes 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
Answers
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
Answers
B.
Configure provisioned concurrency for the Lambda function that handles the requests
C.
Cache the results of the queries in Amazon S3 for faster retneval of similar datasets.
Answers
C.
Cache the results of the queries in Amazon S3 for faster retneval of similar datasets.
D.
Increase the size of the database to increase the number of connections Lambda can establish at one time
Answers
D.
Increase the size of the database to increase the number of connections Lambda can establish at one time
Suggested answer: B

Explanation:

Configure provisioned concurrency for the Lambda function that handles the requests. Provisioned concurrency allows you to set the amount of compute resources that are available to the Lambda function, so that it can handle more requests at once and reduce latency. Caching the results of the queries in Amazon S3 could also help to reduce latency, but it would not be as effective as setting up provisioned concurrency. Increasing the size of the database would not help to reduce latency, as this would not increase the number of connections the Lambda function could establish, and establishing a direct connection between the frontend application and the database would bypass the API, which would not be the best solution either.

https://docs.aws.amazon.com/lambda/latest/dg/services-apigateway.html

Using AWS Lambda with Amazon API Gateway - AWS Lambda

https://docs.aws.amazon.com/lambda/latest/dg/services-apigateway.html

https://aws.amazon.com/lambda/faqs/AWS Lambda FAQs

https://aws.amazon.com/lambda/faqs/

asked 16/09/2024
Mustaqueahmed Ghanchibhai
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first