Development with AWS Services
30% of the examWhat this topic covers
Build AWS applications with SDKs, APIs, and event-driven services such as SQS, SNS, and EventBridge. Configure Lambda integrations, handle failed records, and validate API requests.
What is the difference between a standard SQS queue and a FIFO queue when an order API hands pricing work to another service?
Use a FIFO queue when order matters for each customer, and a standard queue when it does not. An SQS FIFO queue keeps messages in order inside each message group, and messages in different groups can be processed in parallel. Under Development with AWS Services, the order API can send each update to a FIFO queue with the customer ID as the message group ID. Pricing updates for one customer then stay in sequence, while other customers' updates run at the same time. Standard queues offer best-effort ordering, so they suit work where order does not matter.