Amazon Simple Notification Service (SNS) | Raw Message Delivery Flashcards

1
Q

Are there TCP ports that should be used for cross-region communication between SNS and EC2?

Raw Message Delivery

Amazon Simple Notification Service (SNS) | Application Integration

A

Yes, cross-region communication between SNS and EC2 on ports other than 80/443/4080/8443 is not guaranteed to work and should be avoided.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is raw message delivery?

Raw Message Delivery

Amazon Simple Notification Service (SNS) | Application Integration

A

You can opt-in to get your messages delivered in raw form, i.e. exactly as you published them. By default, messages are delivered encoded in JSON that provides metadata about the message and topic. Raw message delivery can be enabled by setting the “RawMessageDelivery” property on the subscriptions. This property can be set by using the AWS Management Console, or by using the API SetSubscriptionAttributes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the default behavior if the raw message delivery property on the subscription is not set?

Raw Message Delivery

Amazon Simple Notification Service (SNS) | Application Integration

A

By default, if this property is not set, messages will be delivered in JSON format, which is the current behavior. This ensures existing applications will continue to operate as expected.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which types of endpoints support raw message delivery?

Raw Message Delivery

Amazon Simple Notification Service (SNS) | Application Integration

A

Raw message delivery support is supported with SQS and HTTP(S) endpoints. Deliveries to Lambda, email, and SMS endpoints will behave the same independent of the “RawMessageDelivery” property.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly