Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Professional A big fast-food chain in Asia is planning to implement a location-based alert

  • A big fast-food chain in Asia is planning to implement a location-based alert

  • AWSPro21

    Member
    February 2, 2024 at 5:45 pm

    Category: CSAP – Continuous Improvement for Existing Solutions

    A big fast-food chain in Asia is planning to implement a location-based alert on their existing mobile app. If a user is in proximity to one of its restaurants, an alert will be shown on the user’s mobile phone. The notification needs to happen in less than a minute while the user is still in the vicinity. Currently, the mobile app has 10 million users in the Philippines, China, Korea, and other Asian countries.

    Which one of the following AWS architecture is the most suitable option for this scenario?

    Set up an API that uses an Application Load Balancer and an Auto Scaling group of EC2 instances. The mobile app will send the user’s location data to the API web service. Use DynamoDB to store and retrieve relevant offers on the nearest restaurant. Configure the EC2 instances to push alerts to the mobile app.

    Establish connectivity with mobile carriers using AWS Direct Connect. Set up an API on all EC2 instances to receive the location data from the mobile app via the carrier’s GPS connection. Use RDS to store the data and fetch relevant offers from the restaurant. The EC2 instances will communicate with mobile carriers to send alerts to the mobile app.

    The mobile app will send device location to an SQS endpoint. Set up an API that utilizes an Application Load Balancer and an Auto Scaling group of EC2 instances, which will retrieve the relevant offers from DynamoDB. Use AWS Mobile Push to send offers to the mobile app.

    The mobile app will send the real-time location data using Amazon Kinesis. Set up an API which uses an Application Load Balancer and an Auto Scaling group of EC2 instances to retrieve the relevant offers from a DynamoDB table. Use Amazon Lambda and SES to push the notification to the mobile app.

    Anyone else confused by this? The answer makes no mention of SNS yet the explanation is almost fully on SNS. Also how will the user reach the SQS endpoint, connect to it directly from their mobiles?

  • JR – Tutorials Dojo

    Administrator
    February 6, 2024 at 2:11 pm

    Hi AWSPro21,

    Thanks for your feedback.

    I understand your confusion. The answer does not mention SNS (Simple Notification Service), but it is implied in the context of mobile push notifications, which is a feature of Amazon SNS. We will ensure to specify Amazon SNS to prevent any ambiguity.

    As for SQS (Simple Queue Service), the mobile app can indeed send messages directly to an Amazon SQS queue. This can be done by using the AWS SDK within the mobile app to call the SendMessage API of Amazon SQS. This would place the message directly into the queue.

    I hope this helps! If you have any other questions or need further clarification, feel free to ask.

    Best Regards,
    JR @ Tutorials Dojo

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now