A user has created a queue named “myqueue” in US-East region with AWS SQS. The user’s AWS account ID is
123456789012. If the user wants to perform some action on this queue, which of the below Queue URL should
he use?
A.
http://sqs.us-east-1.amazonaws.com/123456789012/myqueue
B.
http://sqs.amazonaws.com/123456789012/myqueue
C.
http://sqs. 123456789012.us-east-1.amazonaws.com/myqueue
D.
http:// 123456789012.sqs. us-east-1.amazonaws.com/myqueue
Explanation:
When creating a new queue in SQS, the user must provide a queue name that is unique within the scope of all
queues of user’s account. If the user creates queues using both the latest WSDL and a previous version, he will
have a single namespace for all his queues. Amazon SQS assigns each queue created by user an identifier
called a queue URL, which includes the queue name and other components that Amazon SQS determines.
Whenever the user wants to perform an action on a queue, he must provide its queue URL. The queue URL for
the account id 123456789012 & queue name “myqueue” in US-East-1 region will be http:// sqs.us-east-
1.amazonaws.com/123456789012/myqueue.
http://docs.aws.amazon.com/AWSSdkDocsNET/V2/DeveloperGuide/sqs-queue-url.html
A.
http://sqs.us-east-1.amazonaws.com/123456789012/myqueue
A is correct.
https://REGION_ENDPOINT/queue.amazonaws.com/YOUR_ACCOUNT_NUMBER/YOUR_QUEUE_NAME
The following is the queue URL for a queue named “queue2” owned by a user with the AWS account number “123456789012”.
Answer is A
http://sqs.us-east-1.amazonaws.com/123456789012/queue2
http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ImportantIdentifiers.html
a
The answer should be A.
http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html
A
A