100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Lab - Design and Manage Pub/Sub Messaging with Amazon Simple Notification Service (SNS) |Task 5 | Challenge - Advanced SNS Message Filtering (Optional) |graded A+ |Passed

Rating
-
Sold
-
Pages
8
Grade
A+
Uploaded on
22-03-2025
Written in
2024/2025

Lab - Design and Manage Pub/Sub Messaging with Amazon Simple Notification Service (SNS) |Task 5 | Challenge - Advanced SNS Message Filtering (Optional) |graded A+ |Passed

Institution
AWS CERT
Course
AWS CERT









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
AWS CERT
Course
AWS CERT

Document information

Uploaded on
March 22, 2025
Number of pages
8
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • amazon

Content preview

Lab - Design and Manage
Pub/Sub Messaging with
Amazon Simple Notification
Service (SNS)
Task 5: Challenge - Advanced SNS Message Filtering (Optional)
This challenge involves designing and implementing complex filter
policies for Amazon SNS subscriptions using logical operators,
numerical comparisons, and attribute existence checks. Below is a
structured guide with all possible questions and answers to help
you master advanced filtering scenarios.



Step 1: Define Message Attributes
Messages must include attributes for filtering. Example attributes:
json
Copy
{
"priority": "high",
"service": "payment",
"severity_level": 7,
"environment": "prod",
"debug_flag": true
}



Step 2: Create Advanced Filter Policies
Use JSON filter policies to define conditions for subscribers.
Example 1: Logical AND/OR

, Deliver messages
where priority=high AND (service=payment OR service=auth):
json
Copy
{
"priority": ["high"],
"service": ["payment", "auth"]
}
Example 2: Numeric Comparisons
Deliver messages where severity_level > 5:
json
Copy
{
"severity_level": [{"numeric": [">", 5]}]
}
Example 3: Existence Check
Deliver messages that include the debug_flag attribute (regardless
of value):
json
Copy
{
"debug_flag": [{"exists": true}]
}
Example 4: Range Check
Deliver messages where severity_level is between 3 and 7:
json
Copy
{
"severity_level": [{"numeric": [">=", 3, "<=", 7]}]

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BRAINBOOSTERS Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
649
Member since
2 year
Number of followers
250
Documents
22594
Last sold
4 hours ago

In this page you will find all documents , flashcards and package deals offered by seller BRAINBOOSTERS

4.5

340 reviews

5
264
4
30
3
21
2
5
1
20

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions