Application Services Flashcards

1
Q

Is SQS pull-based or push-based?

A

Pull-based

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

What’s the maximum size of an SQS message?

A

256Kb

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

How much time does a message can be kept in a queue in SQS?

A

From 1 minute to 14 days (4 days by default)

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

What’s the visibility timeout in SQS?

A

Visibility timeout is the amount of time that the message is invisible in the SQS queue after a reader picks up that message. If the job is not processed within that time, the message will become visible again and another reader will process it. This could result in the same message being delivered twice.

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

What does SQS guaranty?

A

SQS guarantees that your message will be processed at least once.

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

What does the WaitTimeSeconds attribute mean in SQS?

A

WaitTimeSeconds = 0 => Short polling

When the consumer instance polls for new work, the SQS service will allow waiting a certain time for one or more messages to be available before closing the connection.

By default, Amazon SQS uses short polling. Short polling occurs when the WaitTimeSeconds parameter of a ReceiveMessage request is set to 0.

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

What is the maximum “VisibiltyTimeout” of an SQS message in a FIFO queue?

A

12 hours (do not confuse it with how the message can remain in the queue, which is 14 days)

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

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

A

A collection of related workflows

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

Auditing user access/API calls etc across the entire AWS estate can be achieved by using ________.

A

CloudTrail

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

Amazon SWF ensures that a task is assigned only once and is never duplicated. True or False.

A

True

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

What does Amazon SES stand for?

A

Simple Email Service

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

What does Amazon SWF stand for?

A

Simple Work Flow

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

SWF actors

A

Starters, Deciders and Workers

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

Kinesis services

A

Streams
Firehose
Analytics

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

Kinesis Streams terminology

A

Shards, Consumers, Data retention…

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

Kinesis Firehose scenario

A

Analysing data automatically using Lambda and not worrying about consumers. FirFirehose is more automated. You don’t need to worry about shards, data retention, etc.

17
Q

Kinesis Analytics functionality

A

SQL queries over Streams/Firehose.