A company is designing an online retail platform on AWS and wants to ensure that a failure in the payment processing component does not disrupt the product browsing or shopping cart services. Which of the following design choices follow AWS Cloud design principles to achieve this requirement? (Select TWO.)
- Deploying Amazon Simple Queue Service (Amazon SQS) to decouple the checkout system from the backend payment processing serviceAnswer
- BConfiguring all application components to run in a single process on a single Amazon EC2 instance to minimize network communication
- Implementing a microservices architecture where services communicate via standard web APIsAnswer
- DDesigning the database tier to tightly bind application modules using shared database schemas
- EStatically provisioning maximum compute capacity to handle peak load without using dynamic scaling
Answer
Deploying Amazon Simple Queue Service (Amazon SQS) to decouple the checkout system from the backend payment processing service, and implementing a microservices architecture where services communicate via standard web APIs
AWS Cloud architecture principles emphasize loose coupling, which minimizes dependencies between systems. Deploying Amazon Simple Queue Service (Amazon SQS) acts as a buffer between components, preventing failures in the downstream payment processor from impacting upstream checkout functions. Similarly, a microservices architecture communicates over web APIs, isolating services so that issues in one do not disrupt the availability of others.
Step-by-Step Solution
Key Concept
Loose Coupling and Decoupling Components