0
0
AWScloud~5 mins

SQS queue concept in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is an Amazon SQS queue?
An Amazon SQS queue is a service that stores messages temporarily so that different parts of an application can communicate by sending and receiving messages asynchronously.
Click to reveal answer
beginner
What are the two types of SQS queues?
The two types of SQS queues are Standard queues, which offer high throughput and at-least-once delivery, and FIFO queues, which guarantee exactly-once processing and preserve message order.
Click to reveal answer
beginner
How does SQS help in decoupling application components?
SQS acts like a mailbox where one part of the app puts messages and another part picks them up later, so they don't need to work at the same time or know about each other directly.
Click to reveal answer
intermediate
What is the visibility timeout in SQS?
Visibility timeout is the time period after a message is received during which it is hidden from other consumers, preventing multiple processing of the same message.
Click to reveal answer
intermediate
Why would you use a FIFO queue instead of a Standard queue?
Use a FIFO queue when the order of messages matters and you want to make sure each message is processed exactly once without duplicates.
Click to reveal answer
What does SQS stand for?
ASimple Query Service
BSecure Query System
CStandard Queue Setup
DSimple Queue Service
Which SQS queue type guarantees message order?
AStandard queue
BBoth Standard and FIFO
CFIFO queue
DNeither
What happens to a message during the visibility timeout?
AIt is hidden from other consumers
BIt is visible to all consumers
CIt is deleted immediately
DIt is moved to a dead-letter queue
Which feature of SQS helps different parts of an app work independently?
ADecoupling
BEncryption
CAuto-scaling
DLoad balancing
What is a common use case for SQS?
AStoring large files
BPassing messages between microservices
CHosting websites
DSending emails directly
Explain how SQS helps improve application reliability and scalability.
Think about how messages wait safely and how components don’t need to be active at the same time.
You got /4 concepts.
    Describe the differences between Standard and FIFO SQS queues and when to use each.
    Consider message order and duplicate handling.
    You got /4 concepts.