QuestionQ150

Data Security and Governance

A 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.
Explanation

AWS Glue crawlers that use Lake Formation credentials require their target Amazon S3 location to be registered with Lake Formation. Registering s3://examplepath resolves the stated error and enables Lake Formation to govern access to that location.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!