AWS AWS Application Integration and Messaging 1 — Questions and Answers
Question 1: Which AWS service provides a fully managed message queuing service that enables decoupling of distributed application components?
- Amazon SNS
- Amazon SQS (Correct answer)
- Amazon MQ
- AWS Step Functions
Correct answer: Amazon SQS
Amazon SQS (Simple Queue Service) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications.
Question 2: What is the maximum message retention period for Amazon SQS?
- 1 day
- 4 days
- 14 days (Correct answer)
- 30 days
Correct answer: 14 days
Amazon SQS can retain messages for up to 14 days, with the default retention period being 4 days.
Question 3: Which Amazon SQS queue type guarantees that messages are processed exactly once and in the exact order they are sent?
- Standard Queue
- FIFO Queue (Correct answer)
- Dead-Letter Queue
- Delay Queue
Correct answer: FIFO Queue
SQS FIFO (First-In-First-Out) queues guarantee that messages are processed exactly once, in the exact order that they are sent, supporting up to 300 TPS.
Question 4: Which AWS service is a fully managed pub/sub messaging service that enables fan-out to multiple endpoints?
- Amazon SQS
- Amazon SNS (Correct answer)
- Amazon Kinesis
- AWS EventBridge
Correct answer: Amazon SNS
Amazon SNS (Simple Notification Service) is a managed pub/sub messaging service that enables message fan-out to multiple subscribers including SQS, Lambda, HTTP, and email.
Question 5: What is the purpose of an SQS Dead-Letter Queue (DLQ)?
- To speed up message processing
- To store messages that cannot be successfully processed (Correct answer)
- To encrypt messages in transit
- To batch messages together
Correct answer: To store messages that cannot be successfully processed
A Dead-Letter Queue receives messages that have failed processing a specified number of times, allowing you to isolate and analyze problematic messages.
Question 6: Which AWS service allows you to coordinate multiple AWS services into serverless workflows using visual state machines?
- AWS Lambda
- Amazon SWF
- AWS Step Functions (Correct answer)
- Amazon EventBridge
Correct answer: AWS Step Functions
AWS Step Functions lets you build and orchestrate multi-step workflows using visual state machines, coordinating AWS services with built-in error handling and retries.
Which AWS service provides a fully managed message queuing service that enables decoupling of distributed application components?