DEA-C01 · Question #228
A data engineer uses AWS Lake Formation to manage access to data that is stored in an Amazon S3 bucket. The data engineer configures an AWS Glue crawler to discover data at a specific file location…
The correct answer is B. Register the S3 location in Lake Formation to allow the crawler to access the data. In Lake Formation, you must explicitly register each S3 path as a data location before any Glue crawler or user can access it. Registering s3:// examplepath in Lake Formation grants the crawler the metadata permissions it needs to crawl that location.
Question
A data engineer uses AWS Lake Formation to manage access to data that is 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?
Options
- AAttach an appropriate IAM policy to the IAM role of the AWS Glue crawler to grant the crawler
- BRegister the S3 location in Lake Formation to allow the crawler to access the data.
- CCreate a new AWS Glue database. Assign the correct permissions to the database for the
- DConfigure the S3 bucket policy to allow cross-account access.
How the community answered
(43 responses)- A2% (1)
- B91% (39)
- C2% (1)
- D5% (2)
Explanation
In Lake Formation, you must explicitly register each S3 path as a data location before any Glue crawler or user can access it. Registering s3:// examplepath in Lake Formation grants the crawler the metadata permissions it needs to crawl that location.
Topics
Community Discussion
No community discussion yet for this question.