AWS Certified Solutions Architect – Professional (SAP-C02) — Question 240

A company wants to refactor its retail ordering web application that currently has a load-balanced Amazon EC2 instance fleet for web hosting, database API services, and business logic. The company needs to create a decoupled, scalable architecture with a mechanism for retaining failed orders while also minimizing operational costs.

Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

Option C is the correct choice as it employs Amazon S3 for hosting, AWS AppSync for database API services, and Amazon SQS for order queuing, which allows for a decoupled and scalable architecture. Additionally, using AWS Lambda for business logic with an SQS dead-letter queue is an effective way to retain failed orders. The other options either introduce unnecessary complexities or do not provide effective mechanisms for retaining failed orders.