NEW
Font size
WorksheetsSQS and SNS Exercise
Total questions: 16
Worksheet time: 8mins
What is the maximum retention period for messages in an Amazon SQS queue?
1 day
7 days
14 days
30 days
Which of the following best describes Amazon SQS?
A managed database for message persistence
A distributed message queuing service
A serverless compute service for event-driven workloads
A load balancer for distributing traffic
Which of the following is NOT a valid Amazon SNS subscriber protocol?
Email/Email-JSON
SMS
HTTP/HTTPS
SFTP
What is the primary purpose of Amazon SNS?
To queue messages for batch processing
To send notifications to multiple subscribers at once
To monitor AWS resources for metrics
To store structured data
Which type of SQS queue guarantees that messages are processed exactly once and in order?
Standard Queue
FIFO Queue
Dead-letter Queue
Priority Queue
In Amazon SQS, what does the "Visibility Timeout" refer to?
The amount of time before a message is deleted from the queue
The duration a message is hidden from other consumers after being read
The maximum time a message can stay in the queue
The delay before a message becomes visible in the queue
What is the maximum message size allowed in Amazon SQS (without extended payloads)?
64 KB
128 KB
256 KB
1 MB
Which feature should you use if you want to handle messages that cannot be processed successfully after multiple attempts?
Dead-letter Queue
Delay Queue
FIFO Queue
Message Group ID
How does Amazon SQS Standard Queue handle message ordering?
Always guarantees strict order
Guarantees order only within a single consumer
Provides best-effort ordering
Provides random ordering
What is a "topic" in Amazon SNS?
A queue where messages are stored
A logical access point for publishing and subscribing messages
A filter for controlling message size
A batch of delivered messages
Which of the following is true about long polling in Amazon SQS?
It reduces the cost by avoiding empty responses
It increases the latency of message retrieval
It forces messages to wait in the queue for 20 seconds
It guarantees message ordering
If you want to ensure that a group of related messages is processed in sequence, which SQS feature should you use?
Delay Queue
Visibility Timeout
Message Group ID in FIFO queue
Dead-letter Queue
If you want to deliver messages to multiple queues for further processing, which integration is most commonly used with SNS?
Amazon EC2
Amazon RDS
Amazon SQS
AWS CloudTrail
How does SNS handle message delivery retries for HTTP/HTTPS subscribers?
Retries only once
Retries with exponential backoff
Retries indefinitely until success
Discards after failure
Which feature allows you to selectively deliver messages to specific subscribers based on attributes?
Message filtering
Dead-letter queue
FIFO delivery
Delivery policy
Which AWS service is commonly used together with SNS for serverless workflows?
AWS Lambda
Amazon RDS
Amazon Aurora
AWS Direct Connect
