0
0
AWScloud~5 mins

Sending and receiving messages in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the primary AWS service used for sending and receiving messages between distributed components?
Amazon Simple Queue Service (SQS) is the primary AWS service used for sending, storing, and receiving messages between distributed software components or microservices.
Click to reveal answer
intermediate
What is the difference between a Standard Queue and a FIFO Queue in AWS SQS?
Standard Queues offer high throughput and at-least-once delivery but may deliver messages out of order. FIFO Queues guarantee exactly-once processing and preserve the order of messages but have lower throughput.
Click to reveal answer
beginner
What is a message visibility timeout in AWS SQS?
The visibility timeout is the period after a message is received during which it remains invisible to other consumers. This prevents multiple consumers from processing the same message simultaneously.
Click to reveal answer
intermediate
How does AWS SQS ensure messages are not lost if a consumer fails to process them?
If a consumer fails to delete a message after processing, the message becomes visible again after the visibility timeout expires, allowing other consumers to process it.
Click to reveal answer
intermediate
What AWS service can be used to trigger processing automatically when a message arrives in an SQS queue?
AWS Lambda can be configured to automatically trigger and process messages when they arrive in an SQS queue, enabling serverless message processing.
Click to reveal answer
Which AWS service is designed specifically for sending and receiving messages between distributed components?
AAmazon EC2
BAmazon SQS
CAmazon RDS
DAmazon S3
What does the visibility timeout in SQS prevent?
AMessages being sent to the wrong queue
BMessages being deleted too early
CMultiple consumers processing the same message simultaneously
DMessages being encrypted
Which SQS queue type guarantees the order of messages?
AFIFO Queue
BStandard Queue
CDead-letter Queue
DPriority Queue
What happens to a message in SQS if the consumer fails to delete it after processing?
AIt becomes visible again after the visibility timeout
BIt is sent to another queue
CIt is automatically archived
DIt is lost permanently
Which AWS service can automatically process messages from an SQS queue without managing servers?
AAmazon DynamoDB
BAmazon EC2
CAWS CloudTrail
DAWS Lambda
Explain how AWS SQS handles message delivery and processing to ensure reliability.
Think about how messages are hidden during processing and what happens if processing fails.
You got /4 concepts.
    Describe the differences between Standard and FIFO queues in AWS SQS and when you might use each.
    Consider speed versus order and duplication guarantees.
    You got /3 concepts.