Question 260
An architect must propose a solution for this situation: A retailer's order API returns 500 errors when inventory processing takes 40 seconds, but the mobile client requires a quick acknowledgement. Which approach meets the stated need?
Explanation
Correct Answer
Durable queueing decouples request latency from slower back-end processing. This design addresses the specific constraint: A retailer's order API returns 500 errors when inventory processing takes 40 seconds, but the mobile client requires a quick acknowledgement. A meaningful acceptance check is: A burst of requests is accepted quickly and each valid order is eventually processed once logically.
Incorrect Answers
Filtering before delivery reduces unnecessary data exposure and consumer work.
Event-driven Lambda avoids paying for continuously running hosts between short jobs.
Delivery decoupling, retries and consumer-rate limits must be designed together.