S14:Decoupling applications: SQS, SNS, Kinesis, Active MQ Flashcards

1
Q

Your traffic will increase by 100x. You have already setup SQS standard queue. What should you do?

A

SQS scales automatically

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

You would like messages to be processed by SQS consumers only after 5 minutes of being published to SQS. What should you do?

A

Increase the DelaySeconds parameters

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

Your consumers poll 10 messages at a time and finish processing them in 1 minute. You notice that your messages are processed twice, as other consumers also receive the messages. What should you do?

A

Increase the VisibilityTimeout

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

Usando alguna catergoria de SQS: You’d like your messages to be processed exactly once and in order. Which do you need?

A

SQS FIFO queue.

the order of operations and events is critical, or where duplicates can’t be tolerated.
Provide exactly-once processing but have a limited number of transactions per second

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

You’d like to send a message to 3 different applications all using SQS. You should

A

Use SNS + SQS Fan-Out pattern

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

Que nos provee cada Shard

A

Each shard allows for 1MB/s incoming and 2MB/s outgoing of data

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

Que podriamos usar si la user data no esta siendo ordenada y esta siendo enviada a diferentes shards

A

We can use a partition key that represents the identity of the user

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

We’d like to perform real time analytics on streams of data. The most appropriate product will be…

A

Kinesis

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

We’d like for our big data to be loaded near real time to S3 or Redshift. We’d like to convert the data along the way. What should we use?

A

Kinesis Streams + Firehose

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

You want to send email notifications to your users. You should use

A

SNS

Has that feature by default

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

You have many microservices running on-premise and they currently communicate using a message broker that supports the MQTT protocol. You would like to migrate these applications and the message broker to the cloud without changing the application logic. Which technology allows you to get a managed message broker that supports the MQTT protocol?

A

Amazon MQ

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