A data engineer configured an AWS Glue job to read data from an S3 bucket and supplied the required Glue connection and IAM role. When trying to run the job, an error reports issues with the Amazon S3 VPC gateway endpoint. What action will resolve the issue so the AWS Glue job can access the S3 bucket?
Choose an answer
Tap an option to check your answer.
Correct answer: Verify that the VPC's route table includes inbound and outbound routes for the Amazon S3 VPC gateway endpoint..
Why this is the answer
The correct answer is to verify the VPC's route table. An Amazon S3 VPC gateway endpoint allows instances in your VPC to access S3 privately without traversing the public internet. For this to work, the VPC's route tables must contain a route that directs traffic destined for S3 through the gateway endpoint. If this route is missing or misconfigured, the Glue job, which runs within a VPC, will fail to reach S3. Updating the Glue security group is incorrect because S3 gateway endpoints don't use security groups; they are managed by route tables. Configuring an S3 bucket policy is also incorrect, as the error specifically mentions issues with the VPC gateway endpoint, not access permissions. While permissions are crucial, the immediate problem is network reachability. Reviewing the Glue job code for FQDNs is irrelevant, as the issue lies with the VPC networking configuration for S3 access, not how the S3 path is specified in the code.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed