Scaling - SQS Flashcards

1
Q

What is SQS?

A

Simple Query Service is a reliable, scalable message queuing service

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

What are some SQS features?

A

integrated with KMS; transient storage (default 4 days; max 14); support FIFO, 256Kb max message size; Java SQS SDK max message 2GB

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

What is MQ?

A

manage version of Apache ActiveMQ; message broker which takes in messages and send them to systems that need them. similar to SQS; HA within region; ActiveMQ API

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

MQ or SQS?

A

use SQS with new applications from scratch; use MQ to migrate from existing message brokers to AWS

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

What is FIFO?

A

region specific, 3K Messages ps, used when message order is important

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

What is standard queuing?

A

available in all regions, unlimited transactions ps, used when throughput is important

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

What are message attributes?

A

metadata(timestamps, geolocation, signatures, IDs) that can be configured to be sent with messages

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

price

A

You pay only for what you use; no minimum fee.

The cost of Amazon SQS is calculated per request, plus data transfer charges for data transferred out of Amazon SQS

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

Availability?

A

HA, redundant AZs

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

Security?

A

IAM for credentials; TLS/HTTPS for transport; AWS SSE for encrypted queues in select regions

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

SNS vs SQS

A

both AWS messaging services; SNS pushes time sensitive messages to subscribers eliminating polling, SQS uses polling (pull) send/Receiver messages

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