Question 2An application needs to process events that are received through an API. Multiple consumers must be able to process the data concurrently. Which AWS managed service would best meet this requirement in the most cost-effective way?1 pointAmazon Simple Notification Service (Amazon SNS) with a fan-out strategyAmazon Simple Queue Service (Amazon SQS) with FIFO queuesAmazon EventBridge with rulesAmazon Elastic Compute Cloud (Amazon EC2) with Spot Instances
Question
Question 2An application needs to process events that are received through an API. Multiple consumers must be able to process the data concurrently. Which AWS managed service would best meet this requirement in the most cost-effective way?1 pointAmazon Simple Notification Service (Amazon SNS) with a fan-out strategyAmazon Simple Queue Service (Amazon SQS) with FIFO queuesAmazon EventBridge with rulesAmazon Elastic Compute Cloud (Amazon EC2) with Spot Instances
Solution
The most suitable AWS managed service for this requirement would be Amazon Simple Queue Service (Amazon SQS).
Here's why:
-
Amazon Simple Notification Service (Amazon SNS) with a fan-out strategy: This service is great for sending messages or notifications directly to services or users. However, it doesn't inherently support multiple consumers processing the same data concurrently.
-
Amazon Simple Queue Service (Amazon SQS) with FIFO queues: This service allows multiple consumers to process data concurrently. It's designed to decouple and scale microservices, distributed systems, and serverless applications. SQS eliminates the complexity and overhead associated with managing and operating message oriented middleware, and empowers developers to focus on differentiating work.
-
Amazon EventBridge with rules: While EventBridge can route data based on rules, it doesn't inherently support multiple consumers processing the same data concurrently.
-
Amazon Elastic Compute Cloud (Amazon EC2) with Spot Instances: EC2 is primarily for running virtual servers in the cloud. It's not specifically designed for processing API events concurrently by multiple consumers.
Therefore, Amazon Simple Queue Service (Amazon SQS) with FIFO queues would be the most cost-effective way to meet this requirement.
Similar Questions
A company wants to build a scalable, serverless architecture to process streaming data in real-time. They are looking for a service that can load data streams continuously with the ability to process data concurrently across multiple Lambda functions. Which AWS service would you recommend for this requirement?Question 32Answera.Amazon Redshiftb.Amazon Kinesisc.Amazon SQSd.AWS Glue
You want to send and receive messages between distributed application components. Which service should you use? 1 pointAmazon ElastiCacheAmazon Simple Queue Service (Amazon SQS)Amazon Route 53AWS Snowball
A digital marketing company needs to deliver real-time, personalized experiences to its customers through their application. They want to store and retrieve users' preferences and track users' activities. The solution needs to be scalable and provide low-latency access to data. Which AWS service would you recommend for this requirement?Question 27Answera.Amazon ElastiCacheb.AWS Lambdac.Amazon Redshiftd.Amazon RDS
A company is looking at real-time processing of streaming big data for their ad-tech platform. Which of the following AWS services is the right choice for this requirement?Question 26Answera.Amazon Simple Queue Service (Amazon SQS)b.Amazon Kinesis Data Streamsc.Amazon EMRd.Amazon Redshift
A food and grocery delivery company is building a mobile application for their customers using AWS serverless services. As an architect you are asked to design the backend AWS solution architecture for the mobile app using event driven architecture. One of the features of the app is to provide real time updates to the user about the order delivery status.What would be the efficient design for this feature to enable bi-directional communication between the API backend and the app?Webhooks with Amazon Simple Notification Service (Amazon SNS)Amazon API Gateway WebSocketsPublish Subscribe model using message queueClient polling an AWS Lambda API
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.