Grant access to the precise data boundary
A sales analyst must query product totals but never customer contact fields.
Grant access to the precise data boundary
A sales analyst must query product totals but never customer contact fields. Trace the principal from the query service to the catalog and storage. Choose the narrowest applicable grant and test from the analyst's role. Review direct storage paths separately so an alternate read path cannot silently grant broader access.
Decisions to rehearse
- Lake Formation column grant
- Fine-grained catalog permissions can expose selected columns to integrated query engines.
- Resource-scoped IAM policy
- An explicit resource and small action set limits the operations a workload can perform.
- Tag-based authorization
- Policies can grant access by matching governed resource tags to an approved classification.
Practise each AWS skill
These references use the skill numbers in the AWS guide.
- 4.2.1 · Replace a broad managed grant with actions and resource ARNs derived from the workload's required operations.
- 4.2.2 · Choose a rotating stored secret or protected parameter and test the reader's access to its specific value.
- 4.2.3 · Test a Redshift role's schema and table grants as that role, including an operation it should be denied.
- 4.2.4 · Trace an Athena query through a Lake Formation table or column grant and check alternate storage access.
- 4.2.5 · Compare a job-function role with tag-based grants when new datasets inherit access from classification.
- 4.2.6 · Verify a narrow policy using a positive and negative test on closely related resource prefixes.
Official skills for this topic
Work through the decision
A query role sees only approved columns in Athena, but the same person can retrieve the underlying files. What permission test was missed?
Check your reasoning
Trace direct S3 permissions, including resource policies and alternate roles. Test both direct file access and Lake Formation-governed queries from the actual reader identity.
Related lesson in Data Engineer Associate · Access control.
Grant access to the precise data boundary quiz
Answer 3 questions. Check each answer for an explanation.