Bird
0
0

You manage a team where multiple users need the same permissions to access DynamoDB. You also have one user who needs a unique permission set. What is the best approach to assign policies?

hard📝 Best Practice Q15 of 15
AWS - Identity and Access Management
You manage a team where multiple users need the same permissions to access DynamoDB. You also have one user who needs a unique permission set. What is the best approach to assign policies?
AUse only managed policies for all users, including the unique one.
BCreate inline policies for all users to keep permissions separate.
CAttach the same inline policy to all users and add extra inline policies for the unique user.
DCreate a managed policy for the common permissions and attach it to all users; create an inline policy for the unique user.
Step-by-Step Solution
Solution:
  1. Step 1: Identify best practice for shared permissions

    Managed policies are reusable and ideal for common permissions shared by multiple users.
  2. Step 2: Handle unique permissions

    Inline policies are best for unique, one-off permissions tied to a single user.
  3. Step 3: Combine approaches for efficiency and clarity

    Use managed policy for the team and inline policy for the unique user to avoid duplication and ease management.
  4. Final Answer:

    Create a managed policy for the common permissions and attach it to all users; create an inline policy for the unique user. -> Option D
  5. Quick Check:

    Managed for shared, inline for unique [OK]
Quick Trick: Managed for many users, inline for one user [OK]
Common Mistakes:
MISTAKES
  • Using inline policies for all users causing duplication
  • Using only managed policies losing unique control
  • Attaching same inline policy to multiple users

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes