Course menuCLF-C02

Exams / CLF-C02 / Messaging and business applications / Question 1

CLF-C02 practice question: Messaging and business applications (1 of 2)

Cloud Technology and Services A free question from our original CLF-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.

Last verified against current AWS documentation ·How we write our questions

When a customer places an order, a shop wants one message to be delivered at the same time to an Amazon SQS queue for fulfillment, another SQS queue for analytics, and an email address for the sales manager.

Which service should publish the message?

Choose one answer.

  1. A. Amazon SQS on its own, using one queue shared by all three consumers
  2. B. Amazon Simple Email Service (Amazon SES) on its own
  3. C. Amazon Simple Notification Service (Amazon SNS)
  4. D. AWS Step Functions, which runs a sequence of workflow steps
Show the answer and explanation

Answer: C

  • A. Wrong: A queue holds messages for consumers to pick up. One queue cannot copy a message into two other queues or send it as an email.
  • B. Wrong: SES sends email, but it cannot deliver the same message to SQS queues. The fulfillment and analytics queues would receive nothing.
  • C. Right: SNS publishes one message to a topic, and the topic delivers identical copies to subscribed SQS queues and email endpoints. Learn more: What is Amazon SNS? (opens in a new tab)
  • D. Wrong: Step Functions coordinates ordered steps in a workflow. It is not designed to deliver one message to queues and email at the same time.

Explanation

Amazon SNS fans out one published message to several subscribers, including SQS queues and email endpoints, at the same time. The other options each reach only one kind of destination, or coordinate steps rather than delivering copies.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on Messaging and business applications? The 5 full-length practice sets have 7 more Messaging and business applications questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets