Application Services - SNS Flashcards

1
Q

What is SNS?

A

web service that makes it easy to set up, operate, and send notifications from the cloud. provides developers w/ a highly scalable, flexible, and cost-effective capability to publish messages from an app and immediately deliver them to subscribers or other apps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Common use case for SNS

A

notifies you in case of auto scaling, CloudWatch event

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

push notifications to

A

Apple, Google, Fire OS, and Windows devices, as well as Android devices in China w/ Baidu Cloud Push

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What can SNS do other than push cloud notifications to mobile devices?

A

deliver notifications by SMS or email, to SQS queues, or to any HTTP endpoint. can also trigger Lambda functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When message published to an SNS topic that has Lambda function subscribed to it

A

Lambda function is invoked with the payload of the published message. the lambda function receives the message payload as an input parameter and can manipulate the info in the message, publish the message to other SNS topics, or send the message to other AWS services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

SNS allows you to group multiple recipients using

A

topics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Topic

A

access point for allowing recipients to dynamically subscribe for identical copies of the same notification.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

One topic can support deliveries to

A

multiple endpoint types (e.g. group together iOS, Android, SMS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When you publish once to a topic

A

SNS delivers appropriately formatted copies of your messages to each subscriber

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

to prevent messages from being lost

A

all messages published to SNS are stored redundantly across multiple AZs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

SNS benefits

A

Instantaneous, push-based delivery (EC2 instances do not need to pull)

simple APIs and easy integration with apps

flexible message deliver over multiple transport protocols

pay as you go

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

SNS vs SQS

A

both messaging services, SNS - Push, SQS - Pull

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

SNS pricing

A

50 cents per million SNS requests, 6 cents per 100k notifications over HTTP, 75 cents per 100 notifications over SMS, $2 per 100k notifications over email

How well did you know this?
1
Not at all
2
3
4
5
Perfectly