Home > Glossary > AWS Certified Solutions Architect - Associate > Simple Notification Service (SNS)

📖 What is Simple Notification Service (SNS)?

SNS is a fully managed pub/sub messaging service enabling event-driven architectures. It allows applications to publish messages to topics, which are then distributed to subscribed endpoints, including SQS queues, Lambda functions, and email addresses, facilitating real-time communication.

🥋 Sensei Says:

"Focus on the publish/subscribe model. SNS is often paired with SQS for reliable message delivery. Understand the difference between SNS topics and SQS queues, and how they interact. Be aware of SNS message filtering capabilities."

📚 Certification: AWS Certified Solutions Architect - Associate (SAA-C03)

🔑 What are the Key Concepts of Simple Notification Service (SNS)?

  • SNS utilizes a publish/subscribe model, decoupling message producers from consumers for scalability and resilience.
  • Topics in SNS act as access points for sending messages, and subscribers receive messages filtered by attributes.
  • SNS supports multiple subscription protocols, including SQS, Lambda, HTTP/S, email, and SMS for broad integration.
  • Message filtering allows subscribers to only receive messages with specific attributes, reducing unnecessary processing.
  • SNS can be integrated with IAM policies to control access to topics and subscriptions, ensuring security.

🎯 How does Simple Notification Service (SNS) appear on the SAA-C03 Exam?

You may be asked to identify the best service for broadcasting a single event to multiple downstream systems, such as triggering Lambda functions and sending email notifications.

A scenario might describe a system needing to fan-out messages to multiple SQS queues based on message attributes – determine how SNS message filtering can achieve this.

Expect questions about choosing between SNS and SQS; understand when to use SNS for one-to-many distribution versus SQS for reliable queuing.

❓ Frequently Asked Questions

When would I use SNS message filtering instead of filtering within the subscriber (e.g., Lambda)?

SNS filtering reduces the cost and complexity of processing unwanted messages at the subscriber level. It's more efficient for high-volume scenarios where many messages are irrelevant to a specific subscriber.


Can SNS guarantee message delivery to all subscribers?

SNS offers 'at least once' delivery. Subscribers might receive duplicate messages in rare cases. For guaranteed, exactly-once delivery, combine SNS with SQS and utilize its deduplication features.


How does SNS interact with SQS to improve reliability?

SNS can publish messages to SQS queues. SQS provides durable storage and ensures messages are delivered even if subscribers are temporarily unavailable, enhancing overall system reliability.

Related Terms from AWS Certified Solutions Architect - Associate

📝 Related Study Guides

Study Guide 10 min read

AWS Solutions Architect Associate (SAA-C03) Study Guide

The AWS Solutions Architect Associate (SAA-C03) exam validates your ability to design cost-effective, resilient, and secure cloud architectures. To pass, you must master four domains—Security, Resilience, Performance, and Cost Optimization—and score at least 720/1000 on 65 questions within 130 minutes using the AWS Well-Architected Framework.

Study Guide 10 min read

AWS Solutions Architect Associate (SAA-C03) Study Guide

To pass the AWS SAA-C03 exam, you must master four domains: secure, resilient, high-performing, and cost-optimized architectures. Success requires deep knowledge of core services like VPC, EC2, and S3, combined with hands-on experience and rigorous practice using high-quality question banks to simulate the 65-question, 130-minute exam environment.

Deep Dive 8 min read

AWS SQS vs SNS: Core Differences for the SAA-C03 Exam

AWS SQS is a pull-based message queuing service used for one-to-one decoupling, ensuring messages are processed once. AWS SNS is a push-based pub/sub service for one-to-many notifications. For the SAA-C03 exam, remember SQS provides persistence and polling, while SNS delivers real-time messages to multiple subscribers instantly.

🧠

Test Your Knowledge

Think you understand Simple Notification Service (SNS)? Put it to the test with our practice exam.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium