AWS Certified Developer Associate DVA-C02 Practice Question
Your team is designing an AWS-based application where one component processes customer orders, and another component handles inventory management. Considering that you need to minimize the interdependence between these two components in case one of them fails, which approach would contribute to a more loosely coupled architecture?
Using an Amazon Simple Queue Service (SQS) to facilitate message passing between the order processing and inventory management components
Implementing synchronous REST API interactions between the two services, requiring an immediate response after an order is placed
Creating database triggers within your order database to automatically update the inventory management system in real-time
Setting up a REST service within the inventory management component that is called directly by the order processing service for every new order