Design Secure Architectures

Application roles can access several Amazon SQS queues through an interface endpoint. Access through this endpoint must be limited to one queue without changing the roles' permissions when they use other paths. What should a solutions architect configure?

Show the answer

Correct answerD. A VPC endpoint policy allowing only the queue

AWhy not this: A permissions boundary would also constrain the roles when they access SQS through other paths.

BWhy not this: Private DNS controls endpoint name resolution; it does not restrict access to particular queues.

CWhy not this: Security groups filter network traffic by addresses, protocols, and ports, not SQS queue resources.

DWhy this is right: An endpoint policy restricts resources accessible through that endpoint while leaving other access paths unchanged.

A VPC endpoint policy can limit which SQS resources are accessible through that endpoint without changing role permissions on other paths. A permissions boundary limits the role's permissions regardless of the network path used.