ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 507 - SAP-C01 discussion

Report
Export

A company is having issues with a newly deployed serverless infrastructure that uses Amazon API Gateway, Amazon Lambda, and Amazon DynamoDB. In a steady state, the application performs as expected. However, during peak load, tens of thousands of simultaneous invocations are needed and user requests fail multiple times before succeeding. The company has checked the logs for each component, focusing specifically on Amazon CloudWatch Logs for Lambda. There are no errors logged by the services or applications. What might cause this problem?

A.
Lambda has very low memory assigned, which causes the function to fail at peak load.
Answers
A.
Lambda has very low memory assigned, which causes the function to fail at peak load.
B.
Lambda is in a subnet that uses a NAT gateway to reach out of the internet, and the function instance does not have sufficient Amazon EC2 resources in the VPC to scale with the load.
Answers
B.
Lambda is in a subnet that uses a NAT gateway to reach out of the internet, and the function instance does not have sufficient Amazon EC2 resources in the VPC to scale with the load.
C.
The throttle limit set on API Gateway is very low. During peak load, the additional requests are not making their way through to Lambda.
Answers
C.
The throttle limit set on API Gateway is very low. During peak load, the additional requests are not making their way through to Lambda.
D.
DynamoDB is set up in an auto scaling mode. During peak load, DynamoDB adjusts capacity and throughput behind the scenes, which is causing the temporary downtime. Once the scaling completes, the retries go through successfully.
Answers
D.
DynamoDB is set up in an auto scaling mode. During peak load, DynamoDB adjusts capacity and throughput behind the scenes, which is causing the temporary downtime. Once the scaling completes, the retries go through successfully.
Suggested answer: C

Explanation:

Reference: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html

asked 16/09/2024
Martijn Lammerts
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first