InterviewHubPRO
Section Overview
Q59

Question 59 of 65

Part 5: Security, IAM, Messaging & Enterprise Deployments (51 - 65)

91%
AWS Cloud Architecture•Part 5: Security, IAM, Messaging & Enterprise Deployments (51 - 65)

SQS Standard vs FIFO Queues.

In Simple Words:

  • Standard Queue: Unlimited throughput, at-least-once delivery, best-effort message ordering (rare duplicates possible).
  • FIFO Queue: Strict First-In-First-Out ordering, exactly-once processing (deduplication ID), limited to 3,000 msgs/sec with batching.
hcl
resource "aws_sqs_queue" "fifo_queue" {
  name                        = "orders.fifo" # Must end with .fifo
  fifo_queue                  = true
  content_based_deduplication = true
}