A company wants to run a serverless workload that processes messages, scales instantly, and can retry on transient errors. The message ordering requirement applies only within a tenant. Which approach is best?
Answer
Use AWS Lambda triggered by SQS FIFO with message group IDs set to tenant ID; configure batch retries and DLQ for poison messages
Explanation
SQS FIFO preserves ordering within a message group, so setting message group IDs to tenant IDs meets the scoped ordering requirement. Lambda retries and DLQ handling address transient failures and poison messages robustly.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A VPC architecture uses private subnets for application servers. You need outbound internet access for updates and patching without exposing the instances directly to inbound internet. Which component satisfies this requirement with the least public exposure?
View question →
In a multi-Region architecture using Route 53 failover, which combination best satisfies: (1) automatic recovery, (2) health-based routing, and (3) minimal DNS TTL disruption during failover?
View question →
A workload generates large CSV exports from an OLTP system. Exports must be produced asynchronously, and downstream processing reads files once completed. Which architecture best satisfies durability, ordering-by-key where needed, and decoupling?
View question →
You must migrate an on-prem application to AWS with minimal downtime. Data changes during cutover must be captured and applied in order to a target database. Which solution most appropriately balances continuous replication and controlled cutover?
View question →
You are designing an event-driven workflow where a failure in one consumer must not prevent processing for others. You also need at-least-once delivery and replayability for consumers. What is the best choice?
View question →
You must deploy a stateless web tier behind an Application Load Balancer with Auto Scaling and store session state. Which design most directly supports scaling without sticky sessions?
View question →