Topic 1 Question 379
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?
Establish a connection between the frontend application and the database to make queries faster by bypassing the API.
Configure provisioned concurrency for the Lambda function that handles the requests.
Cache the results of the queries in Amazon S3 for faster retrieval of similar datasets.
Increase the size of the database to increase the number of connections Lambda can establish at one time.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: B
Key: the Lambda function loads many libraries
Configuring provisioned concurrency would get rid of the "cold start" of the function therefore speeding up the proccess.
👍 9UnluckyDucky2023/03/12 - 正解だと思う選択肢: B
Provisioned concurrency – Provisioned concurrency initializes a requested number of execution environments so that they are prepared to respond immediately to your function's invocations. Note that configuring provisioned concurrency incurs charges to your AWS account.
👍 6kampatra2023/03/15 - 正解だと思う選択肢: B
Answer B is correct https://docs.aws.amazon.com/lambda/latest/dg/provisioned-concurrency.html Answer C: need to modify the application
👍 4elearningtakai2023/03/30
シャッフルモード