0
0
AWScloud~5 mins

Managed vs inline policies in AWS - Quick Revision & Key Differences

Choose your learning style9 modes available
Recall & Review
beginner
What is a managed policy in AWS IAM?
A managed policy is a standalone policy that you can attach to multiple users, groups, or roles. It is created and managed independently from the identities it is attached to.
Click to reveal answer
beginner
What is an inline policy in AWS IAM?
An inline policy is a policy that is embedded directly into a single user, group, or role. It exists only as part of that identity and cannot be reused elsewhere.
Click to reveal answer
beginner
Which policy type is easier to reuse across multiple identities: managed or inline?
Managed policies are easier to reuse because they are standalone and can be attached to many users, groups, or roles.
Click to reveal answer
intermediate
What happens to an inline policy if the user or role it is attached to is deleted?
The inline policy is deleted along with the user or role because it is embedded directly in that identity.
Click to reveal answer
intermediate
Why might you choose an inline policy over a managed policy?
You might choose an inline policy when you want a policy that is tightly coupled to a single identity and should be deleted if that identity is removed, ensuring no leftover permissions.
Click to reveal answer
Which AWS policy type can be attached to multiple users, groups, or roles?
AManaged policy
BInline policy
CBoth managed and inline policies
DNeither managed nor inline policies
What happens to an inline policy when the user it is attached to is deleted?
AIt is deleted along with the user
BIt is converted to a managed policy
CIt remains in AWS and can be reused
DIt is archived automatically
Which policy type is best for reusing the same permissions across many identities?
ATemporary policy
BInline policy
CManaged policy
DSession policy
If you want a policy that is tightly linked to a single user and deleted with it, which policy should you use?
AManaged policy
BResource policy
CService control policy
DInline policy
Which of the following is NOT a characteristic of managed policies?
ACan be attached to multiple identities
BDeleted automatically when a user is deleted
CEasier to maintain and update centrally
DCreated independently from users or roles
Explain the main differences between managed and inline policies in AWS IAM.
Think about how each policy is attached and what happens when the user or role is removed.
You got /4 concepts.
    Describe a scenario where using an inline policy is more appropriate than a managed policy.
    Consider when you want to keep permissions very specific and temporary.
    You got /3 concepts.