ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 632 - SAA-C03 discussion

Report
Export

A solutions architect wants to use the following JSON text as an identity-based policy to grant specific permissions:

Which IAM principals can the solutions architect attach this policy to? (Select TWO.)

A.
Role
Answers
A.
Role
B.
Group
Answers
B.
Group
C.
Organization
Answers
C.
Organization
D.
Amazon Elastic Container Service (Amazon ECS) resource
Answers
D.
Amazon Elastic Container Service (Amazon ECS) resource
E.
Amazon EC2 resource
Answers
E.
Amazon EC2 resource
Suggested answer: A, B

Explanation:

This JSON text is an identity-based policy that grants specific permissions. The IAM principals that the solutions architect can attach this policy to are Role and Group. This is because the policy is written in JSON and is an identity-based policy, which can be attached to IAM principals such as users, groups, and roles.Identity-based policies are permissions policies that you attach to IAM identities (users, groups, or roles) and explicitly state what that identity is allowed (or denied) to do1.Identity-based policies are different from resource-based policies, which define the permissions around the specific resource1.Resource-based policies are attached to a resource, such as an Amazon S3 bucket or an Amazon EC2 instance1.Resource-based policies can also specify a principal, which is the entity that is allowed or denied access to the resource1.Organization is not an IAM principal, but a feature of AWS Organizations that allows you to manage multiple AWS accounts centrally2.Amazon ECS resource and Amazon EC2 resource are not IAM principals, but AWS resources that can have resource-based policies attached to them34.

Identity-based policies and resource-based policies

AWS Organizations

Amazon ECS task role

Amazon EC2 instance profile

asked 16/09/2024
Andrew Chan
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first