Shared Flashcard Set

Details

SQS
SQS networking
33
Computer Networking
Professional
07/01/2017

Additional Computer Networking Flashcards

 


 

Cards

Term
SQS was first service on the platform? True or False
Definition
True
Term
What is the SQS distributed system do?
Definition
Enables web apps to quickly and reliably queue messages in one component in the application gets to be consumed by another component.
Term
Decouple apps so that they run independently for SQS easing message management between components. (True/False)
Definition
True
Term
SQS can be used as a buffer to RDS. We can generate logs/second and then write them to RDS. EC2 instances then package the request as a message to SQS.
Definition
True
Term
Visibility Timeout for SQS
Definition
period of time during which Amazon SQS prevents other components from receiving and processing the message.
Term
Delay Queue
Definition
Allows you to postpone the delivery of new messages in a queue for a specific number of seconds.
Term
Message Identifiers
Definition
Queue URL, message ids, and receipt handle. Queue URL - queue identifier which includes queue name. Message Id - unique id assigned for each message. Receipt handle - each time you receive a message from the queue.
Term
Standard queues
Definition
provide a loose-FIFO capability that preserves the order of the messages.
Term
FIFO
Definition
exactly once, which means that each message is delivered once and remains available until a consumer processes it and deletes it.
Term
Create a new FIFO queue for your application or delete existing standard queue and recreate it as a queue. True or False?
Definition
True
Term
Dead Letter Queue
Definition
Queue that other queues can target to send messages that can't be processed successfully.
Term
Dead letter queue of a FIFO queue must also be a FIFO queue.
Definition
True
Term
Maximum Receivables
Definition
number of times a message can be sent before being sent to a dead letter queue.
Term
Redrive policy
Definition
send messages to dead letter queue after max receives
Term
Short Polling
Definition
Enables polling of messages continuously and returns the result immediately.
Term
Long polling
Definition
SQS long polling is way to retrieve messages from the queue.
Term
You can enable long polling by Receive Message Wait Time to a value greater than 0.
Definition
True
Term
Max long poll out time is 20 seconds.
Definition
True
Term
Message Retention Period
Definition
Between 1 minute and 14 days. Max is 14 days.
Term
Maximum Message Size
Definition
Value between 1 and 256KB.
Term
Delivery Delay
Definition
Maximum message size accepted by Amazon SQS
Term
Receive Message Wait Time
Definition
maximum amount of time that a long polling receive call will wait for a message to become available before returning an empty response.
Term
Maximum Receives
Definition
Maximum Number of times a message can be received before it is sent to the Dead Letter queue.
Term
Can I share messages between queues in different regions?
Definition
Each Amazon SQS queue is independent within each region.
Term
What is the maximum number of inflight messages per standard queue?
Definition
120,000
Term
For FIFO there are 20,000 inflight messages per queue?
Definition
True
Term
How can I determine the time in queue value?
Definition
Determine the time in queue value by requesting the SentTimeStamp attribute.
Term
Amazon SNS follows the "publish-subscribe" messaging paradigm with notifications being delivered to clients?
Definition
Use a "push" mechanism that eliminates the need to check or poll for updates.
Term
When you publish to a topic, does Amazon publish to each subscriber?
Definition
Yes Amazon does publish to each subscriber.
Term
To prevent messages from being lost, Amazon stores messages across multiple AZs?
Definition
Yes
Term
Data format of SNS is JSON
Definition
true
Term
What are the SNS subscription protocol types?
Definition
HTTP, HTTPS, Email, Email-JSON, SQS, Lambda, Application, SMS.
Term
What are the subscribers for Amazon SNS?
Definition
Lambda, SQS, HTTP/S, Email, SNS.
Supporting users have an ad free experience!