AWS Certified Data Engineer – Associate (DEA-C01) — Question 73

A data engineer is configuring an AWS Glue job to read data from an Amazon S3 bucket. The data engineer has set up the necessary AWS Glue connection details and an associated IAM role. However, when the data engineer attempts to run the AWS Glue job, the data engineer receives an error message that indicates that there are problems with the Amazon S3 VPC gateway endpoint.
The data engineer must resolve the error and connect the AWS Glue job to the S3 bucket.
Which solution will meet this requirement?

Answer options

Correct answer: D

Explanation

The correct answer is D because having the appropriate routes in the VPC's route table is essential for the AWS Glue job to communicate with the S3 bucket through the VPC gateway endpoint. Option A is incorrect as modifying the security group alone does not address route table issues. Option B is not sufficient because a bucket policy alone does not resolve networking issues. Option C is irrelevant since the problem is related to VPC connectivity, not the job code.