AWS SAP-C02 · Question 37 · Domain 2.4: Reliability
An e-commerce application processes orders. Currently, the web tier writes orders directly to an RDS database. During flash sales, the database is overwhelmed and drops connections, resulting in lost orders. How can the architect decouple this architecture to ensure no orders are lost?
Answer options:
Upgrade the RDS instance to a larger instance type.
Modify the web tier to send orders to an Amazon SQS queue. Use an Auto Scaling group of worker EC2 instances to read from the queue and write to RDS.
Use Amazon ElastiCache to cache the orders before writing to RDS.
Implement Amazon SNS to send orders directly to RDS.
75 questions · hints · full answers · grading