
Answer-first summary for fast verification
Answer: Establish a VPC endpoint for S3.
The correct answer is A. Creating a gateway VPC endpoint to the S3 bucket allows the EC2 instance to communicate directly with S3 over the AWS network, without requiring internet access. This ensures secure and private connectivity within the VPC environment. Options B, C, and D do not provide a direct private connection specifically suited for accessing S3 without using the internet.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
An EC2 instance within a VPC requires private access to process logs stored in an S3 bucket without internet connectivity. What is the appropriate solution for establishing this private network connectivity?
A
Establish a VPC endpoint for S3.
B
Utilize CloudWatch Logs for streaming and exporting logs to S3.
C
Configure an EC2 instance profile for S3 access.
D
Implement an API Gateway with a private connection to the S3 endpoint.