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
Suggested Answer:A🗳️
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. Reference: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-general-identifiers.html
So the closest to the answer is A, but its HTTPS.
Created a queue in a lab, and this was the URL result: https://sqs.us-east-1.amazonaws.com/728710102994/MyQueue
A is correct
Reference=https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-general-identifiers.html
Reference=https://docs.aws.amazon.com/sdk-for-net/v2/developer-guide/QueueURL.html
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
albert_kuo
8 months agoFinger41
1 year, 9 months agofagas
2 years, 6 months agoawscertified
2 years, 6 months agoaksliveswithaws
2 years, 7 months ago