DEA-C01 · Question #273
A company that operates globally must follow regulations that require data from an AWS Region to be accessible only within that Region. A data engineer is creating a data pipeline that will create…
The correct answer is A. Create an IAM role that has permissions to create resources. Create a policy for each Region that. Using a single IAM role with region-scoped session policies (using the aws:RequestedRegion condition) applied at AssumeRole time lets the identity broker grant temporary credentials limited to the engineer’s Region. This enforces Regional access while avoiding per-Region roles…
Question
A company that operates globally must follow regulations that require data from an AWS Region to be accessible only within that Region. A data engineer is creating a data pipeline that will create resources in the Region where the data engineer works. The data pipeline should have access to data only from the Region where the data engineer works. The pipeline uses Active Directory as an identity and authentication system. The pipeline uses a custom identity broker application to verify that employees are signed in to Active Directory and to obtain temporary credentials by using the AssumeRole API operation. Which solution will meet the locality requirements with the LEAST administrative effort?
Options
- ACreate an IAM role that has permissions to create resources. Create a policy for each Region that
- BCreate an IAM role for data engineers in each Region separately. Instruct each data engineer to
- CCreate an IAM group for each Region. Include the required IAM policies for each IAM group. Add
- DCreate individual IAM policies that allow users to create resources in a specific Region. Assign
How the community answered
(45 responses)- A76% (34)
- B13% (6)
- C4% (2)
- D7% (3)
Explanation
Using a single IAM role with region-scoped session policies (using the aws:RequestedRegion condition) applied at AssumeRole time lets the identity broker grant temporary credentials limited to the engineer’s Region. This enforces Regional access while avoiding per-Region roles or per- user policies, minimizing administration.
Topics
Community Discussion
No community discussion yet for this question.