Skip to main content

DVA-C02 practice question · Development with AWS Services

A developer wants an SQS queue that preserves the exact order messages were sent and guarantees each message is…

A developer wants an SQS queue that preserves the exact order messages were sent and guarantees each message is processed exactly once. Which queue type should they use?

  • AAn SQS FIFO queue
  • BA standard SQS queue
  • CAn SNS topic with no queue subscribed
  • DA DynamoDB table used as a message buffer
Show the answer and explanation

Correct answer: A) An SQS FIFO queue

Why each option is right or wrong

  • A) Correct. FIFO queues preserve strict message order and, combined with deduplication, provide exactly-once processing — capabilities standard queues don't guarantee.
  • B) Incorrect. Standard queues offer at-least-once delivery and best-effort ordering, not the strict ordering and exactly-once guarantees FIFO queues provide.
  • C) Incorrect. SNS alone doesn't provide durable queuing or ordering guarantees for a consumer; a FIFO SQS queue is the right primitive for this requirement.
  • D) Incorrect. DynamoDB isn't a purpose-built message queue and doesn't natively provide the ordering/exactly-once semantics an SQS FIFO queue offers out of the box.
Exam domain
Development with AWS Services · 32% of DVA-C02
Question type
Multiple choice (one answer)

Practise the full DVA-C02 exam

This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.

Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.