Section 17: Decoupling applications:SQS,SNS,Kinesis,Active MQ Flashcards

1
Q

What can you use to determine to scale up your consumers on a SQS queue?

A
  • Making use of CloudWatch Metric which will give you the queue length
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What SQS Queue Access Policies do you get?

A
  • Cross Account Access: Allowing users from other accounts to post message to your queue
  • Publish S3 Event Notifications to SQS Queue
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SQS - What is message Visibility Timeout?

A
  • The time after the consumer has polled, it becomes invisible to other consumers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

AWS SQS - What is Dead Letter Queue?

A
  • When a consumer has read the message but was not able to process it so it was placed back on the queue and at some stage the threshold will be reach on the number of times the message was placed back on the queue.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

AWS SQS - What is delay Queue?
P186

A
  • Its a delay after a producer has send a message and the time the consumber can see/read it.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

AWS SQS - What is Request Response System and how do you implement it?
P188

A
  • Making using of one Request queue and one or more response queue. You make use of AWS’s “SQS Temporary Queue Client” to implement this method.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is AWS SQS FIFO Queue?

A
  • First in first out
  • It has limited throughput
  • Exactly once send capability
  • Message are processed in order by the consumer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is SNS + SQS: Fan Out pattern?

A
  • Push once in SNS, receive in all SQS queues that are subsribes
  • Fully decoupled, no data loss.
  • SQS allow for: data persistance,delayed processing
  • Ability to add more SQS subscribers over time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly