A user is using the AWS SQS to decouple the services. Which of the below mentioned operations
is not
supported by SQS?
A.
SendMessageBatch
B.
DeleteMessageBatch
C.
CreateQueue
D.
DeleteMessageQueue
Explanation:
Amazon Simple Queue Service (SQS. is a fast, reliable, scalable, and fully managed message
queuing
service. SQS provides a simple and cost-effective way to decouple the components of an
application. The user can perform the following set of operations using the Amazon SQS:
CreateQueue, ListQueues, DeleteQueue, SendMessage, SendMessageBatch, ReceiveMessage,
DeleteMessage, DeleteMessageBatch, ChangeMessageVisibility, ChangeMessageVisibilityBatch,
SetQueueAttributes, GetQueueAttributes, GetQueueUrl, AddPermission and RemovePermission.
Operations can be performed only by the AWS account owner or an AWS account that the
account owner has delegated to.
D.
D
Answer – D
Below are the various operations provided by AWS on SQS. In this list DeleteMessageQueue is not present.
Basic Message Operations
SendMessage: Send messages to a specified queue.
ReceiveMessage: Return one or more messages from a specified queue.
DeleteMessage: Remove a previously received message from a specified queue.
ChangeMessageVisibility: Change the visibility timeout of a previously received message.
Batch Message Operations
SendMessageBatch: Send multiple messages to a specified queue.
DeleteMessageBatch: Remove multiple previously received messages from a specified queue.
ChangeMessageVisibilityBatch: Change the visibility timeout of multiple previously received messages.
Basic Queue Management
CreateQueue: Create queues for use with your AWS account.
ListQueues: List your existing queues.
DeleteQueue: Delete one of your queues.
PurgeQueue: Delete all the messages in a queue.
Advanced Queue Management
SetQueueAttributes: Control queue settings such as the visibility timeout (amount of time that messages are locked after being read so they cannot be read again), a delay value, or dead letter queue parameters.
GetQueueAttributes: Get information about a queue such as the visibility timeout, number of messages in the queue, or the maximum message size.
GetQueueUrl: Get the queue URL.
AddPermission: Add queue sharing for another AWS account for a specified queue.
RemovePermission: Remove an AWS account from queue sharing for a specified queue.
ListDeadLetterSourceQueues: List the queues attached to a dead letter queue.
The correct answer is: DeleteMessageQueue