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?
Implementing synchronous REST API interactions between the two services, requiring an immediate response after an order is placed
Using an Amazon Simple Queue Service (SQS) to facilitate message passing between the order-processing and inventory-management components
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
Using an Amazon Simple Queue Service (SQS) queue to pass messages between the order-processing and inventory-management components supports a loosely coupled architecture. With SQS, if the inventory component is slow to process messages or temporarily unavailable, order processing is not directly affected because messages remain durable in the queue. In contrast, synchronous REST API interactions or database triggers introduce tight coupling by requiring immediate responses or shared data states, which can cascade failures when one component experiences issues.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a loosely coupled architecture?
Open an interactive chat with Bash
How does Amazon SQS work to ensure durability and fault tolerance?
Open an interactive chat with Bash
What is the difference between synchronous API calls and asynchronous messaging?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .