Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
In a scenario with multiple Amazon VPC endpoints within a single VPC, how should a developer configure an S3 bucket policy to restrict access to the bucket exclusively through these endpoints?
A
By creating individual S3 bucket policies for each endpoint ID, utilizing the aws:SourceVpce condition with StringNotEquals.
B
By establishing a unified S3 bucket policy applying the aws:SourceVpc condition with StringNotEquals to the VPC ID.
C
By formulating a single S3 bucket policy with a aws:SourceVpce condition using StringNotEquals for vpce*.
D
By defining a single S3 bucket policy that lists multiple aws:sourceVpce conditions in StringNotEquals for all relevant VPC endpoint IDs.