AWS provides powerful tools for integrating applications, services, and workflows. Amazon SQS, Amazon SNS, and EventBridge enable robust messaging, notifications, and event-driven architectures. For complex workflows, AWS Step Functions is an ideal choice. This quiz tests your understanding of AWS application integration and related services.
Your application needs to decouple components by using a messaging service. Which AWS service should you choose to provide a fully managed message queue?
A. Amazon SNS
B. Amazon SQS
C. AWS Lambda
D. Amazon EventBridge
E. Amazon Kinesis
A system requires message ordering, but messages must not be lost. Which Amazon SQS feature should you enable to ensure this?
A. Dead-letter queue
B. FIFO queue
C. Delay queue
D. Standard queue
E. Message filtering
Which of the following is true about Amazon SQS?
A. SQS allows both short and long polling
B. SQS is a fully managed publish-subscribe messaging system
C. SQS automatically deletes messages once they are processed
D. SQS guarantees exactly-once message delivery
E. SQS supports message retention of up to 14 days
You are designing a system that processes large numbers of messages, where each message needs to be processed by exactly one worker. Which queue type should you choose?
A. FIFO queue
B. Standard queue
C. Delay queue
D. Dead-letter queue
E. SQS Queue Policy
You want to delay the delivery of messages in Amazon SQS for a specific amount of time. What feature would you use?
A. SQS Message Retention
B. SQS Visibility Timeout
C. SQS Delay Queue
D. SQS Long Polling
E. SQS Dead-letter Queue
Topic 2: Amazon SNS – Notifications and Pub/Sub Systems
Your application needs to send notifications to multiple subscribers with different protocols (e.g., HTTP, email, and SMS). Which service should you use?
A. Amazon SNS
B. Amazon SQS
C. AWS Lambda
D. Amazon EventBridge
E. AWS Step Functions
You are implementing a pub/sub messaging system for your application. Which of the following is a benefit of using Amazon SNS?
A. High throughput for sending messages to multiple endpoints
B. Guaranteed delivery of messages to subscribers
C. Message filtering based on subscriber preferences
D. FIFO message ordering
E. Seamless integration with Amazon Kinesis
Which protocol is supported by Amazon SNS for delivering notifications to subscribers?
A. HTTP/S
B. Email
C. SMS
D. AWS Lambda
E. All of the above
You need to ensure that a message published to an SNS topic is delivered to all subscribers, including those that might be temporarily unavailable. What feature should you enable to achieve this?
A. Message filtering
B. Dead-letter queue
C. Message retention
D. SQS as a subscriber
E. SNS message encryption
In an SNS-based system, you want to receive a notification every time a specific event occurs in your application. What should you configure in SNS to achieve this?
A. Create an SNS topic and subscribe to it
B. Use AWS CloudTrail to monitor events
C. Use Amazon EventBridge rules to trigger notifications
You need to build an event-driven architecture where multiple AWS services respond to changes in your application. Which service would you use to create and manage events?
A. Amazon SQS
B. AWS Step Functions
C. Amazon EventBridge
D. Amazon SNS
E. AWS Lambda
In Amazon EventBridge, how do you ensure that events are routed to different AWS services based on specific conditions?
A. Create EventBridge rules with event patterns
B. Use EventBridge for event filtering
C. Use Lambda functions for event processing
D. Subscribe to an SNS topic for event handling
E. Route events based on CloudWatch alarms
Your application generates events that need to trigger different actions depending on their content. What feature of EventBridge should you use?
A. EventBridge Archive
B. EventBridge Filters
C. EventBridge Rules
D. EventBridge Insights
E. EventBridge Scheduler
You are designing an application that needs to handle events from a custom application and route them to multiple services. Which service would you choose?
A. Amazon SNS
B. Amazon EventBridge
C. Amazon Kinesis
D. AWS Lambda
E. AWS Step Functions
You want to route events from your application to multiple AWS services, but the events should only be delivered to services that are explicitly authorized. Which feature of EventBridge enables this?
You need to design an application that requires executing a series of tasks in a specific order, with conditional branches. Which AWS service should you use for orchestration?
A. Amazon SQS
B. AWS Step Functions
C. AWS Lambda
D. Amazon SNS
E. Amazon EventBridge
In AWS Step Functions, what is the primary purpose of a state machine?
A. To orchestrate and coordinate multiple AWS services
B. To store the state of an application
C. To trigger Lambda functions
D. To manage messages in SQS
E. To publish events to SNS
You are designing a workflow where each task depends on the successful completion of the previous task. Which Step Functions feature allows you to handle this type of sequential task execution?
A. Parallel state
B. Task state
C. Catch state
D. Wait state
E. Choice state
You want to implement a retry mechanism for tasks that fail in a Step Functions workflow. Which feature should you use?
A. Retry policy in Task state
B. Catch state
C. Wait state
D. Lambda function error handling
E. CloudWatch Events for retries
You want to coordinate multiple AWS services, including Lambda, SQS, and DynamoDB, in a single workflow. Which AWS service should you use for orchestration?
A. AWS Step Functions
B. Amazon SNS
C. Amazon EventBridge
D. AWS Lambda
E. Amazon Kinesis
Answer Key
Qno
Answer
1
B. Amazon SQS
2
B. FIFO queue
3
A. SQS allows both short and long polling, E. SQS logs can be encrypted
4
B. Standard queue
5
C. SQS Delay Queue
6
A. Amazon SNS
7
A. High throughput for sending messages to multiple endpoints
8
E. All of the above
9
D. SQS as a subscriber
10
A. Create an SNS topic and subscribe to it
11
C. Amazon EventBridge
12
A. Create EventBridge rules with event patterns
13
C. EventBridge Rules
14
B. Amazon EventBridge
15
B. EventBridge Permissions and Access Control
16
B. AWS Step Functions
17
A. To orchestrate and coordinate multiple AWS services