AWS Certification: SNS Questions

Amazon Simple Notification Service (SNS)

Overview
Amazon Simple Notification Service (SNS) is a highly available, durable, secure, fully managed pub/sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications. Amazon SNS provides topics for high-throughput, push-based, many-to-many messaging. Using Amazon SNS topics, your publisher systems can fan out messages to a large number of subscriber endpoints for parallel processing, including Amazon SQS queues, AWS Lambda functions, and HTTP/S webhooks. Additionally, SNS can be used to fan out notifications to end users using mobile push, SMS, and email.
1. A company needs to monitor the read and write IOPS metrics for their AWS MySQL RDS instance and send real-time alerts to their Operations team. Which AWS services can accomplish this? Choose 2 answers from the options given below.

A. Amazon Simple Email Service

B. Amazon CloudWatch

C. Amazon Simple Queue Service

D. Amazon Simple Notification Service

Answer

B. & D.

Amazon CloudWatch may be used to monitor IOPS metrics from the RDS instance and Amazon Simple Notification Service, to send the notification if any alarm is triggered. For more information on CloudWatch metrics, please refer to the link below. http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CW_Support_For_AWS.html


2. A Solutions Architect is designing a web page for event registrations. He needs a managed service to send a text message to users every time someone signs up for an event.

Which AWS Service should the Architect use to achieve this?


A. Amazon STS

B. Amazon SQS

C. AWS Lambda

D. Amazon SNS

Answer

D. Amazon SNS

The AWS Documentation mentions the following:

You can use Amazon SNS to send text messages or SMS messages, to SMS-enabled devices. A message can be sent directly to a phone number, or to multiple phone numbers at once by subscribing those phone numbers to a topic and sending your message to the topic.

For more information on configuring SNS and SMS messages, please visit the following URL:

https://docs.aws.amazon.com/sns/latest/dg/SMSMessages.html


3. You are required to host a subscription service in AWS. Users can subscribe to the same and get notifications on new updates to this service. Which of the following services can be used to fulfill this requirement?

A. Use the SQS Service to send the notification.

B. Host an EC2 Instance and use the Rabbit-MQ Service to send the notification.

C. Use the SNS Service to send the notification.

D. Use the AWS DynamoDB streams to send the notification.

Answer

C. Use the SNS Service to send the notification.

Use the SNS Service to send notifications. AWS Documentation mentions the following: Amazon Simple Notification Service (Amazon SNS) is a web service that coordinates and manages the delivery or sending of messages to subscribing endpoints or clients. For more information on AWS SNS, please visit the following URL: https://docs.aws.amazon.com/sns/latest/dg/welcome.html


4. You have an application in which users subscribe to a service using their email ID. They should be able to receive messages published by the service and this needs to be done using AWS Components. Which of the below would be a probable service included in this architecture?

A. AWS SNS

B. AWS Config

C. AWS S3

D. AWS Glacier

Answer

A. AWS SNS

AWS Documentation mentions the following: Amazon Simple Notification Service (Amazon SNS)is a web service that coordinates and manages the delivery or sending of messages to subscribing endpoints or clients. In Amazon SNS, there are two types of clients—publishers and subscribers—also referred to as producers and consumers. Publishers communicate asynchronously with subscribers by producing and sending a message to a topic, which is a logical access point and communication channel. Subscribers (i.e., web servers, email addresses, Amazon SQS queues, AWS Lambda functions) consume or receive the message or notification over one of the supported protocols (i.e., Amazon SQS, HTTP/S, email, SMS, Lambda) when they are subscribed to the topic. For more information on the Simple Notification Service, please visit the below URL: https://docs.aws.amazon.com/sns/latest/dg/welcome.html