Question : What happens when you create a topic on Amazon SNS? 1. An ARN (Amazon Resource Name) is created,which will include the service name (SNS), region, AWS ID 2. You can create a topic only on Amazon SQS. 3. Access Mostly Uused Products by 50000+ Subscribers 4. None of the above
Explanation: Topic names are limited to 256 characters. Alphanumeric characters plus hyphens (-) and underscores (_) are allowed. Topic names must be unique within an AWS account. After you delete a topic, you can reuse the topic name. When a topic is created, Amazon SNS will assign a unique ARN (Amazon Resource Name) to the topic, which will include the service name (SNS), region, AWS ID of the user and the topic name. The ARN will be returned as part of the API call to create the topic. Whenever a publisher or subscriber needs to perform any action on the topic, they should reference the unique topic ARN.
The following is the ARN for a topic named mytopic created by a user with the AWS account ID 123456789012 and hosted in the US East region:
arn:aws:sns:us-east-1:1234567890123456:mytopic Note: Users should NOT attempt to build the topic ARN from its separate components they should always use the name returned from the API call to create the topic.
Question : Which one of the following can be done by the Publisher on the Amazon SNS.
Explanation: Publisher operations: Publish: Publish a new message to the topic. Owner operations: CreateTopic Create a new topic. DeleteTopic Delete a previously created topic. ListTopics List of topics owned by a particular user (AWS ID). ListSubscriptionsByTopic List of subscriptions for a particular topic SetTopicAttributes Set or modify topic attributes, including setting and modifying publisher or subscriber permissions, transports supported, etc. GetTopicAttributes Get or view existing attributes of a topic AddPermission Grant access to selected users for the specified actions RemovePermission Remove permissions for selected users for the specified actions
Subscriber operations: Subscribe Register a new subscription on a particular topic, which will generate a confirmation message from Amazon SNS
ConfirmSubscription Respond to a subscription confirmation message, confirming the subscription request to receive notifications from the subscribed topic UnSubscribe Cancel a previously registered subscription ListSubscriptions List subscriptions owned by a particular user (AWS ID)
Question : What are the different delivery formats/transports for receiving notifications in SNS? 1. HTTP, HTTPS Subscribers specify a URL as part of the subscription registration; notifications will be delivered through an HTTP POST to the specified URL. 2. Email, Email JSON Messages are sent to registered addresses as email. Email-JSON sends notifications as a JSON object, while Email sends text-based email. 3. Access Mostly Uused Products by 50000+ Subscribers 4. SMS Messages are sent to registered phone numbers as SMS text messages 5. All of the above
Correct Answer : Get Lastest Questions and Answer : In order for customers to have broad flexibility of delivery mechanisms, Amazon SNS supports notifications over multiple transport protocols. Customers can select one the following transports as part of the subscription requests:
HTTP, HTTPS Subscribers specify a URL as part of the subscription registration; notifications will be delivered through an HTTP POST to the specified URL. Email, Email-JSON Messages are sent to registered addresses as email. Email-JSON sends notifications as a JSON object, while Email sends text-based email. SQS Users can specify an SQS queue as the endpoint; Amazon SNS will enqueue a notification message to the specified queue (which subscribers can then process using SQS APIs such as ReceiveMessage, DeleteMessage, etc.) SMS Messages are sent to registered phone numbers as SMS text messages.