In a high-throughput system, you need guaranteed delivery order for messages per customer, but you also need to scale consumers independently. You want to decouple producer and consumer throughput. Which AWS service strategy best balances ordering, scaling, and decoupling?
Answer
Use SQS FIFO queues with a message group per customer, and deploy multiple consumer workers; scale horizontally by adding more queues or groups while maintaining per-group ordering
Explanation
FIFO queues guarantee ordering within a message group, while multiple consumers can process different groups concurrently. This supports independent scaling while preserving per-customer order guarantees.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
You must design a secure cross-account access pattern where a central security team in account A needs to read audit logs stored in account B. The requirement is that account B retains control of what is accessible and can revoke access without updating identities in account A. What is the best practice approach?
View question →
A VPC uses private subnets with NAT instances previously, and the workload now includes frequent outbound calls from many services. You must reduce operational complexity and improve scalability without breaking network egress controls. Which migration target best meets this?
View question →
An organization uses AWS Organizations with SCPs and wants to ensure that only a specific set of accounts can create network interfaces in a shared VPC. They also need to prevent accidental disabling of flow logs. Which combination is most appropriate?
View question →
Your application performs distributed transactions across an Order service and a Payment service using synchronous REST calls. Failures are frequent under load, and you must prevent cascading retries while still ensuring eventual consistency. Which pattern is most appropriate?
View question →
A company must support multi-tenant SaaS on AWS where each tenant must be isolated for cost reporting and operational debugging. Tenants share the same application tier, but data must be isolated and throttling must be per-tenant. Which combination best meets these requirements?
View question →
A system uses multiple microservices running on ECS. An upstream service calls downstream services across accounts via an API. The downstream accounts require that requests be authorized based on the caller’s AWS identity, not a shared static token. Which approach is best?
View question →