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
What is kinesis stream?s
kinesis streams break's up incoming data into shards and pipes to EC2 consumers
26
What is kinesis firehose?
Firehose accepts and streams data to S3 with lambda query'
27
What service decouples application components to run independently?
SQS
28
What is the max size of an SQS message?
256KB
29
What are the two types of SQS queues?
Standard FIFO
30
Which SQL queue would you use if you need unlimited messages and best effort ordering?
standard
31
Which SQL queue would you use if you need unlimited messages and correct ordering?
FIFO
32
Is SQS pull or push based?
Pull
33
What AWS application service would you use to coordinate work across applications?
SWF
34
What SWF component interacts with SWF to get tasks?
Workers
35
What SWF component controls coordination of tasks
Deciders
36
What SWF component would you use to isolate SWF worflows
Domains
37
What is the max SWF length?
I year
38
What AWS application service would you use to send notifications from the cloud to SMS or email?
SNS
39
What AWS application service would you use to transcode media?
Elastic transcoder
40
What AWS application service would you use to manage APIs?
API gw
41
Can API gateway provide caching to improve performance?
Yes
42
What AWS application service would you use to send streaming data to for analysis?
kinesis
43
What are the three types of kinesis services?
AnalysticsStreaming Firehose
44
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?
Streams
45
Which kinesis service would you use to accept data from multiple sources to analyze in real time to then store in S3?
Firehose
46
Which kinesis service would you use to perform SQL queries on kinesis streams or firehose?
analytics
47
What is cognito
Provides login federation using FB, google , amazon
48
How does cognito work?
Authenticates with web ID provider, recieve temporary token, exchange with AWS credentials to provide access by allowing them to assume role
49
What is a cognito user pool?
User based, handles authentication, registration and account recovery.
50
What service does cognito identity pools provide?
Authorizes access to AWS resources
51
What are the SQS message sizes?
256 KB
52
How long can SQS messages stay in a queue?
1 min to 14 days, default is 4 days
53
What is the difference between SNS and SQS?
SNS is a push notification service, whereas SQS is message system that requires worker nodes to poll a queue.
54
What happens when you create a topic on Amazon SNS?
An Amazon Resource Name is created.