19. SQS + SNS + Kinesis Flashcards
What is the max SQS message size?
256 KB
What is Kinesis Data Firehose used for?
To load streaming data into data stores (Amazon S3, Redshift, ElasticSearch, Splunk, etc)
What is Kinesis Data Analytics used for?
Real-time analytics on Kinesis Data Streams and Firehose using SQL
What SQS API should you call to get more time to process a message?
ChangeMessageVisibility
After the ____ is exceeded, the message goes into a dead letter queue (DLQ)
MaximumReceives threshold
What is the SQS API call to configure long polling?
ReceiveMessageWaitTimeSeconds
What SQS ID can you set to order FIFO messages?
MessageGroupId
You have an SQS Queue where each consumer polls 10 messages at a time and finishes processing them in 1 minute. After a while, you noticed that the same SQS messages are received by different consumers resulting in your messages being processed more than once. What should you do to resolve this issue?
Increase the Visibility Timeout
Which SQS Queue type allows your messages to be processed exactly once and in order?
SQS FIFO Queue
You have an SNS topic with 1000s of subscribers and you want to send some messages to certain subscribers and not others. What SNS feature allows you to do so?
SNS Message Filtering
Your SQS costs are extremely high. Upon closer look, you notice that your consumers are polling your SQS queues too often and getting empty data as a result. What should you do?
Enable long polling
How do you send messages greater than 256 KB in SQS?
Use the SQS Extended Client Library
What is the maximum number of days an SQS queue can keep messages for?
14 days
Which SQS FIFO message attribute prevents messages with the same deduplication ID to be delivered during a 5-minutes period?
MessageDeduplicationId
What is the maximum number of days a Kinesis Data Stream can keep records for?
365