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.
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.
AA. Amazon SQS on its own, using one queue shared by all three consumers
BB. Amazon Simple Email Service (Amazon SES) on its own
CC. Amazon Simple Notification Service (Amazon SNS)
DD. 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.
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.
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 →