Application Services Flashcards

1
Q

What is SQS?

A

Can be used as a message queue for applications

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

Is SQS pull or push based?

A

pull

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

What is the size of SQS messages?

A

256

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

What is the SQS visibility timeout max?

A

12 hours

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

How long can SQS messages stay in queue?

A

1 min to 14 days. Default is 4 days

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

What is the SQS visibility timeout?

A

Amount of time that a message is invidible in queue after a reader picks up that message

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

What happens if an SQS job processes a message before the invisibility time out expires?

A

it is deleted

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

What happens if an SQS job processes does not process a before the visibility time out expires?

A

The message becomes visible again for another reader to process

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

What is the difference between SQS short and long polling?

A

Short polling will return a response immediately even if the queue is empty. Long polling doesn’t return a response until a message arrives in the queue.

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

What are the SQS queue types?

A

FIFO or standard

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

What is the max retention for SWF?

A

1 year

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

Which message service presents a task orientated API?

A

SWF

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

Which message service offers a message orientated API?

A

SQS

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

Which message service ensure that a message is only delivered once?

A

SWF

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

Which message service keeps track of events?

A

SWF

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

Which service requires application level tracking?

A

SQS

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

What are the three SWF actors?

A

Workflow starterDecidersActivity worker

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

What are the SNS subscribers?

A

HTTP

HTTPS

email

email–json

jsonSQSlambdaapplication

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

What are SNS and SQS?

A

messaging services

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

You need a push based message service

A

SNS

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

What is elastic transcoder?

A

media transcoder in the cloud

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

What are the three kinesis types?

A

stream firehoseanalytics

23
Q

What is kinesis stream?s

A

kinesis streams breaks up incoming data into shards and pipes to EC2 consumers

24
Q

What is kinesis firehose?

A

Firehose accepts streams data to S3 with almbda quering

25
Q

What is kinesis stream?s

A

kinesis streams break’s up incoming data into shards and pipes to EC2 consumers

26
Q

What is kinesis firehose?

A

Firehose accepts and streams data to S3 with lambda query’

27
Q

What service decouples application components to run independently?

A

SQS

28
Q

What is the max size of an SQS message?

A

256KB

29
Q

What are the two types of SQS queues?

A

Standard FIFO

30
Q

Which SQL queue would you use if you need unlimited messages and best effort ordering?

A

standard

31
Q

Which SQL queue would you use if you need unlimited messages and correct ordering?

A

FIFO

32
Q

Is SQS pull or push based?

A

Pull

33
Q

What AWS application service would you use to coordinate work across applications?

A

SWF

34
Q

What SWF component interacts with SWF to get tasks?

A

Workers

35
Q

What SWF component controls coordination of tasks

A

Deciders

36
Q

What SWF component would you use to isolate SWF worflows

A

Domains

37
Q

What is the max SWF length?

A

I year

38
Q

What AWS application service would you use to send notifications from the cloud to SMS or email?

A

SNS

39
Q

What AWS application service would you use to transcode media?

A

Elastic transcoder

40
Q

What AWS application service would you use to manage APIs?

A

API gw

41
Q

Can API gateway provide caching to improve performance?

A

Yes

42
Q

What AWS application service would you use to send streaming data to for analysis?

A

kinesis

43
Q

What are the three types of kinesis services?

A

AnalysticsStreaming Firehose

44
Q

Which kinesis service would you use to accept data from multiple sources to store for 24 hours to 7 days that are then forwarded to consumers?

A

Streams

45
Q

Which kinesis service would you use to accept data from multiple sources to analyze in real time to then store in S3?

A

Firehose

46
Q

Which kinesis service would you use to perform SQL queries on kinesis streams or firehose?

A

analytics

47
Q

What is cognito

A

Provides login federation using FB, google , amazon

48
Q

How does cognito work?

A

Authenticates with web ID provider, recieve temporary token, exchange with AWS credentials to provide access by allowing them to assume role

49
Q

What is a cognito user pool?

A

User based, handles authentication, registration and account recovery.

50
Q

What service does cognito identity pools provide?

A

Authorizes access to AWS resources

51
Q

What are the SQS message sizes?

A

256 KB

52
Q

How long can SQS messages stay in a queue?

A

1 min to 14 days, default is 4 days

53
Q

What is the difference between SNS and SQS?

A

SNS is a push notification service, whereas SQS is message system that requires worker nodes to poll a queue.

54
Q

What happens when you create a topic on Amazon SNS?

A

An Amazon Resource Name is created.