Skip to main content

DVA-C02 practice question · Development with AWS Services

An application needs to decouple a producer service from multiple independent consumer services, so that each consumer…

An application needs to decouple a producer service from multiple independent consumer services, so that each consumer receives its own copy of every message. Which architecture fits best?

  • APublish messages to an Amazon SNS topic with an SQS queue subscribed for each consumer
  • BHave the producer call each consumer's API directly and synchronously
  • CUse a single SQS standard queue shared by all consumers
  • DWrite all messages to a single DynamoDB item and have consumers poll it
Show the answer and explanation

Correct answer: A) Publish messages to an Amazon SNS topic with an SQS queue subscribed for each consumer

Why each option is right or wrong

  • A) Correct. The SNS fan-out pattern delivers each published message to every subscribed queue, giving each consumer its own independent copy to process at its own pace.
  • B) Incorrect. Direct synchronous calls tightly couple the producer to every consumer's availability and don't provide the decoupling or buffering fan-out requires.
  • C) Incorrect. A single shared queue delivers each message to only one consumer that polls it, not to every consumer — the opposite of the fan-out requirement here.
  • D) Incorrect. Polling a single item for changes is inefficient and not a standard decoupled fan-out pattern; SNS-to-multiple-SQS is the purpose-built solution.
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.