AWS SAP-C02 · Question 52 · Domain 2.4: Reliability
An architect is designing a data ingestion pipeline. Data is sent to an API Gateway, which triggers a Lambda function. The Lambda function writes the data to an RDS database. During traffic spikes, the RDS database becomes overwhelmed and drops connections. How can the architect decouple the architecture to prevent database overload?
Answer options:
Increase the size of the RDS instance.
Introduce an Amazon SQS queue between the API Gateway and the Lambda function.
Use Amazon ElastiCache in front of the RDS database.
Configure API Gateway to write directly to RDS.
75 questions · hints · full answers · grading