Bird
0
0

An inline policy attached to a role is not granting expected permissions. What is a possible reason?

medium📝 Debug Q7 of 15
AWS - Identity and Access Management
An inline policy attached to a role is not granting expected permissions. What is a possible reason?
AInline policies do not support resource-level permissions.
BManaged policies override inline policies and block permissions.
CThe inline policy is attached to the wrong role.
DThe role must be deleted and recreated to apply inline policies.
Step-by-Step Solution
Solution:
  1. Step 1: Verify policy attachment

    Permissions depend on correct attachment of the inline policy to the intended role.
  2. Step 2: Check other options

    Managed policies do not override inline policies negatively; inline policies support resource-level permissions; roles do not require recreation.
  3. Final Answer:

    The inline policy is attached to the wrong role. -> Option C
  4. Quick Check:

    Correct attachment is key for inline policy effect = C [OK]
Quick Trick: Check policy attached to correct role [OK]
Common Mistakes:
  • Believing managed policies block inline policies
  • Thinking inline policies lack resource-level control
  • Assuming role recreation is needed

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes