A company uses AWS Lake Formation to manage a data lake containing structured and unstructured data. ML engineers are assigned to specific advertising campaigns and must query data with Amazon Athena and browse objects directly in S3. Each engineer must only access resources for their assigned campaigns. What is the most operationally efficient solution to enforce campaign-based access?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Lake Formation to authorize AWS Glue access to the S3 buckets and apply Lake Formation tags that map ML engineers to their campaigns..
Why this is the answer
The most operationally efficient solution is to use Lake Formation with Lake Formation tags. Lake Formation provides a centralized way to manage permissions for data in S3 and registered with the AWS Glue Data Catalog. By using Lake Formation tags, you can define granular access controls based on campaign, mapping ML engineers to their respective campaigns. This allows engineers to query data with Athena and browse S3 objects directly, as Lake Formation permissions translate to both services. Applying IAM policies on the AWS Glue Data Catalog alone would restrict Athena access but not direct S3 browsing. Storing user and campaign mappings in DynamoDB with Lambda to update S3 bucket policies is overly complex and less efficient than Lake Formation's native tagging. Setting S3 bucket policies directly would require managing numerous policies and would not integrate seamlessly with Athena's catalog-based access.
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