A data engineer must share datasets in Amazon S3 with data scientists in three departments: Finance, Marketing, and Human Resources. Some datasets are sensitive and should be accessible only to Finance. How should the engineer configure S3 access to meet these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a single S3 bucket with two folders (sensitive and non-sensitive). Attach IAM policies to each department group: Finance gets access to both folders; Marketing and HR get access only to the non-sensitive folder..
Why this is the answer
The correct approach is to use a single S3 bucket with logical separation (folders) and manage access via IAM policies attached to user groups. This provides fine-grained control and is scalable. Finance's IAM policy would grant access to both folders, while Marketing and HR's policies would only grant access to the non-sensitive folder. Creating separate buckets for each dataset (options 1 and 2) is inefficient and can lead to management overhead. Bucket ACLs (option 1) are a legacy access control mechanism and are generally less flexible than IAM policies or bucket policies for complex scenarios. While bucket policies (option 2 and 4) can grant access, managing access through IAM policies attached to groups is often preferred for organizational structure and simplifies user management, especially when different groups have different access patterns within the same bucket. Option 4 uses a bucket policy, but attaching IAM policies to groups is a more direct and often clearer way to manage user permissions.
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