A company needs to restrict access to an Amazon S3 bucket to Amazon EC2 instances in a VPC only. All traffic must be over the AWS private network. What actions should the SysOps administrator take to meet these requirements?
A) Create a VPC endpoint for the S3 bucket, and create an IAM policy that conditionally limits all S3 actions on the bucket to the VPC endpoint as the source.
B) Create a VPC endpoint for the S3 bucket, and create an S3 bucket policy that conditionally limits all S3 actions on the bucket to the VPC endpoint as the source.
C) Create a service-linked role for Amazon EC2 that allows the EC2 instances to interact directly with Amazon S3, and attach an IAM policy to the role that allows the EC2 instances full access to the S3 bucket.
D) Create a NAT gateway in the VPC, and modify the VPC route table to route all traffic destined for Amazon S3 through the NAT gateway.
Correct Answer:
Verified
Q3: A SysOps administrator notices a scale-up event
Q4: A SysOps administrator is maintaining a web
Q5: A company is using an Amazon Aurora
Q6: A SysOps administrator is creating two AWS
Q7: A company hosts its website in the
Q9: A company uses Amazon Route 53 to
Q10: A SysOps Administrator is managing a web
Q11: A company has a VPC with public
Q12: A company uses an Amazon Elastic File
Q13: A company wants to be alerted through
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents