An AWS AppSync GraphQL API backs a fleet of mobile clients. You need deterministic ordering of events consumed by downstream systems, but you cannot block ingestion while ordering is enforced. Which architecture best satisfies this?
Answer
Send events to an SQS FIFO queue with message group IDs derived from the entity key, then process with an idempotent consumer and dead-letter queue
Explanation
SQS FIFO guarantees ordering within a message group, which you can align to your entity key. Using idempotent consumers and DLQs prevents duplication or message loss from breaking downstream determinism.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A data platform streams click events into S3 via Kinesis Data Firehose, and analytics jobs read using Athena. The team needs to ensure new partitions become queryable quickly while avoiding partial data files during schema evolution. What is the best approach?
View question →
A company uses Aurora PostgreSQL Serverless v2 for a spiky workload. They observe that after traffic drops, connections remain open longer than expected and the autoscaling doesn’t reduce capacity quickly. What is the most likely cause and best remedy?
View question →
A solution uses DynamoDB with Global Tables across multiple regions. A requirement states: reads must always reflect writes from the local region immediately, but global eventual consistency can lag. Which setup best satisfies this?
View question →
A migration from self-managed Kafka to Amazon MSK fails intermittently due to consumer group rebalances taking too long. The consumers must not lose ordering for keys but can tolerate duplicates. What is the best configuration strategy?
View question →
You are designing a multi-account AWS landing zone. A security team wants consistent tagging and automated controls for new accounts, but developers must be able to deploy resources before a tagging pipeline completes. Which approach best meets the requirement?
View question →
You must expose a private API backed by a service running in an isolated VPC. The API should be accessible from corporate networks via private connectivity only, without public DNS exposure. Which combination is the best fit?
View question →