Applications Flashcards

1
Q

What is SQS

A

It a messaging system, where message could be saved by s3 or ec2 instances, which could then be processed by other compute services.Messages are 256 kb in size and go up t 2gb, but S3 is needed for that. Messages are retained for 4 days by default and it could be varied from 1 min to 1 year

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

What are the types of SQS?

A

General or Standard queue: where the messages are generally in the order they are received, There could be duplicates and ordering is also not guaranteed.
FIFO queue: Messages are in the saved in a FIFO way
There are no duplicates. limited to 300 transaction per second

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

What is visibility timeout in sqs?

A

When EC2 picks up a message for processing from SQS, the message disappears for others to process. If EC2 doesn’t clear the message within a timeout period, the message will appear again. The max visibility period is 12 hours

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

What is SWF?

A

Used when we need to integrate some kind of Human interaction with code based actions.It has workflow starters, deciders and activity workers.

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

Difference between SWF and SQS

A

SWF workflows can run for 1 year, whereas SQS has a retention period of 14 days.

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

What is SNS?

A

Push based service used to send message to different devices by text or notifications.Its inexpensive and no upfront costs.

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

What is Elastic Transcoder?

A

It is a media transcoder, converting media from one format to other.We can upload video to S3, which can trigger a transcoder to convert it from one format to other, which can play in mobile and other devices

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

Benfits of API Gateway

A

Can be used to cache data to improve performance.
it is low cost and scales automatically
can log results to cloudwatch.

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

What is kinesis?

A

it’s a service to store large volumes of small sized streaming data. Data inside kinesis is stored in shards.The data itself is stored for 24 hours by default and can be extended to 7 days. Stored data can be analysed by other ec2 instances, and saved to databases or whatever seems fit.

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

what is kinesis Firehose?

A

It is a kind of kinesis where the incoming data is not stored, but rather a lambda function or some kind of trigger is initiated to act upon the data.

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

What is kinesis analytics?

A

A service used to anlayse the incoming streaming data in

Kinesis streams or Kinesis firehose

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

What are the types of Kinesis

A

Kinesis Firehose and kinesis stream.

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

Is SQS General queue compatbitle with FIFO queue?

A

Not all services might be compatible

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

How is SQS charged?

A

It has free tier and beyond which a charge will incure base on number of messages. Requests could be batched to get cost benefits.

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

What is long and short polling?

A

Short polling returns immediately even if the queue is empty, where as long polling wait for some message to arrive before returning to client or time out to happen.
Long polling is cost effective, but it can block teh calling thread, till reposne is received.

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

Security and reliability of SQS

A

SQS is region scoped, but replicated across multiple availablity zones.
Messages can be encrypted SSE and permissions can be given only to authorsied reourcses to use the queue

Encryption only encrypts the message body and not the metadata.

17
Q

what is amazon FPS

A

Using Flexible payments service, developers can collect money in their websites

18
Q

What is amazon devpay?

A

Devpay enables applications built on Ec2 or S3 to be sold on Amazon market place for a profit. Amazon takes commission plus the cost pf base image and rest is given to developer.

19
Q

What is cloud formation?

A

It enables environments to be created based on Text files or Programming languages across multi regions.Cloud formation template use is free, but the resources it spun up will cost money.