What should a solutions architect recommend to improve application resiliency?
Modify the shipping application to write to a local database.
Modify the application APIs to run serverless using AWS Lambda
Configure Amazon API Gateway to call the EC2 inventory application APIs.
Modify the application to send inventory updates using Amazon Simple Queue Service (Amazon SQS).
Explanations:
Writing to a local database would not resolve the issue of application interruptions and would introduce additional complexity in synchronizing data between the on-premises database and DynamoDB, leading to potential data inconsistencies.
Modifying the application to run serverless using AWS Lambda may provide scalability but doesn’t directly address the issue of lost transactions caused by application interruptions. It also doesn’t guarantee reliable, persistent handling of inventory updates.
Using Amazon API Gateway to call EC2 inventory APIs can provide API management and throttling, but it doesn’t directly address the issue of transaction loss during interruptions. The root cause of transaction loss would still persist.
Using Amazon SQS to send inventory updates ensures that messages are stored durably and can be retried in case of application interruptions, improving resiliency and reducing the likelihood of lost transactions.