ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 577 - SAA-C03 discussion

Report
Export

A development team is collaborating with another company to create an integrated product. The other company needs to access an Amazon Simple Queue Service (Amazon SQS) queue that is contained in the development team's account. The other company wants to poll the queue without giving up its own account permissions to do so.

How should a solutions architect provide access to the SQS queue?

A.
Create an instance profile that provides the other company access to the SQS queue.
Answers
A.
Create an instance profile that provides the other company access to the SQS queue.
B.
Create an IAM policy that provides the other company access to the SQS queue.
Answers
B.
Create an IAM policy that provides the other company access to the SQS queue.
C.
Create an SQS access policy that provides the other company access to the SQS queue.
Answers
C.
Create an SQS access policy that provides the other company access to the SQS queue.
D.
Create an Amazon Simple Notification Service (Amazon SNS) access policy that provides the other company access to the SQS queue.
Answers
D.
Create an Amazon Simple Notification Service (Amazon SNS) access policy that provides the other company access to the SQS queue.
Suggested answer: C

Explanation:

To provide access to the SQS queue to the other company without giving up its own account permissions, a solutions architect should create an SQS access policy that provides the other company access to the SQS queue. An SQS access policy is a resource-based policy that defines who can access the queue and what actions they can perform. The policy can specify the AWS account ID of the other company as a principal, and grant permissions for actions such assqs:ReceiveMessage,sqs:DeleteMessage, andsqs:GetQueueAttributes. This way, the other company can poll the queue using its own credentials, without needing to assume a role or use cross-account access keys.Reference:

Using identity-based policies (IAM policies) for Amazon SQS

Using custom policies with the Amazon SQS access policy language

asked 16/09/2024
Kristina Stojanovska
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first