This quiz is part of the DevOpsTheHardWay course.

Please answer the quiz and click the "Test" button at the bottom right.

AWS - SQS and SNS - multichoice questions

You are building order-processing application to processes customer's orders. You use an SQS queue as the underlying mechanism to process customer purchase (sending confirmation email, issue an order report, etc..).

Which SQS queue best fits for this task?

Question 1

You are building a real-time messaging application where users can send and receive messages to each other. You use an SQS queue as the underlying mechanism to transfer messages between users.

Which SQS queue best fits for this task?

Question 2

You manage a web application on EC2 instances. Your website occasionally experiences brief but large spikes in traffic that cause your EC2 instances’ resources to become overwhelmed and the application to freeze up and lose recently submitted requests from end users. You use Auto Scaling to deploy additional resources to handle the load during spikes, but the new instances do not deploy fast enough to prevent the existing application servers from freezing. Assuming you cannot find a pattern to when these spikes occur, which of the following is likely to provide the most cost-effective solution to avoid losing recently submitted requests?

Question 3

You are the DevOps engineer responsible for designing an event notification system for a popular e-commerce platform. The platform uses the same topic for both order placements and order cancellations.

Which type of topic would you choose?

Question 4

You are tasked with designing a real-time AI system for a cloud-based application that processes user-generated content. The application consists of several microservices that handle different aspects of content processing, such as image recognition, text analysis, and sentiment analysis.

To achieve this, you plan to utilize SNS in conjunction with multiple SQS queues. Which architectural approach would be most suitable for implementing this system?

Question 5

Given the below list, choose 1 usage of SNS for customer facing purpose (application-to-person messaging), and one usage for internal systems (application-to-application messaging).

Question 6

You are designing a notification system using SNS for an application that sends critical alerts to different endpoints. However, you are aware that subscribers' endpoints might experience occasional short outages, causing message delivery failures.

To ensure message delivery and prevent data loss, what strategy can you employ based on SNS features?

license