QuestionQ150
Data Security and GovernanceA data engineer is using AWS Lake Formation to manage access to data stored in an Amazon S3 bucket. The data engineer configures an AWS Glue crawler to discover data at a specific file location in the bucket, s3://examplepath. The crawler execution fails with the following error: “The S3 location: s3://examplepath is not registered.”
The data engineer needs to resolve the error.
Which solution will meet this requirement?
- A Attach an appropriate IAM policy to the IAM role of the AWS Glue crawler to grant the crawler permission to read the S3 location.
- B Register the S3 location in Lake Formation to allow the crawler to access the data.
- C Create a new AWS Glue database. Assign the correct permissions to the database for the crawler.
- D Configure the S3 bucket policy to allow cross-account access.
Community Discussion