AWS Certified Generative AI – Professional (AIP-C01) — Question 27

A software company is using Amazon Q Business to build an AI assistant that allows employees to access company information and personal information by using natural language prompts. The company stores this information in an Amazon S3 bucket.
Each department in the company has a dedicated prefix in the S3 bucket. Each object name includes the S3 prefix of the department that it belongs to. Each department can belong to only a single group in AWS IAM Identity Center. Each employee belongs to a single department.
The company configures Amazon Q Business to access data stored in an S3 bucket as a data source. The company needs to ensure that the AI assistant respects access controls based on the user's IAM Identity Center group membership.
Which solution will meet this requirement with the LEAST operational overhead?

Answer options

Correct answer: B

Explanation

Option B is the most efficient solution as it centralizes access control in a single JSON file at the top level of the S3 bucket, reducing management complexity. Option A would require maintaining multiple JSON files, increasing operational overhead. Option C complicates the setup by introducing permissions sets that need to be managed individually. Option D, while it provides a metadata solution, still involves more complexity than simply using a single JSON file for access control.