Amazon Simple Queue Service (SQS) | Queue Sharing Flashcards

1
Q

Can I reuse a message queue name?

Queue Sharing

Amazon Simple Queue Service (SQS) | Application Integration

A

A message queue’s name must be unique within an AWS account and region. You can reuse a message queue’s name after you delete the message queue.

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

How do I share a message queue?

Queue Sharing

Amazon Simple Queue Service (SQS) | Application Integration

A

You can associate an access policy statement (and specify the permissions granted) with the message queue to be shared. Amazon SQS provides APIs for creating and managing access policy statements:

AddPermission

RemovePermission

SetQueueAttributes

GetQueueAttributes

For more information, see the Amazon SQS API Reference.

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

Who pays for shared queue access?

Queue Sharing

Amazon Simple Queue Service (SQS) | Application Integration

A

The message queue owner pays for shared message queue access.

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

How do I identify another AWS user I want to share a message queue with?

Queue Sharing

Amazon Simple Queue Service (SQS) | Application Integration

A

The Amazon SQS API uses the AWS account number to identify AWS users.

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

What do I need to provide to an AWS user I want to share a message queue with?

Queue Sharing

Amazon Simple Queue Service (SQS) | Application Integration

A

To share a message queue with an AWS user, provide the full URL from the message queue you want to share. The CreateQueue and ListQueues operations return this URL in their responses.

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

Does Amazon SQS support anonymous access?

Queue Sharing

Amazon Simple Queue Service (SQS) | Application Integration

A

Yes. You can configure an access policy that allows anonymous users to access a message queue.

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

When should I use the permissions API?

Queue Sharing

Amazon Simple Queue Service (SQS) | Application Integration

A

The permissions API provides an interface for sharing access to a message queue to developers. However, this API cannot allow conditional access or more advanced use cases.

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