ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 819 - SAP-C01 discussion

Report
Export

A company would like to implement a serverless application by using Amazon API Gateway, AWS Lambda, and Amazon DynamoDB. They deployed a proof of concept and stated that the average response time is greater than what their upstream services can accept. Amazon CloudWatch metrics did not indicate any issues with DynamoDB but showed that some Lambda functions were hitting their timeout. Which of the following actions should the Solutions Architect consider to improve performance? (Choose two.)

A.
Configure the AWS Lambda function to reuse containers to avoid unnecessary startup time.
Answers
A.
Configure the AWS Lambda function to reuse containers to avoid unnecessary startup time.
B.
Increase the amount of memory and adjust the timeout on the Lambda function. Complete performance testing to identify the ideal memory and timeout configuration for the Lambda function.
Answers
B.
Increase the amount of memory and adjust the timeout on the Lambda function. Complete performance testing to identify the ideal memory and timeout configuration for the Lambda function.
C.
Create an Amazon ElastiCache cluster running Memcached, and configure the Lambda function for VPC integration with access to the Amazon ElastiCache cluster.
Answers
C.
Create an Amazon ElastiCache cluster running Memcached, and configure the Lambda function for VPC integration with access to the Amazon ElastiCache cluster.
D.
Enable API cache on the appropriate stage in Amazon API Gateway, and override the TTL for individual methods that require a lower TTL than the entire stage.
Answers
D.
Enable API cache on the appropriate stage in Amazon API Gateway, and override the TTL for individual methods that require a lower TTL than the entire stage.
E.
Increase the amount of CPU, and adjust the timeout on the Lambda function. Complete performance testing to identify the ideal CPU and timeout configuration for the Lambda function.
Answers
E.
Increase the amount of CPU, and adjust the timeout on the Lambda function. Complete performance testing to identify the ideal CPU and timeout configuration for the Lambda function.
Suggested answer: B, D

Explanation:

Reference:

https://lumigo.io/blog/aws-lambda-timeout-best-practices/

asked 16/09/2024
Aubrey Oliver Jr
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first