Application Services Flashcards

1
Q

What is SQS ?

A

It is web service that you access to a message queue, that can be used to store messages.
Pulled based, not push based
messages are 256kb in size
messages are kept in the queue between 1 min - 14days
default retention period = 4 days
SQS guarantees delivery once.

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

SQS Queues types?

A

1) Standard

2) FIFO Queues

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

Characteristics of the SQS Standard Queue?

A

1) It is the standard queue.
2) nearly unlimited transactions per second
3) guarantees message delivery (once)
4) provides best effort ordering.

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

Characteristics of the SQS FIFO Queue?

A

1) Compliments the standard queue
2) uses first in first out, not best effort.
3) support message queue groups
4) 300 Transactions per second.

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

visibility timout

A

default = 30 seconds if your tasks take longer than 30 seconds then increase this.

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

What is SWF?

A

Amazon Simple Workflow Service. (used to fulfil orders in amazon.com warehouses)

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

What is an SWF Worker ?

A

A program that interacts with SWF to get tasks, process received tasks and return the results.

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

What is an SWF Decider?

A

A program that controls the coordination of tasks. (i.e. ordering, concurrency, and scheduling according to the application logic).

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

What is SNS ?

A

Simple Notification Service ?

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

What is the role of SNS?

A

It is a web service that makes it easy to setup operate and send notifications from the cloud.

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

SNS Capabilities?

A

Can deliver messages via sms, email or SQS queues.
can also trigger lambda functions. (message payload is the lambda input)
It is the service that notifies you about autoscaling and instance health.

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

SNS benefits:

A
Pushed based delivery (no polling)
simple API + easy integration
flexible message delivery
inexpensive (pay as you go) 
web-based AWS management console
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

SNS vs SQS :

A

Push (SNS) vs Pull (SQS)

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

Elastic Transcoder:

A

It allows you to convert media files from their original source format into different formats that will play on different devices.
* Pay based on minutes spent transcoding.

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

What is the API Gateway

A

A fully managed service that makes it easy for developers to publish maintain and monitor APIs at scale.

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

What is API Caching ?

A

This allows you to reduce the number of calls made to your endpoint, by caching its response. TTL is used to determine how fast the cache is stored.

17
Q

API gateway scaling

A

API gateway scales automatically (low cost)

18
Q

API gateway features

A

Throttle API gateway to prevent attacks.
log results to cloudwatch
if you use Javascript or AJAX scross multiple domains then you need to enable CORS on the gateway.

19
Q

Kinesis

A

A platform on AWS to send your streaming data too, it makes it easy to load and analyze streaming data and for you to build your own custom application.

20
Q

Core Kinesis Services

A

1) Kinesis Streams
2) Kinesis Firehose
3) Kinesis Analytics

21
Q

What is Kinesis Streams

A

Stream data is sent from devices to Kinesis streams (shards) where it is stored in shards. Data is stored for up to 24 hours (can extend to 7 days) and then delivered to EC2 instances.

22
Q

What is Kinesis Firehose?

A

Stream data is sent from devices to Kinesis firehose, no shards or data retention, when it arrives it is immediately analysed and moved to an S3 bucket or send it to RedShift or ElasticSearch. No data consumers like streams.

23
Q

What is Kinesis Analytics?

A

It is provides you with an SQL to query the data in Firehose or streams and place in S3, RedShift or Elastic.