QuestionQ64
Data Security and GovernanceA company uses Amazon Athena to run one-time queries on data stored in Amazon S3. The company has several use cases and must implement permission controls that separate query processes and access to query history for users, teams, and applications in the same AWS account.
Which solution meets these requirements?
- A Create an S3 bucket for each use case. Create an S3 bucket policy that grants permissions to appropriate individual IAM users. Apply the S3 bucket policy to the S3 bucket.
- B Create an Athena workgroup for each use case. Apply tags to the workgroup. Create an IAM policy that uses the tags to apply appropriate permissions to the workgroup.
- C Create an IAM role for each use case. Assign appropriate permissions to the role for each use case. Associate the role with Athena.
- D Create an AWS Glue Data Catalog resource policy that grants permissions to appropriate individual IAM users for each use case. Apply the resource policy to the specific tables that Athena uses.
Community Discussion