ETExamTower
Q29Design Resilient Architectures

A company is building a game system that must send unique events concurrently to separate leaderboard, matchmaking, and authentication services. The company needs an AWS event-driven system that guarantees the order of the events. Which solution will meet these requirements?

← → navigate · a answer
Community votes
B
73% (11)
D
27% (4)
A
0% (0)
C
0% (0)
Discussion · 22
B 19
I don't honestly / can't understand why people go to ChapGPT to ask for the answers.... if I recall correctly they only consolidated their DB until 2021...
B 14
The answer is B la. SNS FIFO topics queue should be used combined with SQS FIFO queue in this case. The question asked for correct order to different event, so asking for SNS fan out here to send to individual SQS. https://docs.aws.amazon.com/sns/latest/dg/fifo-example-use-case.html
6
First time in my life that the answer is actually SNS
5
Yup, ChatGPT doesn't //know// anything about AWS services. It only repeats what other people have said about it, which could be nonsense or hyperbole or some combination thereof.
B 5
SQS looks like a good idea first, but since we have to send the same message to multiple destination, even if SQS could do it, SNS is much more dedicated to this kind of usage.
D 5
Answer is D. You are so lazy because instead of searching in documentation or your notes, you are asking ChatGPT. Do you really think you will take this exam ? Hint: ask ChatGPT
B 5
Yes, you can technically do this with SQS FIFO partitioned queue by giving separate group ID's to leaderboard, matchmaking etc but this is not as useful as SNS FIFO and is overkill as no need for storage etc. B is more elegant and concise solution,
B 5
SNS can have many-to-many relations, while SQS supports only one consumer at a time (many-to-one).
4
My Answer is B https://docs.aws.amazon.com/sns/latest/dg/sns-fifo-topics.html You can use Amazon SNS FIFO (first in, first out) topics with Amazon SQS FIFO queues to provide strict message ordering and message deduplication. The FIFO capabilities of each of these services work together to act as a fully managed service to integrate distributed applications that require data consistency in near-real time. Subscribing Amazon SQS standard queues to Amazon SNS FIFO topics provides best-effort ordering and at least once delivery.
3
I'm creating a topic right now and I have both types to choose.
3
Guys, ChatGPT sucks !. Try removing [most voted] from choice B and it will choose D. And if you put [most voted] in front of A, it will select A. LOL !
3
B is correct, but this is not about SNS -> SQS fan-out, it's not necessary. Just SNS FIFO for ordered pub/sub messaging.
B 3
It should be the fan-out pattern, and the pattern starts with Amazon SNS FIFO for the orders.
B 2
bbbbbbbbbbbbbbb
2
Yes, it used to be just like that. Fortunately things have changed as of today - Nov 29 2024 in my timezone. Personally I find ChatGPT + Amazon Q to be quite awesome for SAA tests
D 2
SQS FIFO maintains the order of the events - Answer is D
B 2
just know SNS FIFO also can send events or messages cocurrently to many subscribers while maintaining the order it receives. SNS fanout pattern is set in standard SNS which is commonly used to fan out events to large number of subscribers and usually for duplicated messages.
B 2
Even chat gpt said B
B 1
Base on this doc https://docs.aws.amazon.com/sns/latest/dg/fifo-topic-message-ordering.html, the answer should B and D, however, if you can only select one, then B.
1
The best answer!
D 1
AWS does not currently offer FIFO topics for SNS. SNS only supports standard topics, which do not guarantee message order.
D 1
D is correct (SQS FIFO) Because B can't send event concurrently though it can send in the order of the events