applications1 Flashcards

1
Q

SQS

A

web service that gives access to MQ. It is a distributed queing system that enables web applications to quickly and reliably queue messages.

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

Why use SQS

A

decouple so that they run independently easing message managemnet between components

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

Message size in SQS

A

256KB. But you can go upto 2GB in which case s3 storage will be used.

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

SQS queues types

A

Standard queues(default), FIFO queues

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

TPS of standard queues

A

unlimited tps. ensures message is delivered at least once. But occassionally more than one copy of the message may be delivered.

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

FIFO

A

order is stictly preserved. Exactly one time processing.

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

FIFO TPS

A

300tps. But have all other capabilities of standard queurs

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

SQS

A

First service on aws

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

Message retention

A

1min to 14 days. The default retention period is 4 days.

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

Visibility timeout max

A

12 Hours

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

Duplicates

A

After visibility timeout if the message is still not procesed the msg will become visible again and may result in duplicates

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

SQS long poll

A

doesn’t return a response until a message arrives in message queue or the long poll times out.

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

SWF

A

web service that makes it easy to coordinate work across distributed application components

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

SWF task

A

represents invocation of various processing steps in an application which can be performed by executable code, web service calls, human actions and scripts

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

SWF retention

A

upto 1 year

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

SWF api

A

presents a task oriented API vs a message oriented api by SQS

17
Q

SWF

A

ensures task is assigned only once and is never duplicated.

18
Q

SWF actors

A

workflow starters, deciders(controls the flows), active workers

19
Q

SNS availability

A

To prevent messages from being lost it is stored redundantly across multiple AZs

20
Q

SNS vs SQS

A

push vs pull

21
Q

API gateway

A

Managed service that makes it easier to publish maintain monitor and secure API’s at any scale

22
Q

What can API gateway do

A
  • Expose https endpoint to restful api
  • Connect serverlessly to Lambda and dynamoDB
  • Send each API endpoint to different target
  • scale effortlessly
  • Track and control usage by apikey
  • Throttle requests to prevent attacks
  • connect to cloudwatch to log all requests for monitoring
  • Maintain multiple versions of your API
23
Q

API caching

A

Caches the response to reduce load and improve latency.

24
Q

API caching

A

Caches the response to reduce load and improve latency.

25
Q

CORS

A

Cross origin resource policy

26
Q

Amazon Kinesis

A

is a platform to send your streaming data. Kinesis makes it easy to load and analyze your streaming data and build custom applications for your business needs

27
Q

3 types of Kinesis

A

Kinesis streams, Kinesis firehose, Kinesis Analytics

28
Q

Kinesis retention

A

Default 24Hours. Can store upto 7 days

29
Q

Kinesis firehose

A

There is no data persistence.. lambda is used to process the data

30
Q

Cognito user pools

A

is user based . It handles things like user registration, authentication, and account recovery

31
Q

Cognito identity pools

A

authorise access to AWS resources

32
Q

What happens when you create a topic on Amazon SNS

A

An Amazon Resource Name is created.

33
Q

In SWF, what does a “domain” refer to?

A

A collection of related workflows