Topic 1 Question 363
A company is building a game system that needs to send unique events to separate leaderboard, matchmaking, and authentication services concurrently. The company needs an AWS event-driven system that guarantees the order of the events.
Which solution will meet these requirements?
Amazon EventBridge event bus
Amazon Simple Notification Service (Amazon SNS) FIFO topics
Amazon Simple Notification Service (Amazon SNS) standard topics
Amazon Simple Queue Service (Amazon SQS) FIFO queues
ユーザの投票
コメント(17)
Given B by chatgpt: The solution that meets the requirements of sending unique events to separate services concurrently and guaranteeing the order of events is option B, Amazon Simple Notification Service (Amazon SNS) FIFO topics.
Amazon SNS FIFO topics ensure that messages are processed in the order in which they are received. This makes them an ideal choice for situations where the order of events is important. Additionally, Amazon SNS allows messages to be sent to multiple endpoints, which meets the requirement of sending events to separate services concurrently.
Amazon EventBridge event bus can also be used for sending events, but it does not guarantee the order of events.
Amazon Simple Notification Service (Amazon SNS) standard topics do not guarantee the order of messages.
Amazon Simple Queue Service (Amazon SQS) FIFO queues ensure that messages are processed in the order in which they are received, but they are designed for message queuing, not publishing.
👍 6cra2yk2023/03/14- 正解だと思う選択肢: D
ChatGPT game me D The requirement for ordering events rules out options B and C, as neither Amazon SNS standard nor Amazon SNS FIFO topics guarantee message order. Option A, Amazon EventBridge, supports event ordering and is capable of routing events to multiple targets concurrently. However, EventBridge is designed for processing events that can trigger AWS Lambda functions or other targets, and it may not be the best choice for sending events to third-party services.
Therefore, the best option for this scenario is D, Amazon Simple Queue Service (Amazon SQS) FIFO queues. SQS FIFO queues guarantee the order of messages and support multiple concurrent consumers. Each target service can have its own SQS FIFO queue, and the game system can send events to all the queues simultaneously to ensure that each service receives the correct sequence of events.
👍 4ashish08262023/03/29 - 正解だと思う選択肢: B
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...
👍 4bella2023/05/04
シャッフルモード