AWS Certified Data Engineer - Associate (DEA-C01) Practice Questions

AWS Certified Data Engineer - Associate (DEA-C01) exam preparation

AWS Certified Data Engineer - Associate (DEA-C01) practice questions in English: 180 questions with explanations. The mock exam has 65 questions and 130 minutes.

AWS Certified Data Engineer - Associate (DEA-C01) free question 9 / 10 · Domain 4: Data Security and Governance

A company runs many data projects. Engineers should be able to start and stop only the resources of their own project, and new resources are created every week. The security team wants to avoid editing IAM policies for each new resource. Which authorization approach fits?

  1. Tag the roles and resources with a project tag, and use one policy that allows actions on matching tags
  2. Create one IAM role for each project and list the project's resource ARNs in the policy of that role
  3. Attach the AdministratorAccess managed policy to every project role and rely on naming conventions
  4. Give each project one shared IAM user and extend the policy of that user as resources are added
Show the answer and explanation

Answer: A

Why this is correct
Attribute-based access control defines permissions based on attributes, which AWS calls tags. A single policy, or a small set of policies, can allow an operation when the principal's tag matches the resource tag. When a project needs new resources, an engineer creates them with the project's tag, and the existing policy already allows access, so nobody has to edit it.

Why the other options are wrong
"Create one IAM role for each project and list the project's resource ARNs in the policy of that role" … That is the traditional role-based model, where policies must be updated to allow access to every new resource that is added to the environment.
"Attach the AdministratorAccess managed policy to every project role and rely on naming conventions" … Full administrator permissions do not follow the best practice of granting the minimum permissions necessary for the job function, and a naming convention does not enforce anything.
"Give each project one shared IAM user and extend the policy of that user as resources are added" … The policy would still have to be edited for each new resource, which is the disadvantage that attribute-based access control removes.

Key points
ABAC is helpful in environments that are scaling and where identity or resource policy management has become complex. IAM includes job function managed policies for the traditional RBAC model.

Go to the AWS Certified Data Engineer - Associate (DEA-C01) practice app (10 free questions; purchase unlocks all questions)

See the full practice set